Backup - Restore
MKSYSB (for rootvg, OS):
(only for rootvg and only for mounted filesystems)
mksysb -i /testfs/mksysb.0725 creates an installable image of the rootvg (from NIM it can be restored)
The restorevgfiles and listvgbackup -r commands perform identical operations and should be considered interchangeable
listvgbackup -f /mnt/aix11.mksysb -r /etc/resolv.conf restores the file /etc/resolv.conf from the specified backup
------------------------------------------------
BACKUP - RESTORE (for filesystems):
find /bckfs -print | backup -i -f /dev/rmt0 backup all the files and subdirs
find: genereates a list of all the files
-i: files will be read from standard input
restore extracts files from archives created with the backup command.
JFS2 snapshot:
creates a point in time image, it is very quick and very small
------------------------------------------------
SAVEVG - RESTVG (for volume groups):
savevg -f /bckfs/backup.0725 bckvg backs up all files belonging to bckvg to the specified file
restvg -f /bckfs/backup.0725 restores the vg and all the files what have been saved with savevg
(it creates the vg, lv, fs...)
------------------------------------------------
TAPE:
tctl gives subcommand to tape (move forward/backward)
tcopy copies magnetic tapes
No comments:
Post a Comment