Sponsored Content
Full Discussion: Backup and restore
Operating Systems AIX Backup and restore Post 302564026 by juredd1 on Wednesday 12th of October 2011 03:31:08 PM
Old 10-12-2011
If your rootvg at your production site is set to "PP SIZE = 256MB" then when the mksysb restore runs it will automatically create the rootvg at the DR server with a PP SIZE of 256mb as long as the disk is not two large to allow that. Why not just leave the disks mirrored on your prod server and use both disks on your DR server and after the mksysb restore just unmirror rootvg and reduce hdisk1 to free up the extra disk?

If the restore from tape for datavg is not working make sure the block size on the tape drive on the DR server is the same as the block size on the tape drive you created the tapes on. This bit me last month during my DR exercise.
 

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
restore(1M)															       restore(1M)

NAME
restore, rrestore - restore file system incrementally, local or across network SYNOPSIS
key [name ...] key [name ...] DESCRIPTION
The and commands read tapes previously dumped by the or command (see dump(1M) and rdump(1M)). Actions taken are controlled by the key argument where key is a string of characters containing not more than one function letter and pos- sibly one or more function modifiers. One or more name arguments, if present, are file or directory names specifying the files that are to be restored. Unless the modifier is specified (see below), the appearance of a directory name refers to the files and (recursively) subdi- rectories of that directory. Function Portion of key The function portion of the key is specified by one of the following letters: Read the tape and load into the current directory. should be used only after careful consideration, and only to restore a complete dump tape onto a clear file system, or to restore an incremental dump tape after a full level zero restore. Thus, is a typical sequence to restore a complete dump. Another or can then be performed to restore an incremental dump on top of this. Note that and leave a file in the root directory of the file system to pass information between incremental restore passes. This file should be removed when the last incremental tape has been restored. A or followed by a and a or is used to change the size of a file system (see newfs(1M)). and request a particular tape of a multivolume set on which to restart a full restore (see above). This provides a means for interrupting and restarting and Extract the named files from the tape. If the named file matches a directory whose contents had been written onto the tape, and the modifier is not specified, the directory is recursively extracted. The owner, modification time, and mode are restored (if possible). If no file argument is given, the root directory is extracted, which results in the entire contents of the tape being extracted, unless has been specified. Names of the specified files are listed if they occur on the tape. If no file argument is given, the root directory is listed, which results in the entire content of the tape being listed, unless has been specified. The next argument to is used as the dump file number to recover. This is useful if there is more than one dump file on a tape. This mode allows interactive restoration of files from a dump tape. After reading in the directory information from the tape, and provide a shell-like interface that allows the user to move around the directory tree selecting files to be extracted. The available commands are given below; for those commands that require an argument, the default is the current directory. The current directory or specified argument is added to the list of files to be extracted. If a directory is specified, it and all its descendents are added to the extraction list (unless the key is specified on the command line). File names on the extraction list are displayed with a leading when listed by Change the current working directory to the specified argument. The current directory or specified argument is deleted from the list of files to be extracted. If a directory is specified, it and all its descendents are deleted from the extraction list (unless is specified on the command line). The most expedient way to extract files from a directory is to add the directory to the extraction list, then delete unnecessary files. All files named on the extraction list are extracted from the dump tape. and ask which volume the user wants to mount. The fastest way to extract a few files is to start with the last volume, then work toward the first volume. List a summary of the available commands. List the current or specified directory. Entries that are directories are displayed with a trailing Entries marked for extraction are displayed with a leading If the verbose key is set, the inode number of each entry is also listed. Print the full path name of the current working directory. and immediately exit, even if the extraction list is not empty. Set the owner, modes, and times of all directories that are added to the extraction list. Nothing is extracted from the tape. This setting is useful for clean- ing up after a restore aborts prematurely. The sense of the modifier is toggled. When set, the verbose key causes the command to list the inode numbers of all entries. It also causes and to print out information about each file as it is extracted. Function Modifiers The following function modifier characters can be used in addition to the letter that selects the function desired: Specify the block size of the tape in kilobytes. If the option is not specified, and try to determine the tape block size dynamically. Specify the name of the archive instead of If the name of the file is reads from standard input. Thus, and can be used in a pipeline to dump and restore a file system with the command When using this key should be specified, and the next argument supplied should be of the form Extract the actual directory, rather than the files to which it refers. This prevents hierarchical restoration of complete subtrees from the tape, rather than the files to which it refers. Extract by inode numbers rather than by file name. This is useful if only a few files are being extracted and one wants to avoid regenerating the complete path name to the file. Type the name of each file and treat, preceded by its file type. Normally and do their work silently; the modifier specifies verbose output. Do not ask whether to abort the operation if and encounters a tape error. and attempt to skip over the bad tape block(s) and continue. creates a server, either or on the remote machine to access the tape device. DIAGNOSTICS
and complain about bad key characters. and complain if a read error is encountered. If the modifier has been specified, or the user responds and attempt to continue the restore. If the dump extends over more than one tape, and ask the user to change tapes. If the or function has been specified, and also ask which volume the user wants to mount. The fastest way to extract a few files is to start with the last volume and work towards the first volume. There are numerous consistency checks that can be listed by and Most checks are self-explanatory or can ``never happen''. Here are some common errors: The specified file name was listed in the tape directory but not found on the tape. This is caused by tape read errors while looking for the file, and from using a dump tape created on an active file system. A file not listed in the directory showed up. This can occur when using a dump tape created on an active file system. When doing an incremental restore, a tape that was written before the previous incremental tape, or that has too low an incremental level has been loaded. When doing an incremental restore, a tape that does not begin its coverage where the previous incremental tape left off, or that has too high an incremental level has been loaded. A tape read error has occurred. If a file name is specified, the contents of the restored files are probably partially wrong. If restore is skipping an inode or is trying to resynchronize the tape, no extracted files are corrupted, although files may not be found on the tape. After a tape read error, and may have to resynchronize themselves. This message indicates the number of blocks skipped over. WARNINGS
and can get confused when doing incremental restores from dump tapes that were made on active file systems. A level zero dump (see dump(1M)) must be done after a full restore. Since restore runs in user code, it has no control over inode alloca- tion; thus a full dump must be done to get a new set of directories reflecting the new inode numbering, even though the contents of the files are unchanged. AUTHOR
and were developed by the University of California, Berkeley. FILES
Default tape drive. File containing directories on the tape. Owner, mode, and time stamps for directories. Information passed between incremental restores. SEE ALSO
dump(1M), mkfs(1M), mount(1M), newfs(1M), rmt(1M), mt(7). restore(1M)
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy