3.1.1 Backup and restore functionality
To back up and restore unit definition information, you can use the following methods:
-
Execute the ajsprint and ajsdefine commands.
The unit definition information stored in a file is used for backup and restoration.
-
Execute the ajsbackup and ajsrestore commands.
The unit definition information stored in backup files in a backup box is used for backup and restoration. This operation is also possible from JP1/AJS3 - View.
The following table lists the functionality for backing up and restoring unit information and the commands you use.
Functionality |
Command |
|
---|---|---|
Outputting definitions of units |
ajsprint#1 |
|
Defining units |
ajsdefine#1 |
|
Backing up units |
ajsbackup#2 |
|
Restoring units |
ajsrestore#2 |
|
Deleting backup box |
ajsbkudel |
|
Changing and displaying attributes of the backup box |
Owner |
chown#3 |
Group |
chgrp#3 |
|
Permission mode |
chmod#3 |
|
Renaming |
mv#3 |
|
Listing backup file names |
ls#3 |
|
Listing units in the backup box |
ajsrestore |
- #1
-
This method uses a file to back up and restore units. Use this method when you want to distribute units to other hosts or when you do not need to back up information for each application.
- #2
-
This method uses a JP1/AJS3 backup file to back up and restore units.
You can also execute this operation from a menu in the JP1/AJS3 - View window. For details, see 3.3 Backing up and restoring jobnets by using the ajsbackup and ajsrestore commands or JP1/AJS3 - View. Use this method when you do not want to distribute units to other hosts or when you need to back up information for each application.
- #3
-
This is a UNIX command.