lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130117221819.GA5406@carfax.org.uk>
Date:	Thu, 17 Jan 2013 22:18:19 +0000
From:	Hugo Mills <hugo-lkml@...fax.org.uk>
To:	Valdis Kletnieks <Valdis.Kletnieks@...edu>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: btrfs userspace question - where's the utility to dump/restore?

On Thu, Jan 17, 2013 at 03:05:35PM -0500, Valdis Kletnieks wrote:
> So I'm looking at playing with btrfs, and I start looking at the
> userspace pieces I'll need.  What I can't find is an equivalent
> of the ext[34] "dump/restore" package to dump data to an external
> backup device. Is 'tar cf --acls --selinux --xattrs /external/fs.dump'
> as good as it gets, or is something else recommended?

   tar doesn't handle reflinks(+), so the above won't quite give you a
complete duplicate. In the btrfs tool, there's send/receive, which
should(*) be sufficient to deal with reflinks.

   Hugo.

(+) aka CoW copies, or snapshots
(*) I regret to say that I've not had the opportunity to play with
send/receive myself yet, so I can't advise on the details of making it
work yet.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
               --- Prisoner unknown:  Return to Zenda. ---               

Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ