10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, I need to restore some yesterday emails from backup within a 5 hours timeframe
this is a openvz container, backup is made by rsync files to another partition in the same server
I have tried to do this
#!/bin/sh
cd /vz/backup/414/home/smartftp/mail/domain1.com/
for dir in new... (6 Replies)
Discussion started by: cuantica
6 Replies
2. Shell Programming and Scripting
hi all ,
a messages appeared to me when i was checking my /var/adm/messages
and the below code was in it
Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1):
Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies
3. UNIX for Advanced & Expert Users
I have accidently removed a file using the command
rm -r "file.txt" (I have removed it locally !)
I need to restore the file.txt to my existing CVS version.How can I do it ? Please help.
Thank you. :wall: (5 Replies)
Discussion started by: gameboy87
5 Replies
4. Solaris
Hi all,
Can anyone provide me with a site or book that gives detailed information about taking dump of a unix server on a tape and then restoring the server from the dump
Also i want information about migration from old server to new server (solaris 5.6 to solaris 8) (3 Replies)
Discussion started by: asalman.qazi
3 Replies
5. Solaris
Hi Gurus,
I need help. Mine is an Ultra 10 machine running on solaris 7. Problem with solaris 7 is, it can no longer recognize IDE disks greater that 10GB. My workaround is ro use an external SCSI disk since it is recognizable with solaris 7. I backup my filesystems (residing on the IDE... (2 Replies)
Discussion started by: domesat
2 Replies
6. Solaris
Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n
Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2
Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies
7. UNIX for Dummies Questions & Answers
I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize.
The part of the script that does the tar looks like this:
tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies
8. UNIX for Dummies Questions & Answers
I had a user run, by accident, the following line command on our UNIX server:
rm -f /usr/*
This apparently deleted some needed files on your system. Having very limited knowledge in UNIX, I thought I would ask the group if anyone knows how I can recover these file?
The version of UNIX is... (3 Replies)
Discussion started by: mikem
3 Replies
9. AIX
I am trying to restore some files from a DLT drive in AIX 4.3 but I am having a few problems. Basically when I try to run the restore command I get the following error:
Cannot read from the specified input.
Please enter the device name when ready
I am the following command for the restore
... (0 Replies)
Discussion started by: The Hunter
0 Replies
10. UNIX for Dummies Questions & Answers
help please
i have "inherited" a Sco Server (the administrator departed in a hurry...yes we are chasing him..) and haven't used Unix for 8 years.
i have a file that i need to retrieve from a tape.
i have been able to find the file on tape using the cpio -ivt command.
however...
the problem I... (3 Replies)
Discussion started by: mfischer
3 Replies
READ_TAPE(8) AFS Command Reference READ_TAPE(8)
NAME
read_tape - Reads volume dumps from a backup tape to a file
SYNOPSIS
read_tape -tape <tape device>
-restore <# of volumes to restore>
-skip <# of volumes to skip>
-file <filename> [-scan] [-noask] [-label]
[-vheaders] [-verbose] [-help]
DESCRIPTION
read_tape reads an OpenAFS backup tape and prompts for each dump file to save. This command does not require any OpenAFS infrastructure.
This command does not need an OpenAFS client or server to be available, which is not the case with the backup(8) command.
The dump files will be named for the Read/Write name of the volume restored. After saving each dump file, vos restore or restorevol can be
used to restore the volume into AFS and non-AFS space respectively.
read_tape reads the tape while skipping the specified number of volumes. After that, it restores the specified number of volumes.
read_tape doesn't rewind the tape so that it may be used multiple times in succession.
OPTIONS
-tape <tape device>
Specifies the tape device from which to restore.
-restore <# of volumes to restore>
Specifies the number of volumes to restore from tape.
-skip <# of volumes to skip>
Specifies the number of volumes to skip before starting the restore.
-file <filename>
Specifies an alternate name for the restored volume dump file rather than the default of the volume name.
-scan
Scans the tape.
-noask
Doesn't prompt for each volume.
-label
Displays the full dump label.
-vheaders
Displays the full volume headers.
-verbose
Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and
error messages appear.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command will read the third through fifth volumes from the tape device /dev/tape without prompting:
% read_tape -tape /dev/tape -skip 2 -restore 3 -noask
PRIVILEGE REQUIRED
The issuer must have access to read and write to the specified tape device.
SEE ALSO
backup(8), restorevol(1), vos_restore(1)
COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for
OpenAFS.
OpenAFS 2012-03-26 READ_TAPE(8)