[Sunhelp] Re: Remote tar backup/restore

Steffen Grunewald steffen at gfz-potsdam.de
Wed Jul 12 03:53:03 CDT 2000


On Wed 2000-07-12 (11:57), Rehan Ul Badar wrote:
> Hi all,
> 
> Can anyone tell me the workaround of remote tar backup/restore. Scenario
> is that we have 2 machines and one DLT(Tape drive). DLT is attached with
> machine-1. we take a backup on machine-1 with ' tar cvfp /dev/rmt/0
> dir1'.
> Now we have to restore the same backup on machine-2. rsh is working fine
> b/c
> we edited .rhosts. We got the following errors while we are restoring
> 
> # rsh machine-1 dd if=/dev/rmt/0 | tar xvfp - dir1
>   read: I/O error
>   0+0 records in
>   0+0 records out
>   tar: blocksize =

- are you allowed to read from the tape ? try to pipe into od -xc
- add bs=10k or obs=10k to the dd process
- add -n to rsh

Steffen
-- 
Steffen Grunewald * GeoForschungsZentrum Potsdam * Projektbereich 2.2
Telegrafenberg E3 * D-14473 Potsdam * Germany / Duitsland / Allemagne
office: steffen(at)gfz-potsdam.de * home: steffen.grunewald(at)gmx.de
Unix IS user-friendly. It's just selective about who its friends are.





More information about the SunHELP mailing list