[KLUG Members] backing up
Bruce Smith
members@kalamazoolinux.org
Mon, 10 Sep 2001 10:34:12 -0400
> I am having a little trouble backing up. I am using tar as follows:
> tar -cvzpf /dev/st0 -T /root/backup/whattobackup
>
> when I restore the files with :
> tar -xvzpf /dev/st0 it restores and then hangs. When I try backup and then
> restore a small amount of data it completely hangs and fails on the restore.
> (control c stops the hang.)
What kernel version are you running? I noticed some strange behavior with
tar and some of the later kernels that I haven't had time to investigate.
Any messages in /var/log/messages or dmesg about I/O errors, etc.???
Did it ever work? Did it suddenly stop working? If so, what changed?
(new kernel, ....?)
Otherwise you may need to "strace" tar to figure this out.
> I also noticed from man tar that you can put a hostname before a tar. -f,
> --file [HOSTNAME:]F What mechanism does this use and does it work/is it secure
> like with ssh.
It is NOT secure and should only be used on machines behind a good firewall.
I think it requires an entry in the remote machine's /root/.rhosts file for access.
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------