LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-29-2008, 09:22 AM   #1
blckspder
Member
 
Registered: Feb 2005
Posts: 37

Rep: Reputation: 15
restore a tape that has appended data on it


Hello,

I have been trying out the dump command to backup my server to tape. I learned from some tutorials that to append backups onto one tape to use the non-rewinding device name nst0.

Here is the command I use for incrementals:

dump -1uaf /dev/nst0 /files

In my crontab I have that running 6 nights out of the week with each new day having a new number, so the next incremental would be:

dump -2uaf /dev/nst0 /files

and so on.

My problem is, how do I restore these tapes now? Each backup is appended onto the end of the last one, so it is effectively making a new block for the new backup right? I tried using the restore command but fail to see anywhere that I can put what block to look into and to restore.

If anyone can help I would appreciate it. thanks.
 
Old 09-29-2008, 04:11 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,698

Rep: Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217Reputation: 3217
Read the man pages for mt. The mt command manipulates the tape i.e. rewind or fast forward to a particular file.

http://linux.die.net/man/1/mt

ex: mt -f /dev/nst0 fsf 1 Will forward tape to the next file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dump restore: not found on tape remargorp Linux - Newbie 1 03-21-2007 07:47 PM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 09:15 AM
Restore Tape Data made by ARCServ? OneSeventeen Linux - Software 1 09-14-2005 05:16 PM
dump restore: not found on tape eddi.b Linux - Newbie 1 02-05-2004 08:36 AM
Old slackware tape backup - need to restore rah Slackware 14 04-09-2003 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration