Hello David and all, On Mon, Oct 14, 2013 at 21:05 David Madden wrote: > I'd like to use BTRFS to do something like the old NetApp > snapshot system: every hour or so, there'd be a snapshot, > then the 23 of the snapshots during a day would be > deleted, leaving just a day snapshot, then after a month, > 6 of 7 snapshots would be deleted, leaving just a week > snapshot, and so on. This is implemented in "Snapper", see: http://snapper.io/ It's by default delivered with openSUSE and SUSE Linux Enterprise, binaries are available for "everything else" as well. > Is this a reasonable thing to do in a cron job with a > BTRFS filesystem? Apart from running out of space, are > there any resources that might get used up? Has anybody > done this for a year or two in an active filesystem, and > encountered success or weirdness? Space is _the_ main issue. If you want automated comparison of snapshots, you'll also need some CPU time in addition. Enjoy. so long - MgE -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
