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

add continuous mode #15

Open
sbrudenell opened this issue Apr 30, 2024 · 1 comment
Open

add continuous mode #15

sbrudenell opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sbrudenell
Copy link
Owner

the dream is to have btrfs2s3 operate in "continuous mode".

my thought is to query a source very frequently, possibly every 1-5 seconds, and create snapshots and backups as necessary. this allows us to back up data even more frequently than crontab would allow.

we can even save on ListObjectsV2 calls in this mode, as we can cache the state and only periodically update it from the server.

@sbrudenell sbrudenell self-assigned this Jun 30, 2024
@sbrudenell sbrudenell added the enhancement New feature or request label Jun 30, 2024
@sbrudenell
Copy link
Owner Author

in particular: btrfs2s3 update is only occasionally long-running, when uploading new full backups. this makes it awkward to run in cron.

we'd probably need lockfiles and timeouts to make btrfs2s3 update more usable, but it would be nice to have btrfs2s3 update be tailored for one-shot interactive runs and continuous mode be non-interactive, rather than add features to btrfs2s3 update so it can work either way.

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

No branches or pull requests

1 participant