Hi everyone. I'm trying to backup all the data of a backuppc server. I
saw that backuppc 3.0 has a script to copy the directory pc/

So first I used rsync to copy everything except the directory pc/

rsync -aH --exclude /opt/backuppc/files/pc/ /opt/backuppc/ \
[EMAIL PROTECTED]:/opt/backuppc/

This part works well, it doesn't take too much memory.

Now I'm trying to copy the directory pc with the script. I'd like to
copy it directly without using a temporary file. So I tried this
command:

sudo -u backuppc BackupPC_tarPCCopy /opt/backuppc/files/pc/ | gzip -c \
| ssh [EMAIL PROTECTED] "(cd /opt/backuppc/files/pc && tar xzf -)"

it seems to work but on the sender side (the server I want to backup)
I've got plenty of error messages like this (in french):

tar: ./127.0.0.1/149/f%2f/fvar/fspool/fsquid/f03/attrib: ne peut
établir un lien vers `cpool/3/5/3/3530222493619acd2106c996347e9034':
Aucun fichier ou répertoire de ce type

I've got the same error messages if I do something like that:

sudo -u backuppc BackupPC_tarPCCopy /opt/backuppc/files/pc > pc.tar
scp -rP pc.tar [EMAIL PROTECTED]:/tmp
then ssh into the remote server and extracting the archive like that:

cd /opt/backuppc/files/pc
tar xf /tmp/pc.tar

another strange thing is that when I have a message like this

tar: ./127.0.0.1/149/f%2f/fvar/fspool/fsquid/f03/attrib: ne peut
établir un lien vers `cpool/3/5/3/3530222493619acd2106c996347e9034':
Aucun fichier ou répertoire de ce type

The file cpool/3/5/3/3530222493619acd2106c996347e9034 exists on the
receiver side (as I used rsync to copy the pool before), so I don't
understand the error.

So my questions are
Does anyone know why these errors occures?
Am I using the script correctly?
Anyone already tried something like that?

Thanks in advance.

Cheers, Daniel

-- 
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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to