Top
ETERNUS SF AdvancedCopy Manager 14.2 Operator's Guide

8.1.1 Making individual backups of databases


8.1.1.1 Maintaining a backup management list

This section provides information on the maintenance of a backup management list. A backup management list is maintained on the server that performs the backup.


8.1.1.1.1 Backing up a backup management list

A backup management list is backed up.
For details of this, refer to swstresback (Resource backup command).

Backup management list backup data size

Check the size of the file that the subdirectory of the following directory contains.

/etc/opt/FJSVswsts/data

In the cluster environment, check the size of the file that the subdirectory of the following directory contains

/etc/opt/FJSVswsts/<logic node name>/data

Point

When you reuse a directory used before to save the data, the size of this directory must be capable of supporting repositories which have been allocated a size to cater for high growth. Rule of thumb would suggest that the file system in which these directories exist should be at least three times greater than the size returned in query above.


8.1.1.1.2 Restoring a backup management list

A backup management list is restored.
For details of this, refer to swstresrst (Resource restore command).


8.1.1.1.3 Preserving the volume configuration information

When the transaction volume or backup volume is a volume group, the volume configuration information file "/etc/lvmconf/<volume_group_name>.conf" is required to restore the volume configuration information in the processing after backup and restoration.
In order to prepare for a system crash, ensure that you maintain the above mentioned file on another storage medium at the time of creating the volume group.

Point

Usually, a volume configuration information file "/etc/lvmconf/<volume_group_name>.conf" is automatically created at the time of vgcreate (1M) execution. If vgcfgbackup (1M) is used, a backup of the volume configuration information can be created by assigning arbitrary file names. For details of this, refer to the online manual or the man command.


8.1.1.2 Maintaining a replication management list

This section describes the maintenance of a replication management list.


8.1.1.2.1 Backing up a replication management list

To back up a replication management list, back up the repository of the Storage Management Server. For information about backing up a repository, refer to "Saving a database" relevant to the OS of the Storage Management Server.

Point


8.1.1.2.2 Restoring a replication management list

Perform the following steps to restore a replication management list:

  1. Restore the repository to the Storage Management Server. For information about restoring a repository, refer to "Recovering a database" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" relevant to the OS of the Storage Management Server.

    • If the Storage Management Server is Windows
      Select "RDB dictionary and DSI recovery (LOAD Mode)" as the recovery method.

    • If the Storage Management Server is Solaris or Linux
      Specify 0 for stgdbrcv -m option (recovery mode) as the recovery method.

  2. On the Storage Server, execute swsrprecoverres (Resource adjustment command) with the -r option specified. For details of the resource adjustment command, refer to "swsrprecoverres (Resource adjustment command)".

Point

  • When step 1 above is performed, operational information for replication management of a repository is copied to a Storage Server, where it is then available for use.

  • When this information for replication management in the repository does not need to be changed, and only the operation information for replication management on the Storage Server is incorrect (for some reason), perform only step 2.


8.1.1.2.3 Preserving the volume configuration information

When the source volume or replica volume is a volume group, the volume configuration information file "/etc/lvmconf/<volume_group_name>.conf" is needed to restore the volume configuration information in the post-processing script.
In order to prepare for a system crash, ensure that you maintain the abovementioned file on another storage medium at the time of creating the volume group.

Point

Usually, a volume configuration information file "/etc/lvmconf/<volume_group_name>.conf" is automatically created at the time of vgcreate (1M) execution. If vgcfgbackup (1M) is used, a backup of volume configuration information can be created with arbitrary file names. For details of this, refer to the online manual or the man command.


8.1.1.3 Maintaining a database

For information about maintaining a database used by a Storage Management Server, refer to the "Maintaining a database" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" relevant to the OS of the Storage Management Server:


8.1.1.4 Maintaining an authentication management list

For information about maintaining an authentication management, refer to the "Maintaining an authentication management list" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" relevant to the OS of the Storage Management Server:


8.1.1.5 Maintaining a registry

This section describes the maintenance of a registry. Perform this procedure on a Storage Management Server or a Storage Server.


8.1.1.5.1 Backing up a registry

In a command prompt window, back up the following files using the copy command, etc.

File names
In the case of a non-cluster
/etc/opt/swstorage/swnode.ini
In the case of a cluster
/etc/opt/swstorage/Logical-node-name/swnode.ini

Example

Save it in the /backup directory.

# cp /etc/opt/swstorage/swnode.ini /backup

Registry backup data size

Check the size of the file to be backed up.


8.1.1.5.2 Restoring a registry

In a command prompt window, use the copy command or another method to restore the following files.

File names
In the case of a non-cluster
/etc/opt/swstorage/swnode.ini
In the case of a cluster
/etc/opt/swstorage/Logical-node-name/swnode.ini

Example:

Restore the following file saved in the /backup directory:

# cp /backup/swnode.ini /etc/opt/swstorage