On Thu, 26 Jun 2014 13:25:09 Duncan wrote: > properly. And if you do automated snapshots, use a good thinning script > to thin them down so you're well under 500. (I've posted figures where > even starting with per-minute snapshots, thinning down to 10 minute, then > to half hour within the day, then to say 4/day after two days, 1/day > after a week, one a week after four weeks, one every 13 weeks aka > quarterly after say six months, and clearing them all and relying on off- > machine backups after a year or 18 months, runs only 250-ish or so, under > 300.)
What scripts are people using for this? I've attached the latest scripts I use for managing BTRFS, they assume that the filesystem is mounted on root. They use /backup for snapshots of root and /backup-$DIR for snapshots of /$DIR. I've also attached the scrub and rebalance script I use. These aren't the greatest scripts, I'll probably write something better eventually if no-one else has done so. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/
btrfs-make-snapshot
Description: application/shellscript
btrfs-remove-snapshots
Description: application/shellscript
btrfs-scrub
Description: application/shellscript