Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dump/Restore MT 1

Status
Not open for further replies.

bkonner

MIS
Apr 28, 2001
101
US
Hi,

I have a SCSI 20/40 GB tape backup for my server. The server has two mirrored SCSI hard drives each 36.4 GB hard drives. There are several volumes which I want to backup. I am using the following command: "/sbin/dump -0 -f /dev/nst0 /dev/ida/c0d0p6 -L Home" to backup the first partition, then I am using the command "/sbin/dump -0 -f /dev/nst0 /dev/ida/c0d0p7 -L Var" to cover the next partion (etc). I am not rewinding the tape. All seems to go well. My question is, how do I access each volume? By running the commands: "/mt -f /dev/nst0 rewind", I rewind the tape. By running the command "/sbin/restore -ivf /dev/nst0" I am able to see the first volume (dev/ida/c0d0p6). How do I get to the next volume (dev/ida/c0d0p7)? Do I use the files, name, ie the first restoration was called Home, and the second was called Var. Do I do this by location on the tape? Also, I think I should back up all drives, except I guess /swap (including /Boot, and /)

Any help would be appreciated.

Thanks
 
Hi,

generic unix syntax (I'm not 100% on linux)

# mt -f /dev/nst0 fsf n
where n is the number of archives that you want to fastforward (fsf) through.

Hope this helps/works. Ian

"IF" is not a word it's a way of life
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top