Sponsored Content
Full Discussion: Backup and restore
Operating Systems AIX Backup and restore Post 302562772 by rbatte1 on Saturday 8th of October 2011 07:44:09 AM
Old 10-08-2011
Assuming that this is AIX, you define the PP size when creating/restoring the volume groups. There are a few issues to consider though:-
  1. Have you got a mirrored rootvg?
    . If so, then you have a problem. It will require two disks to restore to and create the mirrors. You cannot stop this without serious hacking before the backup is taken.
    . If you are not mirrored on the live server then you could lose the server with a single disk failure. Smilie Generally on a system with 10 local disks, you can expect a failure on one of them every 3 years. Fewer disks I suppose means there are less to go wrog, so perhaps a lesser risk (arguable) but then you have much more chance of it being catastrophic. Do you feel lucky? Smilie
  2. Is your rootvg definition up to date?
    . Make sure you run mkszfile before the mksysb to ensure that the defintion is recreated. If you don't and fileystems have been grown, then it is possible that the data will not fit in based on the old definition.
  3. How are you restoring your datavg?.
    You can either use savevg to grab the lot, or you can use savevg to save just the structure, allowing you to use a bespoke backup or 3rd party software to backup the data. The same issues over mirrors a sufficient disks to recover to exist. There are options to work on removing mirrors as I have this issue too in that live server is local mirrored disk, DR is SAN provided disks, so RAID behind the scenes means I do not need AIX mirrors.

Can you describe a bit more what you have and/or need. Smilie




Robin
Liverpool/Blackburn
 

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

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

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

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
BACKUP_DBVERIFY(8)					       AFS Command Reference						BACKUP_DBVERIFY(8)

NAME
       backup_dbverify - Checks the integrity of the Backup Database

SYNOPSIS
       backup dbverify [-detail] [-localauth]
	   [-cell <cell name>]
	   [-help]

       backup db [-d] [-l] [-c <cell name>] [-h]

DESCRIPTION
       The backup dbverify command checks the integrity of the Backup Database. The command's output indicates whether the Backup Database is
       damaged (data is corrupted) or not. If the Backup Database is undamaged, it is safe to continue using it. If it is corrupted, discontinue
       any backup operations until it is repaired.

CAUTIONS
       While this command runs, no other backup operation can access the Backup Database; the other commands do not run until this command
       completes. Avoid issuing this command when other backup operations are likely to run. The backup savedb command repairs some types of
       corruption.

OPTIONS
       -detail
	   Reports the number of orphaned blocks found, any inconsistencies, and the name of the server machine running the Backup Server that is
	   checking its copy of the database.

       -localauth
	   Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
	   the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
	   details, see backup(8).

       -cell <cell name>
	   Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).

       -help
	   Prints the online help for this command. All other valid options are ignored.

OUTPUT
       The command displays one of the following two messages:

       Database OK
	   The database is undamaged and can be used.

       Database not OK
	   The database is damaged. You can use the backup savedb command to repair many kinds of corruption as it creates a backup copy.  For
	   more detailed instructions, see the OpenAFS Administration Guide chapter about performing backup operations.

       The -detail flag provides additional information:

       o   The number of orphan blocks found. These are ranges of memory that the Backup Server preallocated in the database but cannot use.
	   Orphan blocks do not interfere with database access, but do waste disk space. To free the unusable space, dump the database to tape by
	   using the backup savedb command, and then restore it by using the backup restoredb command.

       o   Any inconsistencies in the database, such as invalid hostnames for Tape Coordinator machines.

       o   The name of the database server machine on which the Backup Database was checked, designated as the "Database checker". For a detailed
	   trace of the verification operation, see the /var/log/openafs/BackupLog file on the indicated machine. You can use the bos getlog
	   command to display it.

EXAMPLES
       The following command confirms that the Backup Database is undamaged:

	  % backup dbverify
	  Database OK

       The following command confirms that the Backup Database is undamaged and that it has no orphan blocks or invalid Tape Coordinator entries.
       The Backup Server running on the machine "db1.abc.com" checked its copy of the Database.

	  % backup dbverify -detail
	  Database OK
	  Orphan blocks 0
	  Database checker was db1.abc.com

PRIVILEGE REQUIRED
       The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
       onto a server machine as the local superuser "root" if the -localauth flag is included.

SEE ALSO
       BackupLog(5), backup(8), backup_restoredb(8), backup_savedb(8), bos_getlog(8)

COPYRIGHT
       IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

       This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas
       Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

OpenAFS 							    2012-03-26							BACKUP_DBVERIFY(8)
All times are GMT -4. The time now is 01:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy