Re: [BackupPC-users] move a set of host from one backuppc to an other
On 03/06 08:56 , cedric briner wrote: Yes it's possible. However, it's generally so much work you mean human work ? yes; tho if you're just copying a subset of the backed-up hosts, it ends up being a lot of computer work due to all the hardlinks. if you want to copy the entire backuppc data pool, this is a much more tractable problem. don't copy it at the file level; copy it at the filesystem level with dd+netcat, then grow the filesystem to the size of the new disk. (this is one more reason why /var/lib/backuppc _*really*_ should be a separate filesystem). dd will copy the data in time it takes to read all the bits off the disk; anything that operates at the file level (tar, rsync, cp) will take several times longer, because it ends up seeking all over the disk to follow the hardlinks. Your original question was about copying a subset of the hosts which have been backed up, tho. :) what about this : http://backuppc.sourceforge.net/faq/BackupPC.html#other_installation_topics Copying the pool it feels that this is the howto, I was looking for. Glad to hear it! -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] move a set of host from one backuppc to an other
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl Wilhelm Soderstrom wrote: On 03/06 08:56 , cedric briner wrote: Yes it's possible. However, it's generally so much work you mean human work ? yes; tho if you're just copying a subset of the backed-up hosts, it ends up being a lot of computer work due to all the hardlinks. if you want to copy the entire backuppc data pool, this is a much more tractable problem. don't copy it at the file level; copy it at the filesystem level with dd+netcat, then grow the filesystem to the size of the new disk. (this is one more reason why /var/lib/backuppc _*really*_ should be a separate filesystem). dd will copy the data in time it takes to read all the bits off the disk; anything that operates at the file level (tar, rsync, cp) will take several times longer, because it ends up seeking all over the disk to follow the hardlinks. Your original question was about copying a subset of the hosts which have been backed up, tho. :) Depending on the size of the original pool and the new servers disk space, it might make more sense to take this approach: 1) Copy the entire pool/etc using dd+netcat or similar 2) Delete all the hosts that you do NOT want to keep (rm -rf pc/host1 pc/host2 pc/host3 etc 3) Run the backuppc_nightly to purge the pool of all the files you do not need to keep. This might be easier, of course, if the original backup server has 5TB of storage and the new one only has 2TB, then it doesn't work for you, but hopefully that isn't the case. Regards, Adam -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHz+kZGyoxogrTyiURAlw+AJ93Fed93Fy9AejhXzUHyB6GI8UA5wCgmBwd /RL0AVftv/seQiQ5NLg8mhI= =cXtN -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] move a set of host from one backuppc to an other
hello, Is there any possiblity to move a set of host from one backuppc server to an other one. I was thinking to rsync all the server1:backuppc_dir/pc/host[1,2,3] to server2:backuppc_dir/pc and then ask backuppc to create the pool or the cpool from the backuppc_dir/pc any idea on how to do this. Ced. -- Cedric BRINER Geneva - Switzerland - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] move a set of host from one backuppc to an other
On 03/05 04:59 , cedric briner wrote: Is there any possiblity to move a set of host from one backuppc server to an other one. I was thinking to rsync all the server1:backuppc_dir/pc/host[1,2,3] to server2:backuppc_dir/pc and then ask backuppc to create the pool or the cpool from the backuppc_dir/pc any idea on how to do this. Yes it's possible. However, it's generally so much work and so time-consuming that you're better off just letting the new host run for a while to back up the data, until such time as the old data would have expired from the old host. If you have some very old data that you'd like to preserve, however; I think there is some discussion in the archives about how to copy just certain hosts and then rebuild the links. I can't think of just what to search for, but back in 2005 there was a thread called 'Cpool question' that may give you some clues. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/