Sponsored Content
Full Discussion: Cannot restore a TAR backup
Top Forums UNIX for Dummies Questions & Answers Cannot restore a TAR backup Post 113 by Ross.Goodman on Friday 20th of October 2000 04:52:43 AM
Old 10-20-2000
MySQL Resolution !

Hi,

I found the problem:

I was using
tar xvf /dev/rmt1 -N800

and I should have used
tar -xvf /dev/rmt1 -N800

That dash IS important !

Thanks
 

10 More Discussions You Might Find Interesting

1. Solaris

tar - restore a file

We use tar for backing up a server. I need to restore just one file from this backup. Anyone know the syntax? (2 Replies)
Discussion started by: frustrated1
2 Replies

2. UNIX for Dummies Questions & Answers

Question regarding tar restore

I created a relative backup of my home directory using tar into a file named backup.tar. No problem there. I checked it out using the table of contents command to list the contents of the backup.tar file, and there is no problem there either. But, when I tried restoring backup.tar into a... (2 Replies)
Discussion started by: Relykk
2 Replies

3. Solaris

Backup / restore

Hi.... everyone could help me to understand how to do a backup of my servers .. operating systems is sun solaris 8 . I have some question about .... 1) Is better backup phisical disk or partition ??? i sow the command is ufsdump 0cfu /expbck/bcksunver/c0t0d0s5 dev/dsk/c0t0d0s5 to... (4 Replies)
Discussion started by: tt155
4 Replies

4. AIX

Backup and restore

I have several H80 machines, all with AIX 4.3.3. On these machines I have mksysb running for rootvg backups and savevg for non-rootvg backups. I'm trying to get a list of files on the tapes, but I can't seem to do it with tar for the mksysb images. I keep getting the directory checksum errors?... (3 Replies)
Discussion started by: uXion
3 Replies

5. HP-UX

F-Backup restore

Hello! i have a blank harddrive and a complete tape backup of the workstation. the backup is made with F-Backup. Now my question is: how can i restore my workstation? thanks for every idea! paul tittel hup-si (3 Replies)
Discussion started by: paultittel
3 Replies

6. UNIX for Dummies Questions & Answers

Restore files with TAR -- Help

Hi, Can anyone tell me the right TAR command to restore all the files dirs/subdirs/files etc. to a given directory on my hdd from a TAPE drive? I already used the list function to see that there is data on it with this commando: # tar tf /dev/st0 Now I need to copy all the data to a... (1 Reply)
Discussion started by: severt
1 Replies

7. Shell Programming and Scripting

Backup/restore scripts

hi people i am in need of some assistance here hoping to star a linux course in january to wanted to get some experiance before starting so got a hold of some old assessments from a mate at college so just working through them in my spare time for the past 8 weeks or so and this is the final ? that... (2 Replies)
Discussion started by: boabbyrab
2 Replies

8. AIX

Backup and restore

Hi experts, i got a question. i have a production server with two Volume Group(VG) which are rootvg and datavg. Both of these VGs are 256 PP SIZE. On Disaster Recovery Server (DR server) contains two empty hardisks for restoring rootvg and datavg from production server. This two hardisks are... (7 Replies)
Discussion started by: polar
7 Replies

9. Red Hat

Backup / Restore

Hi, I need to back up a RH file system (96G). The files are oracle .dbf format some of which are 5G in size. I know that tar has got a size restriction of 2G so I cannot use this. Can anyone recommend an alternative way of backuping up this FS? I have been looking at dump but this... (6 Replies)
Discussion started by: Duffs22
6 Replies

10. Red Hat

Backup and restore using tar

This will be covered elsewhere im sure but i just cant seem to find my exact issue. I want to backup my systems using tar, command is: tar -cjpf /backup /bin /etc /home /opt /root /sbin /usr /var /bootWhen i include the / directory it also tar's the /lib /sys /proc /dev filesystems too (and... (8 Replies)
Discussion started by: Tommyk
8 Replies
cdrestore(1)															      cdrestore(1)

NAME
cdrestore - Streaming restore from CD-R(W)/DVD-R(W) SYNOPSIS
cdrestore [-qvDFRTV] [-d device] [-i image] [-l size] [-t track] [-c command] DESCRIPTION
cdrestore is a utility to make streaming restores from CD-R(W)/DVD-R(W) disks. It's designed to work with any backup tool which is able to restore from stdin (like tar/cpio/afio). OPTIONS
-d device The device name which is used for reading the backup. (default: /dev/cdrom) -i image Enables virtual image mode. The backup stream is read from the given image file. You have to use this option, if you are restoring from a dumped image too. (default: none) -l size Specifies the media size. This value is used to display the free space on the media only. By default the given value is taken as megabytes. You can append a single letter to the number to select: (k)ilobytes, (m)egabytes, (g)igabytes or (s)ectors (e.g. 170k, 4488m, 350000s). (default: 650m) -t track The number of the data track on the media for reading the backup. (default: none) -T Enables test mode. The complete restore process is done to test data integrity (includes CRC checksum test, if available), but no data is output. NOTE: This only verifies that the data is readable by cdrestore at all. This doesn't guarantee that your backup software will be able to do a real restore with the data. -F Forces cdrestore to begin the restore in the middle of a multi-disk set. This may be useful if you have lost a disk or a disk is badly damaged. NOTE: This will most probably start the restore in the middle of a file. It's up to your backup software to sync to the beginning of the next file. -R Disable the kernel readahead for the CDROM device during the restore process. (see cdbackup(1) Known problems) -c command The command which is executed whenever cdrestore needs to request a new media for multi-disk backups. This command (or script) should prompt the user and return after the device is ready again. The command receives one argument, which is the device name passed with -d. This can be used to issue commands to the device like ejecting the media. (default: use internal diskchange prompt) -q Queries the media, prints out the contents and exits. -v Enables verbose mode. -D Enables DEBUG output (probably not useful for normal use). -V Prints out version information and exits. EXAMPLES
Query the 700 MB media on /dev/sr0: cdrestore -d /dev/sr0 -l 700 -q Restore a tar archive to the current directory from track 2 of a 702 MB media on /dev/scd0: cdrestore -d /dev/scd0 -l 702 -t 2 | tar xf - Query the contents of a virtual image: cdrestore -i /tmp/vimage -l 4488m -q Check data integrity of track 3 in a virtual image after dumping it to DVD media: cdrestore -i /dev/dvd -t 3 -T AUTHORS
Stefan Hulswitt <s.huelswitt@gmx.de> SEE ALSO
cdbackup(1) LICENSE
Copyright (c) 2000-2004 Craig Condit, Stefan Hulswitt. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR- RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CON- TRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Stefan Hulswitt 0.7.0 cdrestore(1)
All times are GMT -4. The time now is 03:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy