Le mercredi 30 avril 2008 à 23:02 +0800,
peter_2000 AT users.sourceforge DOT net a écrit :
> Hi,
> I have set up BackupPC on Kubuntu as a guest OS sitting on top of
> Windows XP using vmWare Server. Thus, my full set up is:
> - Windows XP Prof
> - vmWare Server
> - Kubuntu 8.04 Hardy Heron (as a guest OS in vmWare)
> - virtual disk on a USB 320G disk
> - Current backup directory: /var/lib/backuppc
> - New backup directory: /mnt/myusbdrive/backuppc
>
> I was able to do a test backup which went to the default set up
> of /var/lib/backuppc/pc
>
> However, to have a proper set up I need to increase my disk space for
> the backup. I created a virtual disk that is sitting on the USB drive.
>
> I created the folders under "/mnt/myusbdrive/backuppc" :
> - pc
> - cpool
> - pool
> - log
>
> The permissions and ownership for each are:
> - drwxr-xr-x for pc, cpool, & pool
> - drwxr-x--- for the log directory
> - drwxr-x--- for the pc/leo directory
>
> I stopped the backuppc process with "/etc/init.d/backuppc stop"
>
> I then did a su to be the user backuppc and then navigated my way to
> "/mnt/myusbdrive/backuppc/pc"
>
> Once in the folder, I executed the command,
> "/usr/share/backuppc/bin/BackupPC_tarPCCopy /var/lib/backuppc/pc |
> xvPf -"
You first need to copy your pool and cpool directory using rsync or cp
(I use rsync -avP /source /dest) for exemple:
cd /var/lib/backuppc
rsync -avP --exclude=pc/ ./ /mnt/myusbdrive/backuppc/
then you'll be able to re-create the hardlinks with BackupPC_tarPCCopy
Cheers, Daniel
>
> Unfortunately, each time I have tried I receive the following error
> (for each and every file):
> tar: ./leo/5/fZleo/attrib: Cannot hard link to
> `../pool/7/1/a/71a84edaf55c1badb085a7937fc09c15': No such file or
> directory
>
> BTW, having a look at the folder, I can see that it has made the
> directories but no files. They have the "f" in front of each directory
> name.
>
> I've looked around on the net, but either the answer is there and I
> can't see it from the trees, or ... well it's not.
>
> I would appreciate any pointers on what I'm doing wrong.
>
> Thanks
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________ 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/
--
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 15 32
Mail: daniel AT Firewall-Services DOT com
Web : http://www.firewall-services.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/
|