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

Let attic know it should wait before beginning #383

Open
foozmeat opened this issue Jun 28, 2016 · 2 comments
Open

Let attic know it should wait before beginning #383

foozmeat opened this issue Jun 28, 2016 · 2 comments

Comments

@foozmeat
Copy link

Our backup scheme is such that individual machines run attic to back up their files to a common NFS repo. I then want to back up the entire collection of backups offsite using tarsnap. Unfortunately, occasionally the attic backup kicks off after a tarnsnap backup has started. Often this causes tarsnap to error.

What I would like is a feature where if attic detects a certain file is will wait to begin it's back up until that file is gone. There would need to be a timeout on this behavior obviously. This would let be get reliable offsite backups while maintaining hourly backups via attic.

As a workaround I can wrap attic to create the behavior I want.

@dragetd
Copy link

dragetd commented Jun 30, 2016

Basically it would be an additional lock mechanism. And locking has some gotchas. It would be far easier if this is handled in some external logic - even better by tarsnap to only start attic when it is not working. :-)

@lewisgoddard
Copy link

Why not use Attic to push to an external server, effectively providing the same thing?

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

3 participants