attic icon indicating copy to clipboard operation
attic copied to clipboard

Let attic know it should wait before beginning

Open foozmeat opened this issue 8 years ago • 2 comments

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.

foozmeat avatar Jun 28 '16 21:06 foozmeat

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. :-)

dragetd avatar Jun 30 '16 20:06 dragetd

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

lewisgoddard avatar Jul 09 '16 23:07 lewisgoddard