On 1 July 2010 11:28, Lubos Kolouch <lubos.kolo...@gmail.com> wrote:
> Hello,
>
> I am testing btrfs on one of our backup servers
> (many millions of files, 1.5TB size, running on (non-btrfs-provided-)
> raid5).
>
> I am using subvolumes/snapshots with following rsync.
>
> It works very well, but I would like to ask a question... say I would need
> to copy/move the files to different server/disk.
>
> Normally I would do it with rsync, but I guess it will not preserve the
> subvolumes, it will also not detect that they are the same files (I guess
> they are not just normal hardlinks). So I would end up with duplicated
> files.
>
> What is the correct way to do this?

The only way to do this preserving duplication is to use hardlinks
between duplicated files (which reference counts the inode), and use
'rsync -H'.

Dan
-- 
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to