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

Restore on period? #15

Open
hongkongkiwi opened this issue Sep 1, 2020 · 1 comment
Open

Restore on period? #15

hongkongkiwi opened this issue Sep 1, 2020 · 1 comment

Comments

@hongkongkiwi
Copy link

Can you add a flag for period restore?

I'm using the data volume as a read-only volume so I don't mind to blow it away and restore from the S3 bucket on a period. e.g. every 5 mins if there are changes.

@lstellway
Copy link

lstellway commented Mar 18, 2022

@hongkongkiwi

It looks like the script uses an undocumented BACKUP_INTERVAL environment variable, defaulting to 42 seconds (reference). I believe that should be able to give the functionality you are looking for.

Nevermind:
Your comment is asking about "restore" (S3 --> local volume), not "backup" (local volume --> S3).

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

No branches or pull requests

2 participants