COPY SCRIPT (Copy an IBM Spectrum Protect script)
Use this command to copy an existing IBM Spectrum Protect script to a new script with a different name.
Privilege class
To issue this command, you must have operator, policy, storage, or system privilege.
Syntax
Parameters
- current_script_name (Required)
- Specifies the name of the script you want to copy.
- new_script_name (Required)
- Specifies the name of the new script. You can specify up to 30 characters for the name.
Example: Make a copy of a script
Copy script TESTDEV to a new script and name it ENGDEV.copy script testdev engdev
Related commands
Command | Description |
---|---|
DEFINE SCRIPT | Defines a script to the IBM Spectrum Protect server. |
DELETE SCRIPT | Deletes the script or individual lines from the script. |
QUERY SCRIPT | Displays information about scripts. |
RENAME SCRIPT | Renames a script to a new name. |
RUN | Runs a script. |
UPDATE SCRIPT | Changes or adds lines to a script. |