AIX backup and restore


 
Thread Tools Search this Thread
Operating Systems AIX AIX backup and restore
# 1  
Old 04-09-2004
Bug AIX backup and restore

Hello,

Some background so you can see what I'm trying to do on AIX:

In Windows its possible to partition a single hard drive into 2 separate logical paritions which may appear as a C and a D drive. It is then possible to to use 3rd party software such as Power Quest Drive Image to create a backup image of the C drive and store it on the D drive. You can then later restore that image stored on the D drive back onto the C drive.

Question:

Does AIX have the equivalent?

Current backup and restore methods for the rootvg that I'm aware of are tapes and a NIM Server.

I know it is possible to backup the rootvg volume group to another volume group using savevg or mksysb, but it is possible to restore the rootvg backup in the same way that I restore using a tape or a NIM Server?

I would like to be able backup images of the rootvg to another volume group, do my software testing, and then restore the backup and be able to start with a 'clean' rootvg. This way I can avoid tapes and a NIM Server.

Thanks for you time,

-Gavin
# 2  
Old 04-09-2004
if your looking just for a copy of all the files then just tar it all up and put it on another vg.

but if you render the rootvg inoperable in your testing your going to want a mksysb tape to boot from and restore to the contents on tape.

you could always use the backup command and direct the contents to the remote drive. but again have a mksysb avaliable incase you destroy the rootvg.

Code:
man backup

-f Device Specifies the output device. To send output to a named device, specify
the Device variable as a path name (such as /dev/rmt0). To send output to the
standard output device, specify a - (minus sign). The - (minus) feature enables
you to pipe the output of the backup command to the dd command.

You can also specify a range of archive devices. The range specification must be
in the following format:
/dev/deviceXXX-YYY

where XXX and YYY are whole numbers, and XXX must always be less than YYY; for
example, /dev/rfd0-3.

All devices in the specified range must be of the same type. For example, you
can use a set of 8mm, 2.3GB tapes or a set of 1.44MB diskettes. All tape devices
must be set to the same physical tape block size.

If the Device variable specifies a range, the backup command automatically goes
from one device in the range to the next. After exhausting all of the specified
devices, the backup command halts and requests that new volumes be mounted on
the range of devices.

/usr/sbin/backup -f <DEVICE> -0 -u <FS>
# 3  
Old 09-06-2006
Backup tape block size?

hi...i'm new with AIX...can somebody help me..what is the block size for mksysb backup tape to make it bootable?..is it 512 or 1024?thanks.. Smilie
# 4  
Old 09-07-2006
palie,
Get your own thread.

quickfirststep,
You'll need a second disk but I think this might be as close as you'll find:

http://publib.boulder.ibm.com/infoce...sk_install.htm

And the bonus is there is NO restore time, you just change the boot list and reboot Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 7.2 MKSYSB Backup and Restore Best Practices?

Hello, Running AIX 7.2 on Power9 bare-metal (no LPAR and no NIM server), in the process of creating a guide on MKSYSB process. I understand that MKSYSB is a backup of the rootvg and we can exclude stuff via exclude.rootvg file, the rest of the data volumes are mapped to the system as LUNs via... (7 Replies)
Discussion started by: c3rb3rus
7 Replies

2. AIX

[Tip] Backup and restore on AIX

Pretty penny's. Just remember that mksysb and savevg are just front-ends for backup. In other words, backups on AIX are organized by volume groups. mksysb is specialized for rootvg and savevg is used for other volume groups. Ignoring that rootvg also creates files needed to boot a system... (1 Reply)
Discussion started by: MichaelFelt
1 Replies

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

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

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

6. AIX

AIX 5.2 Maksysb Image backup/restore

Hello, I am new to AIX, as I was primarily working on HP-UX servers. We have some production servers and a couple of lab servers. We have upgraded over 40 servers from 5.2 to 5.3 running a particular application(1) using the golden 5.3 upgraded servers copy of makesysb. We have only two... (3 Replies)
Discussion started by: dayinthelife
3 Replies

7. AIX

AIX backup --> Linux Restore

Hi all, I have a large number of backup tapes which were originally written with the AIX "backup" command. I now need to convert these to "tar" format, but unfortunately I no longer have access to an AIX machine. I have been able to connect the old tape drive (3590) to a Linux box and it works... (2 Replies)
Discussion started by: jauru
2 Replies

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

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

10. 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
Login or Register to Ask a Question