11-20-2008
Help recovering a backed up file
Hello,
By accident I erased a file at work and I need to restore it from a backup tape. My manager says I will have to use the mt command with the fsf option to look through the tape but I am confuzed. I did a restore -t [device path] to get a listing of the tape. This is taking a long time.
If I sound confused it is because I am. I just need to restore a file from a backup tape. I know the name of the file. Can someone tell me the fastest/easiest way to go about this?
Last edited by mojoman; 11-20-2008 at 11:06 AM..
7 More Discussions You Might Find Interesting
1. Cybersecurity
We are running a Windows NT environment and have a stand alone Unix box. Is there software that would allow this Unix machine to be backed up along with our routine Windows NT backups? Any suggestions would be appreciated. Thanks!!! (3 Replies)
Discussion started by: G-Money
3 Replies
2. Solaris
I've backed up several files to tape using tar, and wish to list those that have backed up.
% tar cvf /dev/rmt/2un /s_1/oradata/pgpub/config.ora
a /s_1/oradata/pgpub/config.ora 2 tape blocks
But when I go to list the files:
% tar tvf /dev/rmt/2un
tar: tape read error
What am I... (3 Replies)
Discussion started by: FredSmith
3 Replies
3. Filesystems, Disks and Memory
Is it possible that recovering a disk with jffs2 file system ? (1 Reply)
Discussion started by: s. murat
1 Replies
4. UNIX for Dummies Questions & Answers
Dear UNIX Experts,
I'm a newbie. My name is Budi.
I need some help from any body in this forum.
How do we identify the backed up date of file in the Back up tape ?
I did the back up using FBACKUP cmd.
I tried to googling it, but unfortunately no aimed solution that I got. :confused:
I've... (0 Replies)
Discussion started by: Bhoed
0 Replies
5. Red Hat
Hi all,
I need some help...
- I have two servers - serverA and serverB.
- ServerB has a tape drive
- I took a backup of some files on serverB on to tape drive on serverA.
- I used the following command:
serverB> tar cvfb - 20 ./<file> | ssh <serverA> 'dd of=/dev/nst0 bs=20b'
- I... (2 Replies)
Discussion started by: ahmerin
2 Replies
6. Solaris
Hi
I would like to know one thing while recovering from corrupt /etc/system file.
For that we have to do at ok> boot -a
when system ask for system file we give /dev/null. Could any one tell me what /dev/null value will do in this case.
Regards (1 Reply)
Discussion started by: sb200
1 Replies
7. UNIX and Linux Applications
does any one know how to change inactive filename that is backed up on tsm? (1 Reply)
Discussion started by: curtis911
1 Replies
AMMT(8) System Manager's Manual AMMT(8)
NAME
ammt - Amanda version of mt
SYNOPSIS
ammt [ -d ] [ -f|-t device ] command [ count ]
DESCRIPTION
Ammt provides just enough of the standard mt command for the needs of Amanda. This is handy when doing a full restore and the standard mt
program has not yet been found.
Ammt also provides access to the Amanda output drivers that support various tape simulations.
See the amanda(8) man page for more details about Amanda. See the OUTPUT DRIVERS section of amanda(8) for more information on the Amanda
output drivers.
OPTIONS
-d Turn on debugging output.
-f device
Access tape device device. If not specified, the TAPE environment variable is used.
-t device
Same as -f.
command count
Which command to issue, and an optional count of operations.
COMMANDS
Each command may be abbreviated to whatever length makes it unique.
eof|weof count
Write count (default: 1) end of file marks (tapemarks).
fsf count
Skip forward count (default: 1) files.
bsf count
Skip backward count (default: 1) files.
asf count
Position to file number count (default: 0) where zero is beginning of tape. This is the same as a rewind followed by a fsf count.
rewind Rewind to beginning of tape.
offline|rewoffl
Rewind to beginning of tape and unload the tape from the drive.
status Report status information about the drive. Which data reported, and what it means, depends on the underlying operating system, and
may include:
ONLINE Indicates the drive is online and ready.
OFFLINE
Indicates the drive is offline or not ready.
BOT Indicates the drive is at beginning of tape.
EOT Indicates the drive is at end of tape.
PROTECTED
Indicates the tape is write protected.
ds Device status.
er Error register.
fileno Current tape file number.
blkno Current tape block number file.
NOTE: many systems only report good data when a tape is in the drive and ready.
AUTHOR
Marc Mengel <mengel@fnal.gov>
John R. Jackson <jrj@purdue.edu>
SEE ALSO
amanda(8)
AMMT(8)