Computing.Net > Forums > Solaris > backup solaris 8

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

backup solaris 8

Reply to Message Icon

Name: John K
Date: July 16, 2003 at 13:33:06 Pacific
OS: solaris 8
CPU/Ram: 512
Comment:

Currently I am looking at ways to backup certain files on my sun box running solaris 8. I'm looking at either a tape drive or a different server. Problem is I am lost. Fist question, How to you make the os recognize a tape drive, rmt0. I have attached the drive but then I figure there must be something you have to enter to find it like a mount point or something, so how would I do that, to get the tape drive running so I could go a ufs dump to it. Second in order to access the other server without a password I understand I have to get rsh login working or running. How would I set that up so I could have a cron job automatically run every day to copy over certain files to the remote server. Any help would be great, thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: July 16, 2003 at 17:07:09 Pacific
Reply:

If you attach a device after the OS is installed you need to regenerate the contents of the /dev directory.

cd / ; touch reconfigure ; shutdown -r now

The first tape drive will probably show up as /dev/rmt/0n

ufsdump -0uvf /dev/rmt/0n /dev/dsk/c0t0d0s0
tar cvf /dev/rmt/0n `find / -name "*.txt"`

rsync gets my vote for copying files between servers, although if you set up authentication you can use rsh to write files to a remote tape drive.


0

Response Number 2
Name: Johnk
Date: July 17, 2003 at 10:54:39 Pacific
Reply:

ok so i just need to type in root, touch configure and then reboot the server. Is there anyway by chance of recognizing the tape drive without rebooting in solaris 8? Also how would i set up rsync or rsh?


0

Response Number 3
Name: David Perry
Date: July 17, 2003 at 11:48:43 Pacific
Reply:

I don't know how to escape the reboot in reconfiguring your devices. HP requires a kernel build and reboot.

You can download the rsync package from www.sunfreeware.com. Have a look at http://rsync.samba.org for details about setting up the rsyncd.conf file and usage.


0

Response Number 4
Name: David Perry
Date: July 17, 2003 at 14:32:01 Pacific
Reply:

Try

tar cvfb - 20 ./dir | rsh remote_host dd of=/dev/rmt/0 obs=20b

or the gnu tar with remoter tar server


0

Response Number 5
Name: Boarddude
Date: July 21, 2003 at 06:05:04 Pacific
Reply:

For online recognition (as root):
$ devfsadm -v

the you'll see the new add tape device
and put in a tape in the tape drive
try:
$ mt stat -f /dev/rmt/0
it should give response..

If you want to use rsh you have too make
.rhost files in ths system that is backuped.
for preventing passwd auth...

but you can ufsdump to dump your file system
and ufsrestore....

see man-pages for more help.



0

Related Posts

See More



Response Number 6
Name: Johnk
Date: July 22, 2003 at 12:00:54 Pacific
Reply:

Great, that worked. I was able to get in to find the tape drive without rebooting and now I'm running the backups. Thanks to both of you. You guys are great help.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: backup solaris 8

Solaris 8 www.computing.net/answers/solaris/solaris-8/4690.html

Solaris 8 to 9 Upgrade www.computing.net/answers/solaris/solaris-8-to-9-upgrade/3886.html

Solaris 8 bootup message www.computing.net/answers/solaris/solaris-8-bootup-message/4788.html