All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lubos Kolouch <lubos.kolouch@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: how to backup
Date: Fri, 18 Mar 2011 09:57:16 +0000 (UTC)	[thread overview]
Message-ID: <ilva9s$i0$1@dough.gmane.org> (raw)

Hello,

Say I have a btrfs-formatted disk with many subvolumes/snapshots.

How do I do backup (over network) ?

If I use just rsync, I will get many copies of the files (one for each 
snapshot).

So I would need to write a tool that would
- get listing of the subvolumes/snapshots
- somehow figure out which is which (snapshot of what is this one)
- somehow recursively create the subvolume, copy data, snapshot it, copy
data etc.?

Thank you for your suggestions

Lubos


                 reply	other threads:[~2011-03-18  9:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='ilva9s$i0$1@dough.gmane.org' \
    --to=lubos.kolouch@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.