Le Fri, 16 Feb 2007 17:16:00 -0800,
Craig Barratt <[EMAIL PROTECTED]> a écrit :

> Daniel,
> 
> What version of tar are you using?
> 
> Craig

I'm using tar-1.14-12.RHEL4
But I've found the problem yesterday, I need to use the -P option for
tar, if I don't, I've got this message:

removing leading ../ from hardlink targets

So now, If I do a

sudo -u backuppc BackupPC_tarPCCopy /opt/backuppc/files/pc/ | tar xvPf -

it's working (I've not tested it but the linsks are restored without
error messages now). I haven't tested it through the ssh tunnel yet, but
there's no reason, it should also work.

Thanks for your help. I can now write my script to copy all the data:

- to a local directory
- on a remouvable media
- on a remote host

I'll share this as soon as it's finish.

The script BackupPC_tarPCCopy is exactly what was missing in
previous version of BackupPC to copy the backups data off-site.

Thanks again for all your help and your work.
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

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to