AIX Backup and Restore: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
= AIX =
== AIX ==
== rootvg ==
=== rootvg ===
=== Backup ===
==== Backup ====
# '''<tt># mksysb -iv <path to mksysb image></tt>'''
# '''<tt># mksysb -iv <path to mksysb image></tt>'''
=== Restore ===
==== Restore ====
# These steps differ from what power platform firmware the system is on.
# These steps differ from what power platform firmware the system is on.
# Bring system down, and boot up and select SMS mode on startup usually by pressing 1 or F1.
# Bring system down, and boot up and select SMS mode on startup usually by pressing 1 or F1.
Line 9: Line 9:
# If not, manually select the boot device and continue with the restore.
# If not, manually select the boot device and continue with the restore.


== non-rootvg ==
=== non-rootvg ===
=== Backup ===
==== Backup ====
# '''<tt># savevg -if <device> <volume group></tt>'''
# '''<tt># savevg -if <device> <volume group></tt>'''
=== Restore ===
==== Restore ====
# Restore entire savevg image:
# Restore entire savevg image:
## '''<tt># restvg -f<path to savevg image> <hdisk ...></tt>'''
## '''<tt># restvg -f<path to savevg image> <hdisk ...></tt>'''

Revision as of 14:36, 29 December 2011

AIX

rootvg

Backup

  1. # mksysb -iv <path to mksysb image>

Restore

  1. These steps differ from what power platform firmware the system is on.
  2. Bring system down, and boot up and select SMS mode on startup usually by pressing 1 or F1.
  3. If this server is managed by NIM, configure a remote IPL device.
  4. If not, manually select the boot device and continue with the restore.

non-rootvg

Backup

  1. # savevg -if <device> <volume group>

Restore

  1. Restore entire savevg image:
    1. # restvg -f<path to savevg image> <hdisk ...>
  2. Restore files from a savevg:
    1. # restorevgfiles -f <absolute path to savevg image> -s -d <restore directory> <.absolute path of file to be restored>
    2. Important Note: The . in absolute path to be restored is necessary.