APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

How can I back up to a tape drive on another SCO Unix machine?

The third-party Supertars have this capability (/Reviews/supertars.html ) as do some public domain backup utilities.

You can do it yourself, but you need to establish user equivalency and have the remote execution commands enabled ("rcmd" on SCO, "rsh" on Unixware and Linux). Many sites disable these because they are considered bad security risks.

So the first thing to try is something as simple as

 rcmd otherbox "/bin/ls /tmp"

unless and until that works, you aren't going to be able to do anything more involved. Don't assume that because it works for "john" that it will work for "pete" and especially for "root"- read the man pages, and be sure your machine names are correct in ~/.rhosts or hosts.equiv- often the problem is that you think of your machine as xyz.someplace.com, but the other machine thinks of you just as "xyz" or vice versa- pings will often tell the story.

If it does work, consider that you can now pipe the output of any command here to the inpupt of any command there. So you could, for example, do:

 tar cvf - . | rcmd otherbox dd of=/dev/rStp0

or whatever else you'd like. But please- check your backups, and check them especially well if these are machines with different OS'es- you could find that you cannot easily read back what you wrote!

You could also use ssh:

tar cvf - . | ssh user@otherbox "dd of=/dev/rStp0"

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> (SCO Unix) How can I back up to a tape drive on another machine?

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi. (Larry Wall)



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode

SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)