BackupPC-users

Re: [BackupPC-users] Best to Move a Large Pool to Different FS?

2015-11-12 18:14:32
Subject: Re: [BackupPC-users] Best to Move a Large Pool to Different FS?
From: higuita <higuita AT GMX DOT net>
To: Christian Völker <chrischan AT knebb DOT de>
Date: Thu, 12 Nov 2015 23:11:16 +0000
Hi

On Mon, 9 Nov 2015 20:02:23 +0100, Christian Völker <chrischan AT knebb DOT de>
wrote:
> I want to transfer my pool from ext4 to xfs. The pool is around 1.3TB
> with approx 15 hosts backing up.

        I haven't test with a  big pool, but you can try using plain
old tar, as it also takes care of hardlinks

cd /var/lib/backuppc; tar cf - . | (cd /mnt ;tar xf -)

        It will take time, but it will read and transfer all the files
and hardlinks will be referenced inside the tar and later rebuild.
Again, i will not know how it will behave with so many files/hardlinks,
but tar is one old backup tool where almost all corner cases were taken
care, so it should work.

        You can pipe to a ssh host "cd /mnt ;tar xf -" if you want to
transfer the files to other server

Good luck
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
           -- Hermann Goering, Nazi and war criminal, 1883-1946

Attachment: pgpYbwYr66mhP.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>