  | |  | using tar and turning grey | using tar and turning grey 2004-02-10 - By Jeff Lasman
Back 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@(protected) 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@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |