X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=doc-src%2FBackupPC.pod;h=60f5b012e6533d63e18868435fbef6fb150eb1b8;hp=849bfaf2d5ac578c1ff49912e79995374ba65293;hb=3f3d4f4adbd990e15969d9cbc5e99e89e613e502;hpb=c2b072c9ad558447fb73fedf0cad170214b7d80e diff --git a/doc-src/BackupPC.pod b/doc-src/BackupPC.pod index 849bfaf..60f5b01 100644 --- a/doc-src/BackupPC.pod +++ b/doc-src/BackupPC.pod @@ -238,7 +238,7 @@ are not always up to date and the searching is limited, so Gmane is a good alternative. See: http://news.gmane.org/index.php?prefix=gmane.comp.sysutils.backup.backuppc - http://sourceforge.net/mailarchive/forum.php?forum_id=503 + http://sourceforge.net/mailarchive/forum.php?forum=backuppc-users You can subscribe to these lists by visiting: @@ -1453,6 +1453,43 @@ the -a option and rsync -H. However, the large number of hardlinks in the pool will make the memory usage large and the copy very slow. Don't forget to stop BackupPC while the copy runs. +Starting in 3.0.0 a new script bin/BackupPC_tarPCCopy can be +used to assist the copy process. Given one or more pc paths +(eg: TOPDIR/pc/HOST or TOPDIR/pc/HOST/nnn), BackupPC_tarPCCopy +creates a tar archive with all the hardlinks pointing to ../cpool/.... +Any files not hardlinked (eg: backups, LOG etc) are included +verbatim. + +You will need to specify the -P option to tar when you extract +the archive generated by BackupPC_tarPCCopy since the hardlink +targets are outside of the directory being extracted. + +To copy a complete store (ie: __TOPDIR__) using BackupPC_tarPCCopy +you should: + +=over 4 + +=item * + +stop BackupPC so that the store is static. + +=item * + +copy the cpool, conf and log directory trees using any technique +(like cp, rsync or tar) wihtout the need to preserve hardlinks. + +=item * + +copy the pc directory using BackupPC_tarPCCopy: + + su __BACKUPPCUSER__ + cd NEW_TOPDIR + mkdir pc + cd pc + __INSTALLDIR__/bin/BackupPC_tarPCCopy __TOPDIR__/pc | tar xvPf - + +=back + =back =head2 Fixing installation problems @@ -2736,7 +2773,7 @@ See L. =head1 Copyright -Copyright (C) 2001-2006 Craig Barratt +Copyright (C) 2001-2007 Craig Barratt =head1 Credits