Le Tue, 23 Jan 2007 15:17:38 +0100, Klaas Vantournhout <[EMAIL PROTECTED]> a écrit :
> The command you use for copying the pool from A to B, does not > preserve hardlinks. That is the reason why the pool gets larger and > larger. > > You should use rsync -avz -H, but this will go tremendously slow and > eats a lot of memory. But it works! > > You should also know that, when working on an unsynced raid system, > the process will even go slower. > > regards > > Klaas I'm working on a little script to copy backuppc's pool with rsync without consumming a lot of memory, the script looks like the file attached (I just wrote it in a few minutes, I'm testing it right now, I'll certainly improve it latter). In fact the script perform several rsync in order, like that: rsync -azH --del $data_dir/cpool/0/0 \ [EMAIL PROTECTED]:/$backup_dir/cpool/0/0/ rsync -azH --del $data_dir/cpool/0/1 \ [EMAIL PROTECTED]:/$backup_dir/cpool/0/0/ rsync -azH --del $data_dir/cpool/0/2 \ [EMAIL PROTECTED]:/$backup_dir/cpool/0/0/ etc... It's very easy to do it with two loops and this way, rsync just take a little memory (it's still a little slow, about 12 Mbps on a local 100Mbps network) Once the pool and cpool are moved, I'll test to see what's the best way to copy the pc directory, either a recursive rsync like for pool and cpool or with BackupPC_tarPCCopy. I'll post as soon as I have some results. By the way, has anyone already tested something like that or am I just wasting my time?? -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 82 05 Mail: [EMAIL PROTECTED] Web : http://www.firewall-services.com
syncro.sh
Description: application/shellscript
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/