Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable option to maintain & provide specific backups to restore FossilDB via FossilDB-client #7910

Open
aaronkanzer opened this issue Jun 30, 2024 · 0 comments

Comments

@aaronkanzer
Copy link

aaronkanzer commented Jun 30, 2024

Detailed Description

While standing up our own self-hosted version of WebKNOSSOS, we have been looking into data integrity/site reliability -- mostly, how to efficiently backup and restore our systems to a certain point in time.

Via the fossildb-client, the backup and restore commands work as intended -- as provided here; however, upon backup, we observe that the most recent backup is overwritten, and that no option is provided for where to point a new restore command (if multiple backups existed on the file system)

Specifically for the restore command, further logic could be available upon the protobuf extension of RestoreFromBackupRequest

proto_rpc.FossilDBStub(channel).RestoreFromBackup(proto.RestoreFromBackupRequest())

While this is not a blocker (we intend to routinely export the data off the EC2 instance to S3, etc.), it could become a useful convenience for users, and to quickly get systems back online if multiple backups can live next door to running instances.

Let us know -- we are happy to attempt a PR if this is something that could be useful -- otherwise, if you have insight into how you rountinely backup and restore FossilDB instances, that would be much appreciated!

Cc @kabilar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant