linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Calvin Walton <calvin.walton@kepstin.ca>
To: CACook@quantum-sci.com
Cc: linux-btrfs@vger.kernel.org
Subject: Re: How Snapshots Inter-relate?
Date: Thu, 21 Apr 2011 14:47:25 -0400	[thread overview]
Message-ID: <1303411647.25281.2.camel@ayu> (raw)
In-Reply-To: <201104211017.52341.CACook@quantum-sci.com>

On Thu, 2011-04-21 at 10:17 -0700, CACook@quantum-sci.com 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@kepstin.ca>


  reply	other threads:[~2011-04-21 18:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21 17:17 How Snapshots Inter-relate? CACook
2011-04-21 18:47 ` Calvin Walton [this message]
2011-04-22 15:03   ` CACook
2011-04-22 15:30     ` Fajar A. Nugraha
2011-04-22 15:39   ` Helmut Hullen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1303411647.25281.2.camel@ayu \
    --to=calvin.walton@kepstin.ca \
    --cc=CACook@quantum-sci.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).