Re: How Snapshots Inter-relate?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-04-21 at 10:17 -0700, CACook@xxxxxxxxxxxxxxx wrote:
> I have set up a backup server in the garage which does rsync backups
> of all my servers weekly, and snapshots those backups.  It works
> wonderfully, and I was able to set it up thanks to help from this
> listserv, thank you.
> 
> But I'm accumulating quite a few backups now, unnecessarily.  After a
> couple months I only need a representative one, once a month.  I am
> afraid to delete three of my weekly snapshots out of each month, as
> I'm afraid they're cumulative.  I might end up with nothing valid if
> each builds on the last, forever.

You have nothing to worry about. You can delete any snapshot on btrfs
without losing data from any other snapshot. Each snapshot is completely
independent.

This works because data which is shared between multiple snapshots is
reference counted, and won't be deleted until you remove the last
snapshot that references that data.

-- 
Calvin Walton <calvin.walton@xxxxxxxxxx>

--
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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux