Problem using ufsdump to remote tape called using rsh

Problem using ufsdump to remote tape called using rsh

Post by Lawrence Cockel » Tue, 16 Jun 1998 04:00:00



At the moment I have a script which does a rsh to a remote machine which
runs ufsdump using the device on the original machine the 1st script was run
on.  The only problem with
this set-up is if the tape gets full  the program prompts for a new tape to
be inserted but does not wait for a response and continues regardless and
the dump is aborted.

I know that If I do a remote login and run the second script the dump works
ok but I want to avoid this option.

The contents of the scripts are as follows:
1st script
                #!/bin/sh
                rsh argent /usr/FRIDAY

2nd script (FRIDAY)
                #!/bin/sh
                echo BACKUP
                rsh -n gold mt -f /dev/rst1 rewi
                ufsdump 0uf gold:/dev/rst1 /main

 
 
 

Problem using ufsdump to remote tape called using rsh

Post by Sylvain REDOULE » Tue, 16 Jun 1998 04:00:00


You should run ufsdump 0f remote_hostname:/dev/rmt/0 /dev/rdsk/cxtydzsw
This way tou can log and handle all events from your "original machine"


> At the moment I have a script which does a rsh to a remote machine
> which
> runs ufsdump using the device on the original machine the 1st script
> was run
> on.  The only problem with
> this set-up is if the tape gets full  the program prompts for a new
> tape to
> be inserted but does not wait for a response and continues regardless
> and
> the dump is aborted.

> I know that If I do a remote login and run the second script the dump
> works
> ok but I want to avoid this option.

> The contents of the scripts are as follows:
> 1st script
>                 #!/bin/sh
>                 rsh argent /usr/FRIDAY

> 2nd script (FRIDAY)
>                 #!/bin/sh
>                 echo BACKUP
>                 rsh -n gold mt -f /dev/rst1 rewi
>                 ufsdump 0uf gold:/dev/rst1 /main


 
 
 

1. tar backup of a remote machine using rsh onto local tape - how?

I am using GNU tar and need to backup a remote (TCP/IP) Unix
machine using rsh and tar, piping the stuff out so I can put it
on my DAT drive /dev/st0. Someone I know has done this under
SunOS but they have forgot the syntax.

Dave

*********************************************************


* On the Web: http://scitsc.wlv.ac.uk/~cm4272/home.html *
* "Our Hamburgers are made with beef" - McDonald's      *
*********************************************************

2. Dell Inspiron 8000

3. ufsdump tape density and size on Solaris 2.4 using a 14Gb 8mm tape drive

4. MP3

5. Problem with multi-tape backup using ufsdump

6. util to format MacOS partition to Unix?

7. Problem in using elm to send the attached file using system() call in C program

8. system problems while working with LVM snapshots

9. Using ufsdump to backup files from remote host

10. Is tape-driver-buffering redundant when using ufsdump?

11. Switching Backup Tapes using Sun ufsdump

12. Determining space used on a compressed tape (ufsdump)

13. default PATH when using rsh from a remote unix system