[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
System Management Guide: Operating System and Devices
Two procedures can be used to back up files and file systems: the
SMIT fast paths smit backfile or smit backfilesys, and
the backup command.
For additional information about backing up user files or file systems, see
Backing Up User Files or File Systems in the AIX 5L Version 5.1 System Management
Concepts: Operating System and Devices.
- If you are backing up inode file systems that may be in use,
unmount them first to prevent inconsistencies.
Attention: If you attempt to back up a mounted file
system, a warning message is displayed. The backup command
continues, but inconsistencies in the file system may occur. This
warning does not apply to the root (/) file system.
- To prevent errors, make sure the backup device has been cleaned
recently.
Backing Up User Files or File Systems Tasks
|
Task
| SMIT Fast Path
| Command or File
|
Back Up User Files
| smit backfile
|
- Log in to your user account.
- Backup:
find . -print | backup -ivf /dev/rmt0
|
Back Up User File Systems
| smit backfilesys
|
- Unmount files systems that you plan
to back up. For example:
umount all or
umount /home /filesys1
- Verify the file systems. For example:
fsck /home /filesys1
- Back up by i-node. For example:
backup -5 -uf/dev/rmt0 /home/libr
- Restore the files using the following command:1
restore -t
|
Note:
- If this command generates an error message, you must repeat the entire
backup.
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]