The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 08:41 AM
Mounting DLT tape and to backup file to tape ayzeayem UNIX for Dummies Questions & Answers 0 08-13-2007 11:09 PM
[Help help] backup script for tape on solaris bucci Shell Programming and Scripting 0 03-14-2007 03:03 AM
Problem With Tape Backup in Solaris mahatma UNIX for Advanced & Expert Users 3 03-30-2006 12:24 AM
linux backup to solaris tape drive bubba112557 Linux 0 02-08-2006 08:23 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 04-29-2005
Registered User
 

Join Date: Mar 2005
Posts: 64
Solaris 7 newbie tape backup question

Hello all,

I have an ss20 running Solaris 7, with an attached 4mm tape drive. The machine has one 1.2GB SCSI HDD. I would like to backup other machines
to tape, but I can't do a stopover on the ss20s hard disk, as there is virtually no space available. Is there a way I can make the tape drive available over the network, so I don't have to write archives to the local hard disk, then to tape, but directly to tape?

I hope this is clear enough; thanks in advance.
Reply With Quote
Forum Sponsor
  #2  
Old 04-29-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Let's say the hostname of your ss20 is server1 and the tape device is 0.

To backup all /opt files from server2 use server1:/dev/rmt/0n
# hostname
server2
# ufsdump 0cf server:/dev/rmt/0n /opt

See the man page for ufsdump (and/or tar) - a .rhosts file will be needed (I usually had one created via the scripts I ran just before the dump and then delete them afterwards as it is a security concern) along with the IP and host names in /etc/hosts for each server involved.
Reply With Quote
  #3  
Old 04-29-2005
Registered User
 

Join Date: Mar 2005
Posts: 64
Nice! Thank you so much for the advice. I'll try it when I have a chance.
Reply With Quote
  #4  
Old 01-13-2007
Registered User
 

Join Date: Nov 2006
Posts: 29
Quote:
Originally Posted by RTM
Let's say the hostname of your ss20 is server1 and the tape device is 0.

To backup all /opt files from server2 use server1:/dev/rmt/0n
# hostname
server2
# ufsdump 0cf server:/dev/rmt/0n /opt

See the man page for ufsdump (and/or tar) - a .rhosts file will be needed (I usually had one created via the scripts I ran just before the dump and then delete them afterwards as it is a security concern) along with the IP and host names in /etc/hosts for each server involved.
How about content format of .rhosts file, is it same as /etc/hosts.equiv:
hostname user

Thanks

Last edited by reborg; 01-13-2007 at 10:41 AM. Reason: spelling
Reply With Quote
  #5  
Old 01-13-2007
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,590
Yes, or you could use hosts.equiv

All that is required is rsh/rlogin works without a password.
Reply With Quote
  #6  
Old 01-13-2007
Registered User
 

Join Date: Nov 2006
Posts: 29
Thanks,

What I want is backup data from local machine to remote which have tape driver with root account. As I read, we need to have local hostname in .rhosts of remote machine for this task. I created .rhosts file.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0