From: Leon L. <le...@le...> - 2003-01-16 19:38:26
|
Hi Chris, That almost worked. Here is the exact command I am running. tar cp /backupdata | tar xp -C/temp_backup Now it starts copying right away but I am getting "invalid cross-device link" errors. Thanks for all you help. Leon -----Original Message----- From: Chris Ernst [mailto:ce...@us...] Sent: Thursday, January 16, 2003 2:26 PM To: bac...@li... Subject: Re: [BackupPC-users] Moving filesystems OR upgrading RAID On Thu, 16 Jan 2003 10:10:58 -0700 Chris Ernst <ce...@us...> wrote: > Hi Leon, > > I ran into this exact problem a couple of weeks ago. I tried to copy (using 'cp -a') the entire BackupPC tree to another filesystem and the individual pc directories were huge. The cp command didn't appear to handle hard links correctly no matter what i tried. > > I knew from experience that tar did handle the hard links correctly, so i tried piping a tar create to a tar extract and that did the trick. > > Do something like: > > tar cp /backup/BackupPC | tar xp /mnt/newdisk > > replacing paths where appropriate of course ;-) > > hope that helps. > > - Chris DOH! Les just made me realize i forgot an important detail. the tar command should have read: tar cp /backup/BackupPC | tar xp -C/mnt/newdisk sorry 'bout that. - Chris ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en _______________________________________________ BackupPC-users mailing list Bac...@li... https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ |