Top
ETERNUS SF AdvancedCopy Manager V16.9.1 Operation Guide for Copy Control Module
FUJITSU Storage

3.10.2 Backup/Restore with Commands

The NAS volume created with Web Console can also be backed up and restored using commands.

Commands can be used in cases such as when automatically scheduling backup of the NAS volume.

3.10.2.1 Preparing for Execution of Backup/Restore Commands

Be sure to implement the NAS backup configurations in advance with Web Console.

When performing a backup or restore of the NAS volume with commands, the copy group name of the NAS backup configurations is required. Confirm the copy group name of the NAS backup configurations with Web Console.

3.10.2.2 How to Execute Backup Commands

With the Management Server, execute the acnas backup command. Specify the copy group name of the NAS backup configurations with the -g option.

[Execution example]

acnas backup -g NAS_QuickOPC_NAS_Vol_0_0

Information

If a NAS backup volume is mounted, setup values (shared status, access settings, etc.) in the shared folder within the NAS backup volume are setup values for the NAS volume at the time of execution of the backup.

Note

  • When backup is executed, even if the shared folder is set up so as to be accessible using FTP, information of the FTP settings information is not backed up.

  • When multiple NAS volumes are being backed up, the number of concurrent executions of the acnas backup command is up to 40. Note that the actual number varies depending on the operational status of Web Console, the execution status of the other commands, or other factors. The actual number may be more or less than 40.

3.10.2.3 How to Execute Restore Commands

With the Management Server, execute the acnas restore command. Specify the copy group name of the NAS backup configurations with the -g option.

[Execution example]

acnas restore -g NAS_QuickOPC_NAS_Vol_0_0

Information

When executing a restore of the NAS volume, a completed backup is required. Confirm whether a backup has already been completed by referring to "Display Shared Folder" or "Display Backup Information" in the Web Console Guide.

Note

  • The shared folder and quota settings for the NAS volume that is to be restored are reconfigured as a part of the restore in accordance with the configuration information at the time of the backup. Perform operations regarding the shared folder and quota settings after confirming that the restore operation has completed.
    While restoring data to a NAS volume, if you perform operations on the shared folder and quota settings in that NAS volume, an error may occur. In that case, after confirming the error message, try the operation again.

  • If the restore fails, data corruption may be occurring in the NAS volume. Remove the cause of the failure and re-execute the restore.

  • The shared folder name must be unique within the ETERNUS Disk storage system.
    If the shared folder name is duplicated as a result of the restore operation, a "$" is appended to the head of the shared folder name and restore is executed. If the shared folder name is still duplicated despite the appended "$", a "$" is appended once more to the head of the shared folder name and restore is executed.
    Also, for "homes" that is the shared folder for home directory, special care is required. If "$" is appended to the head of "homes" by restore, the restored shared folder "$homes" is handled as a shared folder to share files, not as a shared folder for home directory.
    To access the past home directory under "$homes", enter the following format to the address bar or to the network drive mapping window:

    • When Active Directory is configured as an authentication server

      \\nasInterfaceIpAddress\$homes\domainName@\userName\
    • When no authentication server is configured

      \\nasInterfaceIpAddress\$homes\userName\

    The restored shared folder "$homes" is accessible with the user set in Owner and Group.

  • The block size of NAS file system after a restore is set to the value specified for the NAS volume when executing a backup.

  • When backup is executed, even if the shared folder is set up so as to be accessible using FTP, information of the FTP settings information is not backed up. The FTP settings after restore are the values set before restore. If necessary, reset up the shared folder accessible using FTP. Refer to the ETERNUS Disk storage system manuals for FTP settings.

  • Only when all CMs and NAS Engines in the ETERNUS Disk storage system are in normal condition, a NAS volume can be backed up.

  • When multiple NAS volumes are being restored, the number of concurrent executions of the acnas restore command is up to 40. Note that the actual number varies depending on the operational status of Web Console, the execution status of the other commands, or other factors. The actual number may be more or less than 40.

3.10.2.4 Confirming Copy Status of Backup/Restore and Stopping Backup

Stopping or confirming the status of Advanced Copy of the NAS volume can be performed with the following commands.

Confirming Status of Backup/Restore

The status of the copy from the NAS volume to the NAS backup volume can be confirmed with the acopc query command.

[Execution example]

acopc query -g NAS_QuickOPC_NAS_Vol_0_0

The status of the copy from the NAS backup volume to the NAS volume can be confirmed with the acopc query command by specifying the -r option.

[Execution example]

acopc query -g NAS_QuickOPC_NAS_Vol_0_0 -r

Note

There may be cases when the copy status that can be confirmed with the acopc query command does not match the success or failure of the backup/restore of the NAS volume. Determine the success or failure of the backup/restore from the results of the backup or restore command.

Stopping of Backup/Restore

When stopping the backup from the NAS volume to the NAS backup volume, execute the acopc cancel command.

[Execution example]

acopc cancel -g NAS_QuickOPC_NAS_Vol_0_0

When stopping a restore from the NAS backup volume to the NAS volume, execute the acopc cancel command by specifying the -r option.

[Execution example]

acopc cancel -g NAS_QuickOPC_NAS_Vol_0_0 -r

Note

  • Stopping of the copying from the NAS volume to the NAS backup volume is implemented by the procedures for performing a secondary backup of the NAS volume.

  • When copying is stopped while physical copying is taking place, even if the acnas backup command is successfully completed, the backed up data cannot be guaranteed.