Sponsored Content
Full Discussion: Backup and restore
Operating Systems AIX Backup and restore Post 302076220 by uXion on Saturday 10th of June 2006 01:22:26 AM
Old 06-10-2006
Data 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? Smit lists the files just fine though. I have been able to boot and install BOS from these tapes. How do I get a listing of files stored on these tapes and extract specific files to a differnt location?

I have tried using the restore and listvgbackup commands to list the files froms the savevg backups. But everything I try results in a i/o error or a media error. Even smit fails! How can I read these tapes and extract a sample of files so I know the backups are actually doing what they are intended to do?

Can someone please guide me as I am running out of ideas?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cannot restore a TAR backup

I backed up a unix database using "tar -cvf /dev/rmt1 -N 800 /*" Normally I would restore this using "tar -xvf /dev/rmt1 -N 800" This is reporting an error about "not enough memory" I have done a new test backup and restore using the same commands and they work. ANY IDEAS ? (2 Replies)
Discussion started by: Ross.Goodman
2 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. 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

4. AIX

How to restore from mksysb backup

system is not booting ... i want to restore from mksysb backup. (2 Replies)
Discussion started by: AIXlearner
2 Replies

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

6. Shell Programming and Scripting

Backup and restore in unix

Hello everybody, i am trying to make a script in UNIX to backup some compressed files to a tape drive. The thing is that i cannot use cpio command because some of these files are greater than 2GB. so i think the only solution left is backup command. to restore the files i should use the... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

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

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

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

Backup and restore query

I have some old directories and files that I which to archive off. I have created archive using -p option with /usr/sbin/backup to a file. If I then do a du -g on the original directory and the archive differ as I'd expect due to using the p flag to compress the files < 2gb as part of the backup. ... (1 Reply)
Discussion started by: gefa
1 Replies
FLEXBACKUP(1)						      General Commands Manual						     FLEXBACKUP(1)

NAME
flexbackup - a flexible backup/archiving tool SYNOPSIS
flexbackup [OPTION] DESCRIPTION
Flexbackup is a perl script front-end to various low-level archiving utilities such as tar, dump/restore, cpio, and others. BACKUP OPTIONS
flexbackup -dir <dir> Backup a directory tree starting from path "path" using level 0 (full). flexbackup -set all Backup all sets defined in flexbackup.conf(5) using level 0 (full). flexbackup -set <tag> Backup a set named "tag" using level 0 (full). The set name is defined in flexbackup.conf(5). flexbackup [...] -level <0-9 | full | differential | incremental> Change backup level to a number "0-9", or one of the symbolic names: "full" (level 0); "differential" (level 1); "incremental" (pre- vious backup level + 1). flexbackup [...] -pkgdelta <rpm | freebsd> Prune backup to files not part of a package or changed from distributed version. flexbackup [...] -wday <0-7> Backup only if the week day matches the input number. Sunday is 0 or 7. flexbackup [...] -pipe Write backup data to stdout rather than file/device. flexbackup [...] -ignore-errors Continue backups even if commands return error status RESTORE OPTIONS
flexbackup -list List files in archive. flexbackup -extract Extract (restore) all files from archive into your current working directory. flexbackup -extract -flist <filelist> Extract (restore) the files listed in text file "filelist" into your current working directory. flexbackup -extract -onefile <filename> Extract (restore) the single file named "filename" into your current working directory. flexbackup -compare Compare the archive with the files in your current working directory. flexbackup -restore Interactive restore (dump type only for now). flexbackup [...] -num <n> Read file number "n" from tape. If not given uses current tape position. flexbackup [...] <archive> If archiving to files rather than a device, use file named "archive" for the list/extract/compare/restore operations. flexbackup [...] -pipe Read backup data from stdin rather than file/device. INDEXING OPTIONS
flexbackup -toc List current device's table of contents. flexbackup -toc all List all known table of contents. flexbackup -toc <key> List table of contents for specific database index key named "key". flexbackup -rmindex all Force delete all database index info. flexbackup -rmindex <key> Force delete specified database tape/dir index key named "key". flexbackup -rmindex <key:file> Force delete specified database tape/dir index key named "key", file number "file". MISCELLANEOUS OPTIONS
flexbackup -newtape Erase and create new index key (but don't do any backups). flexbackup -rmfile all If archiving to files rather than device, remove all files and index information. flexbackup -rmfile <file> If archiving to files rather than device, remove the file named "file" and its index information. flexbackup [...] -c <file.conf> Use file named "file.conf" for configuration information instead of /etc/flexbackup.conf(5). flexbackup [...] -type <type> Override $type setting from config file with "type". flexbackup [...] -compress <type> Override $compress setting from config file with "type". flexbackup [...] -device <device> Override $device setting from config file with "device". flexbackup [...] -d <'setting=value'> Override $setting setting from config file with "value". flexbackup -dir <dir> -erase Force a rewind/erase before backup of directory named "dir". flexbackup -dir <dir> -norewind Do not rewind tape after a single backup of directory named "dir". flexbackup -set <tag> -noreten Do not retension tape for level 0 (full) backups of set named "tag". flexbackup -set <tag> -noerase Do not rewind/erase tape for level 0 (full) backups of set named "tag". flexbackup [...] -reten Force a retension of tape before reading. flexbackup [...] -defaults Do not use any default values for config variables. flexbackup -version Display version and exit. TESTING
/DEBUGGING OPTIONS flexbackup -test-tape-drive Tries writing/reading files to make sure you have tape driver and parameters set up correctly in flexbackup.conf(5). flexbackup [...] -n Don't run actual dump or mt commands, just print the steps that would be taken (dry run). flexbackup [...] -type filelist Run a special backup type that just saves a list of files that would have been archived. FILES
/etc/flexbackup.conf - configuration settings REPORTING BUGS
Report bugs to (flexbackup-help@lists.sourceforge.net) AUTHOR
Written by Edwin Huffstutler (edwinh@computer.org) SEE ALSO
flexbackup.conf(5) afio(1) mt(1) tar(1) star(1) cpio(1) dump(1) restore(1) buffer(1) mbuffer(1) Flexbackup Oct 2003 FLEXBACKUP(1)
All times are GMT -4. The time now is 12:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy