linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Limit on the number of btrfs snapshots?
@ 2018-01-12 21:38 Daniel E. Shub
  2018-01-14 16:10 ` Duncan
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel E. Shub @ 2018-01-12 21:38 UTC (permalink / raw)
  To: Btrfs BTRFS

A couple of years ago I asked a question on the Unix and Linux Stack
Exchange about the limit on the number of BTRFS snapshots:
https://unix.stackexchange.com/q/140360/22724

Basically, I want to use something like snapper to take time based
snapshots so that I can browse old versions of my data. This would be
in addition to my current off site backup since a drive failure would
wipe out the data and the snapshots. Is there a limit to the number of
snapshots I can take and store? If I have a million snapshots (e.g., a
snapshot every minute for two years) would that cause havoc, assuming
I have enough disk space for the data, the changed data, and the meta
data?

The answers there provided a link to the wiki:
https://btrfs.wiki.kernel.org/index.php/Btrfs_design#Snapshots_and_Subvolumes
that says: "snapshots are writable, and they can be snapshotted again
any number of times."

While I don't doubt that that is technically true, another user
suggested that the practical limit is around 100 snapshots.

While I am not convinced that having minute-by-minute versions of my
data for two years is helpful (how the hell is anyone going to find
the exact minute they are looking for), if there is no cost then I
figure why not.

I guess I am asking is what is the story and where is it documented.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-14 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 21:38 Limit on the number of btrfs snapshots? Daniel E. Shub
2018-01-14 16:10 ` Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).