ajsbkudel
- Organization of this page
Format
ajsbkudel [-F service-name] [-b backup-information-directory-name] [-i] -n backup-box-name [backup-file-name...]
Description
Deletes a backup box or backup file.
Execution privileges
OS execution privileges for the backup files and directories to be deleted
Arguments
-F service-name
Specify the name of the target scheduler service.
You can specify a character string of 1 to 30 bytes.
If you omit this option, the system assumes the default scheduler service name.
-b backup-information-directory-name
Specify the full path of the directory if you use a directory other than the backup information directory# specified at the time of configuration.
You can specify a character string of 1 to 255 bytes.
By default, the system assumes the backup information directory# specified at the time of configuration.
- #
-
It refers to the directory name specified by the AJSBKUROOT environment setting parameter.
-i
Displays a message with a confirmation prompt before deleting a backup box or file.
-n backup-box-name
Specify the name of the backup box to be deleted.
You can specify a character string of 1 to 50 bytes.
The name of the backup box depends on the file system of your operating system. It is case-sensitive if you are using UNIX and case-insensitive if you are using Windows.
backup-file-name
Specify the name of the backup file to be deleted, following the name of the backup box containing it.
Specify a value ranging from 0001 to 1024. You can specify one or more backup files. To specify more than one file, separate them by at least one space character.
Notes
-
To delete a backup box or backup file, you must have the update privilege for both the backup box and backup file.
-
If you delete a backup box, the directory having the backup box name within the backup information directory is not deleted. After the ajsbkudel command deletes the backup box, use the rmdir command as required to delete the directory having the backup box name.
Return values
0 |
Normal end |
Multiple of 4 within the range from 4 to 124 |
Abnormal end |
Example
The following command deletes backup file 0001 from backup box BOX1:
ajsbkudel -n BOX1 0001