This section describes the environment definition commands for backup management.
NAME
swstsvrset - sets configuration information of a Storage Server
SYNOPSIS
program-directory\bin\swstsvrset
program-directory\bin\swstsvrset [-h Server-Name]
DESCRIPTION
This command sets configuration information of a Storage Server. Execution of this command declares that the Storage Server on which the command is executed is a server that performs backup operations.
OPTIONS
Specifies the name of a Storage Server to be subject to the backup operation. This option is valid only on a Storage Management Server.
If this option is omitted, the Storage Server on which the command is entered will be subject to the processing.
EXIT STATUS
=0:Completed successfully
>0:Terminated abnormally
EXAMPLES
Set the configuration information of a Storage Server.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsvrset swstsvrset completed C:\>
Set the configuration information of a Storage Server named job1 from a Storage Management Server.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsvrset -h job1 swstsvrset completed C:\>
NOTES
This command can only be executed if none of the following commands are running:
NAME
swstsvrdisp - displays configuration information of a Storage Server
SYNOPSIS
program-directory\bin\swstsvrdisp
program-directory\bin\swstsvrdisp [-h Server-Name]
DESCRIPTION
This command displays configuration information of a Storage Server that has been set using swstsvrset (Storage Server configuration information setting command).
The following information will be displayed:
Title | Description |
---|---|
Storage-Server | Displays a Storage Server name. |
OPTIONS
Specifies a Storage Server name.
This option is valid only on a Storage Management Server.
EXIT STATUS
=0:Completed successfully
>0:Terminated abnormally
EXAMPLES
Display configuration information of a Storage Server named Work1.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsvrdisp Storage-Server = Work1 C:\>
NAME
swstdevinfoset - sets the device information
SYNOPSIS
program-directory\bin\swstdevinfoset -t | -b | -o Device-Name
program-directory\bin\swstdevinfoset [-h Server-Name] -t | -b | -o Device-Name
DESCRIPTION
Set a volume that has been allocated to the ETERNUS disk storage systems, as a transaction or backup volume.
A transaction volume refers to a volume that stores transaction data to be backed up. A backup volume refers to a volume used to store a backup of this transaction data.
The following devices can be registered on Windows as transaction and backup volumes. Logical Units (disks) cannot be registered.
SCSI driver resource (OS standard)
MPHD driver resource (Multipath disk control for WindowsNT)
MPLB driver resource
Only regular drives can be registered. No mirror set, stripe set, parity-protected stripe set, or volume set that can be recognized as FT (Fault Tolerant) drives can be registered. Additionally, the following file systems can be used (note that HPFS is not supported):
NTFS, FAT, and FAT32
You may want to change information (partition size, drive letter, and ETERNUS disk storage systems cabinet information) on a device registered as a working or backup volume using an OS management tool such as Disk Management or a function such as ETERNUS Web GUI provided by the ETERNUS disk storage systems. However, if you do, you need to then deselect the target device from the work or backup volume and register it again.
If you add or delete a device (including disk array units and other general devices) on a Storage Server on Windows, use the "getting and reflecting information of all devices" option on the GUI client to update the relationship table between AdvancedCopy Manager device names and OS information.
If you want to perform the backup operation on a regular transaction volume, refer to 4.2.2 Selecting a backup source for information on a transaction volume, and 4.2.4 Preparing a backup volume for information on a backup volume.
OPTIONS
Specifies a Storage Server name.
This option is valid only on a Storage Management Server.
Register the specified device as a transaction volume.
Cannot be specified at the same time as the -b and -o options.
Register the specified device as a backup volume.
Cannot be specified at the same time as the -t and -o options.
Deregister the specified device if it has been registered as a transaction or backup volume.
Cannot be specified at the same time as the -t and -b options.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0:Completed successfully
>0:Terminated abnormally
EXAMPLES
Register a device as a transaction volume.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstdevinfoset -t g1d1p2 swstdevinfoset completed C:\>
Register a device as a backup volume.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstdevinfoset -b g1d2p1 swstdevinfoset completed C:\>
Deregister a device that has been registered as a transaction volume.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstdevinfoset -o g1d1p2 swstdevinfoset completed C:\>
NOTES
A device cannot be registered as a transaction volume if:
Another device with the same cabinet information (box identifier, OLU number, EXTENT starting position, and EXTENT size) has already been registered as a transaction volume.
The space of the device to be registered overlaps the space of an already registered working or backup volume.
The device is a FT drive.
The device is a dynamic volume.
The device is a Logical Unit (disk).
The device exists in ETERNUS DX60, ETERNUS DX80 or ETERNUS DX90, and the license of its ETERNUS disk storage system is not registered in the License Manager.
A device cannot be registered as a backup volume if:
Another device with the same cabinet information (box identifier, OLU number, EXTENT starting position, and EXTENT size) has already been registered as a backup volume.
The space of the device to be registered overlaps the space of an already registered work or backup volume.
The device to be set up is registered as a replication destination volume in replication management.
The device to be set up is registered as a replication source volume of the duplicate volume information in which bidirectional copy is possible in replication management.
A drive letter has already been allocated to the device to be registered.
The device is a FT drive.
The device is a dynamic volume.
The device is a Logical Unit (disk).
The device is an SDX object.
You must delete related backup history information before:
Changing a backup volume to a transaction volume
Canceling the setting of a backup volume
You must delete a backup policy specified on a transaction volume before:
Changing a transaction volume to a backup volume
Canceling the setting of a transaction volume
The following changes are not possible unless the related synchronous processing (in an EC session) is cancelled:
Changing a setting in a suspended transaction volume
Changing a setting in a suspended backup volume
The related tracking processing (in an OPC session) must be canceled in advance to perform the following changes:
Changing the settings of a transaction volume in tracking processing
Changing the settings of a backup volume in tracking processing
This command can be executed only while none of the following commands are running:
NAME
swstdevdisp - displays the device information
SYNOPSIS
program-directory\bin\swstdevdisp [-t] [-b [-u]] [-o] [Device-Name]
program-directory\bin\swstdevdisp [-h Server-Name] [-t] [-b [-u]] [-o] [Device-Name]
DESCRIPTION
This command displays information about a transaction or backup volume or any other definable device, which has been set using swstdevinfoset (Device information setting command).
The following information will be displayed:
Title | Description |
---|---|
Server | Displays a Storage Server name. |
Device | Displays an 1.5 Managing a Device on AdvancedCopy Manager. |
Size | Displays the size of a partition allocated to a device. |
Device-Mode | Displays a character string by which a device can be identified: "Transaction": Represents a transaction volume. A backup volume is indicated as "Backup (used)" if it is being used or "Backup (free)" if it is not used. During the backup process with -suspend or -T specified, the backup volume remains in use after history information is deleted. When the -u option is specified, "Backup (used-S)" is displayed for a backup volume in the suspend status for which history information was deleted, or "Backup (used-T)" is displayed for a backup volume in the tracking status for which history information was deleted. |
Mount-Point (Method) | Displays the drive letter of a device. The file system type of the device is displayed inside the parentheses. |
Backup-Engine | Displays the operation type: "AdvancedCopy": Backup operation using AdvancedCopy Manager |
OPTIONS
Specifies a Storage Server name.
This option can be specified only on a Storage Management Server.
Displays information on a device that has been set as a transaction volume.
Displays device information on all the transaction volumes if the device name in an operand is omitted.
Displays a device that has been set as a backup volume.
Displays device information on all the backup volumes if the device name in an operand is omitted.
Changes the display format of the Device-Mode field.
Displays all the devices other than those set as a transaction or backup volume.
Displays all the devices other than those set as a transaction or backup volume if the device name in an operand is omitted.
Information on a device that has been set as a transaction volume will be displayed if all of the -t, -b, and -o options are omitted.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
Displays device information on all the transaction volumes if this operand and the associated options are omitted.
EXIT STATUS
=0:Completed successfully
>0:Terminated abnormally
EXAMPLES
Display the usage statuses of the registered devices.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstdevdisp -tb Server Device Size Device-Mode Mount-Point (Method) Backup-Engine Work2 g1d1p2 1.0 Gbyte Transaction D: (NTFS) AdvancedCopy Work2 g1d2p1 1.0 Gbyte Transaction E: (FAT) AdvancedCopy Work2 g1d2p1 1.0 Gbyte Backup (used) ---- (----) AdvancedCopy Work2 g1d2p2 1.0 Gbyte Backup (free) ---- (----) AdvancedCopy Work2 g1d2p3 2.0 Gbyte Backup (used) ---- (----) AdvancedCopy Work2 g1d2p4 2.0 Gbyte Backup (free) ---- (----) AdvancedCopy : C:\>
NAME
swstbkpolset - sets a backup policy
SYNOPSIS
program-directory\bin\swstbkpolset [-i Interval-Days] [-s Save-Number] [Device-Name]
program-directory\bin\swstbkpolset [-h Server-Name] [-i Interval-Days] [-s Save-Number] [Device-Name]
DESCRIPTION
This command sets a backup policy (the number of preservation generations and the number of interval days).
The number of preservation generations is the number of generations of backup data that should be kept at one time. The number of interval days means the number of days from the execution of one backup until the next backup should be performed.
OPTIONS
Specifies a Storage Server name.
This option can be specified only on a Storage Management Server.
Specifies the number of interval days. You can specify a value between 1 and 366. If this option is omitted during initial registration, 30 will be set as the default. If this option is omitted during update, the existing value will be inherited.
Specifies the number of preservation generations. You can specify a value between 1 and 31. If this option is omitted during initial registration, 2 will be set as the default. If this option is omitted during update, the existing value will be inherited.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
If the device name is omitted, the backup policy will be set for all the transaction volumes.
EXIT STATUS
=0:Completed successfully
>0:Terminated abnormally
EXAMPLES
Set a backup policy assuming 10 days as the number of interval days and three generations as the number of preservation generations for the transaction volume (called g1d1p2).
C:\>C:\Win32app\AdvancedCopyManager\bin\swstbkpolset -i 10 -s 3 g1d1p2 g1d1p2 swstbkpolset completed C:\>
NOTES
Even if the number of interval days is specified, AdvancedCopy Manager does not automatically create a backup.
When you specify a backup policy, there must be as many backup volumes in operation according to the specified backup policy. To view information on the number of backup volumes required to perform the backup operation of a regular transaction volume, refer to 4.2.4 Preparing a backup volume.
You can change the number of preservation generations as long as the "history information count at the time" is equal to or less than the "number of preservation generations to be specified".
No backup policy can be set if:
There are not as many backup volumes as the specified number of preservation generations.
An option for more than the maximum number of preservation generations is specified.
An option for more than the maximum interval days is specified.
The replication control function or tape backup function uses the target transaction volume
The specified device is an LU (disk unit).
This command can only be executed while none of the following commands are running:
NAME
swstbkpoldisp - displays a backup policy
SYNOPSIS
program-directory\bin\swstbkpoldisp [Device-Name]
program-directory\bin\swstbkpoldisp [-h Server-Name] [Device-Name]
DESCRIPTION
This command displays a backup policy that has been set for a transaction volume.
The following information will be displayed:
Title | Description |
---|---|
Server | Displays a Storage Server name. |
Device | Displays an 1.5 Managing a Device on AdvancedCopy Manager. |
Interval-Days | Displays a number of interval days. |
Save-Number | Displays a number of preservation generations. |
Mount-Point (Method) | Displays the drive letter of a device. The file system type of the device is displayed inside the parentheses. |
OPTIONS
Specifies a Storage Server name.
This option can be specified only on a Storage Management Server.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
If the device name is omitted, a backup policy for a transaction volume with a registered backup policy will be displayed.
EXIT STATUS
=0:Completed successfully
>0:Terminated abnormally
EXAMPLES
Display a backup policy of a transaction volume.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstbkpoldisp g1d1p2 Server Device Interval-Days Save-Number Mount-Point (Method) Work2 g1d1p2 30 2 D: (NTFS) C:\>
NAME
swstbkpoldel - deletes the backup policy
SYNOPSIS
program-directory\bin\swstbkpoldel Device-Name
program-directory\bin\swstbkpoldel [-h Server-Name] Device-Name
DESCRIPTION
An existing backup policy can be deleted using this command.
Delete the backup history information of the transaction volume prior to the execution of this command.
OPTIONS
Specifies a Storage Server name.
This option can be specified only on a Storage Management Server.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0:Completed successfully
>0:Terminated abnormally
EXAMPLES
To delete the backup policies of a transaction volume.
C:\>C:\Win32app\AdvancedCopyManager\bin\swstbkpoldel g1d1p2 g1d1p2 swstbkpoldel completed C:\>
NOTES
A backup policy cannot be deleted if:
The transaction volume to be deleted has backup history information.
A transaction volume whose backup policies are to be deleted has already started backup synchronous processing.
The replication control function or tape backup function uses the target transaction volume
This command can only be executed while none of the following commands are running: