Backing up and restoring files and files systems can be
useful for tasks, such as saving IBM® i to physical tape or saving
a file-backed device.
The following commands are used to back
up and restore files and files systems.
Table 1. Backup and
restore commands and their descriptions| Command |
Description |
| backup |
Backs up files and file systems to media, such
as physical tape and disk. For example:- You can back up all the files and subdirectories in a directory
using full path names or relative path names.
- You can back up the root file system.
- You can back up all the files in the root file system that have
been modified since the last backup.
- You can back up virtual optical media files from the virtual media
repository.
|
| restore |
Reads archives created by the backup command
and extracts the files stored there. For example:- You can restore a specific file into the current directory.
- You can restore a specific file from tape into the virtual media
repository.
- You can restore a specific directory and the contents of that
directory from a file name archive or a file system archive.
- You can restore an entire file system.
- You can restore only the permissions or only the ACL attributes
of the files from the archive.
|