using tar and turning grey

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using tar to move data between machines, but even though I've got 
partitions at various mount points on the target machine (/boot, /var/ 
/usr, /usr/local, home), the mounts are being ignored and the data is 
being moved to the underlying / partition, which obviously fills up 
quickly and results in nonusable drive.

The system I want to duplicate is mounted at /mnt/hda1 on system A (a 
knoppix system, running from CDROM, for convenience).  the drive on 
/mnt/hda1 is a standard RHL 7.3 diretory tree, but it's all in one 
partition.

The system I want to move to is a RHL 7.3 system, which was built with 
only the network packages, sshd and the joe editor installed.

Here's the tar command I'm using (piped through SSH); it shows up 
wrapped as two lines in the email but it's a one-line command.  It was 
given to my by someone else.

<snip>
tar -c -f - /mnt/hda1/ 2>/ramdisk/error.log | ssh root@xxxxxxxxxxxxx tar 
-C / -x -f -
</snip

Is it right?  Is it causing the problem?  Can it cause the problem?

Any way around this?  I need to get this system copied over.

Thanks.

Jeff
-- 
Jeff Lasman, nobaloney.net, P. O. Box 52672, Riverside, CA  92517 US
Professional Internet Services & Support / Consulting / Colocation
Our blists address used on lists is for list email only
Phone +1 909 324-9706, or see: "http://www.nobaloney.net/contactus.html";


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux