Sponsored Content
Full Discussion: Backup and restore in unix
Top Forums Shell Programming and Scripting Backup and restore in unix Post 302453403 by omonoiatis9 on Wednesday 15th of September 2010 06:58:12 AM
Old 09-15-2010
ok but is it possible to restore a specific file?
i mean i will backup on tape around 120 different compressed files.
when i want to restore from tape i may only need to restore just one of them. i can do that with tar command or i should use different command for the restore?
 

10 More Discussions You Might Find Interesting

1. Solaris

Why is restore slower than backup?

After my big disaster, I'm restoring from tape on my Sun box. This is the second time I've used 'ufsrestore' with this DEC TZ88 SCSI DLT drive. The last time was for a migration from one box to another. Both the last time and this time, the restore has taken a hell of a lot longer than the... (4 Replies)
Discussion started by: deckard
4 Replies

2. 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

3. 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

4. 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

5. HP-UX

Backup Tape Restore?

I am trying to do a restore on a backup tape (DDS2) and am having a little trouble. For one, I dont know how the tape was made, whether is was tar, cpio, dump..etc. Anyone know how to restore a tape without knowing the format of the backup? (5 Replies)
Discussion started by: bake255
5 Replies

6. HP-UX

hp unix backup&restore

Dear frnds, i am going to use hp-ux11i first time, actually migrated from true64unix(digital), Now confused with the backup and restore procedures, i was using vdump and vrestore in that which was really much comfortable.could you suggest which is best type backup(similar to vdump and vrestore)... (8 Replies)
Discussion started by: jestinabel
8 Replies

7. AIX

HMC backup/restore

Hey Some questions.. 1. can we install hmc fixes/patches from nfs mount? 2. Lets say my hmc crashed are these the steps for recovery? - install the base hmc software (product cd) - install the updates/patches/corrective service - restore the critical console date am... (4 Replies)
Discussion started by: balaji_prk
4 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. Solaris

Zpool backup and restore

hi, my requirement goes something like this: In current setup, we have SPARC server running Solaris10 5/08. Out of 3 HDD available, 2 HDD (other than root) were zpool-ed and 3 zones were created. Now, we have bought a new server with similar H/W config and planning to move the zones... (1 Reply)
Discussion started by: EmbedUX
1 Replies

10. 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
AMRESTORE(8)						  System Administration Commands					      AMRESTORE(8)

NAME
amrestore - low-level data-extraction from Amanda volumes SYNOPSIS
amrestore [--config config] [-r | -c | -C] [-b blocksize] [-f filenum] [-l label] [-p] [-h] [--exact-match] [-o configoption...] [{changerspec} | {[--holding] holdingfile}] [hostname [ diskname [ datestamp [ hostname [ diskname [ datestamp ... ] ] ] ] ]] Note that this is the only Amanda command which does not take a configuration name as its first argument. DESCRIPTION
Amrestore is a very low-level tool for extracting data from Amanda volumes. It does not consult any catalog information or other metadata, basing its operations only on the headers found on the volume. This makes it an appropriate tool for bare-metal restores of an Amanda server, or other situations where the catalog is not available. See amfetchdump(8) and amrecover(8) for higher-level recoveries. The tool does not reassemble split dumps, but can uncompress compressed dumps. Note that decompression may fail for split parts after the first. If this occurs, extract the parts without decompressing, concatenate them, and decompress the result. Data is restored from the current volume in changerspec, or from the holding file holdingfile. In most cases, changerspec will name a particular device, e.g., tape:/dev/nst0 or s3:mybucket/tape-1. Only dumps matching the dump specification beginning with hostname are extracted. If no specification is given, every file on the volume (or the entire holdingfile) is restored. See the "DUMP SPECIFICATIONS" section of amanda-match(7) for more information. Unless -p is used, candidate backup images are extracted to files in the current directory named: hostname.diskname.datestamp.dumplevel OPTIONS
-b blocksize Use the given blocksize to read the volume. The default is defined by the device. -f filenum Seek to file filenum before beginning the restore operation. -l label Check that the volume has label label. -p Pipe the first matching file to standard output. This is typically used in a shell pipeline to send the data to a process like tar for extraction. -c, -C If the file is not already compressed, compress it using the fastest (-c) or best (-C) compression algorithm. Note that amrestore will not re-compress an already-compressed file. Without either of these options, amrestore will automatically uncompress any compressed files. This option is useful when the destination disk is small. -h Include 32k headers on all output files, similar to a holding file. This header can be read by another application or utility (see Amanda::Header) during the next phase of processing. -r Output raw files. This is similar to -h, but also disables any automatic decompression. Output file names will have a .RAW extension. --exact-match The host and disk are parsed as exact values -o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8). EXAMPLES
The following does an interactive restore of disk rz3g from host seine, to restore particular files. Note the use of the b option to restore, which causes it to read in units of two 512-byte blocks (1 Kbyte) at a time. This helps keep it from complaining about short reads. amrestore -p /dev/nrmt9 seine rz3g | tar -xv The next example extracts all backup images for host seine. This is a typical way to extract all data for a host after a disk crash. amrestore /dev/nrmt9 seine If the backup datestamp in the above example is 20070125 and seine has level 0 backups of disks rz1a and rz1g on the tape, these files will be created in the current directory: seine.rz1a.19910125.0 seine.rz1g.19910125.0 You may also use amrestore to extract a backup image from a holding disk file that has not yet been flushed to tape: amrestore -p /amanda/20001119/seine.rz1a.2 | tar -xv CAVEATS
GNU-tar must be used to restore files from backup images created with the GNUTAR dumptype. Vendor tar programs sometimes fail to read GNU Tar images. SEE ALSO
amanda(8), amanda-match(7), amfetchdump(8), amrecover(8) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
James da Silva <jds@amanda.org> Stefan G. Weichinger <sgw@amanda.org> Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.3 01/10/2013 AMRESTORE(8)
All times are GMT -4. The time now is 10:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy