Skip to content

Transaction Log Archives, on_new_log.cmd #372

@careri

Description

@careri

Version: 2.3.2.348

https://docs.starcounter.io/guides/working-with-starcounter/log-retention#finding-the-log-files

Rollback?

If I understand the documentation correctly the archive folder is mainly used for replication.
But the documentation also states that one would be able to rollback to any transaction log in this folder.

How would one go about doing that?

I understand it as the optimized log being the one restored. So if the optimized log is created after the timestamp of the log in archive I will not be able to use that one.

So I guess that I somehow need to construct an optimized log based on one or many logs in archive.
But for this to be possible I need all transactions logs from beginning of time for this database?

Archives location

According to the documentation the archives folder is hard coded and can only be altered by making a link/directory junction.
This should be a property in the database-config I think, in the same way as ImageDirectory, DumpDirectory etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions