redmop / sanoid

Policy-driven snapshot management and replication tools. Currently using ZFS for underlying next-gen storage, with explicit plans to support btrfs when btrfs becomes more reliable. Primarily intended for Linux, but BSD use is supported and reasonably frequently tested.
http://www.openoid.net/products/
GNU General Public License v3.0
2 stars 0 forks source link

Triggered snapshots #18

Open redmop opened 8 years ago

redmop commented 8 years ago

This will allow programs to request snapshots. I will mainly be using this for apt pre and post installing. I'm not sure how to do this yet, maybe with trigger files. The script writes a file to the disk, then waits for it to be removed before continuing (with timeout) A program (probably incron) watches for this trigger file, and takes the snapshot

Don't forget to expire the snapshots.