Remote Backups to a Tape


 
Thread Tools Search this Thread
Operating Systems Solaris Remote Backups to a Tape
# 1  
Old 12-18-2008
Remote Backups to a Tape

My tape library is broken but backups still need to go on .I have 2 boxes running Solaris 10

Got SCSI tape drive attached to the DEV box ( my PROD Box has only fibre)
I want to take the prod backup from the DEV box using ufsdump. ie

/usr/sbin/ufsdump 0uvf DEV:/dev/rmt/1n /dev/rdsk/c5t600015D000032100000000000000482Ed0s0

I've entered the PROD server name in the /.rhosts in DEV and vice versa

tape status via PROD is not possible

root@PROD # mt -f DEV:/dev/rmt/0 status
DEV:/dev/rmt/0: No such file or directory


in DEV it works

root@DEV # mt -f /dev/rmt/0 status
HP Ultrium LTO 2 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
root@DEV #



The two servers are on the same network and can ping each other. There are also some NFS mounts between the two

Is there a step I'm missing out ? which other files should i configure


Thanking you

Msoro
# 2  
Old 12-29-2008
The dump/restore routines have a built-in rsh handler for execution on other boxes, and rsh knows how to interpret DEV:. The mt program does not, so that the DEV: syntax means nothing to it.

You'll need to run rsh or ssh like this:
Code:
rsh HOST -l USERNAME -n mt -f /dev/rmt/0/status

# 3  
Old 12-30-2008
Thanks a lot Otheus. I have two servers which require backup on the tape drive in the remote server.

When i test the tape status from my two servers one works but the other gives an error "permission denied" as indicated below.


root@QAS # rsh DEV -l root -n mt -f /dev/rmt/0 status
HP Ultrium LTO 2 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
root@QAS #


root@PRD#
root@PRD#rsh DEV -l root -n mt -f /dev/rmt/0 status
permission denied

I've configured both /.rhosts & /etc/hosts.equiv in all the 3 servers to allow root user access.



Kindly give me the syntax for taking a ufsbackup on the remote tape drive .

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Best method to encrypt AIX LTO6 tape backups?

Hello, I need to be able to encrypt LTO tapes that our AIX writes to for backups. We have a tape library (IBM TS3100) that our AIX host uses to write to LTO6 tapes. We then take those tapes off-site and restore to another AIX system using a 3580-H6S LTO6 tape drive - this is a very simple... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

2. SCO

SCO tape backups won't restore in Ubuntu Linux environment

Hello folks. I have the following problem: I'm trying to create a tape backup of a list of files on a 10 year old server, running SCO Openserver 5.0.5 (the tape drive is a Seagate STD224000N, connected as a SCSI drive). I then want to restore the contents of this tape onto a new server... (6 Replies)
Discussion started by: klabelkholosh
6 Replies

3. UNIX for Dummies Questions & Answers

Question about a tape write error doing backups

Hello all. UNIX dummy here :p Anyway I was trying to do a full backup of my work server SUN SPARC SERVER 1000 machine (yes we are actually using this dinosaur). I did the ufsdump comand and everything was fine until I got to the dumping of regular files. During the run I got the following... (7 Replies)
Discussion started by: hammerva
7 Replies

4. AIX

Tape backups: do you always verify them after doing them ?

It may seam a bit odd that I ask this question. After you have done your backups to tapes, do you verify the content of the tapes ? - never - sometimes - always The reason I am asking is that here in the office, all the backup procedures include verifying the content of the tapes (no... (5 Replies)
Discussion started by: Browser_ice
5 Replies

5. AIX

How to optimize our tape backups ?

Hi, I am currently looking at how we can optimize and speed up our backups here. I am just a beginner operator and our system admin hardly knows anything (long term interim). There is this particular TAR backup of DB backups that for a 10.5Gb amount of files, it takes 5 hours to do the backup on... (6 Replies)
Discussion started by: Browser_ice
6 Replies

6. Filesystems, Disks and Memory

Tape drives used for taking backups

Hi, I am a abit new in AIX system administration field. I want to gather knowledge about backup techniques. As per my knowledge we use Tape archives for taking backups. Can anyone pls explain me in detail abt tape archive? Whether these tape archives come along with the systems or we have to... (1 Reply)
Discussion started by: forumsrahul
1 Replies

7. UNIX for Dummies Questions & Answers

verifying tape backups

Hello all, how would i go about verifying that a tape is backing up data correctly other than restoring the backup. for example, what command would i use to check the tape for errors? Any and all help is appreciated -Coffee (0 Replies)
Discussion started by: coffeebrown
0 Replies

8. AIX

backups getting it so the tape doesn't rew.

Currently am running the backup command for AIX 5L and see that the tape is rewinding after the completion of the back. backup -0 -u -f /dev/rmt0 / >> $file 2>&1 What can I do to stop allow the backup to rew after the completion of this job? Any thoughts? Thanks again. (2 Replies)
Discussion started by: justinburbridge
2 Replies

9. UNIX for Dummies Questions & Answers

Multiple backups on one tape

For those with backup tapes (and I just bought and installed a Seagate one for my FreeBSD box) I want to know how to get the most out of each tape by placing multiple backups on each tape (potentially 20GB). Please correct me if I'm wrong: First, retension the tape: # mt retension next, turn... (3 Replies)
Discussion started by: WIntellect
3 Replies
Login or Register to Ask a Question