Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxmgrbackup - backup the Manager
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxmgrbackup - backup the Manager
Format
rcxmgrbackup -dir directory [-base] [-cleanup]
Description
rcxmgrbackup is the command that backs up the Manager of this product.
The service status is evaluated to determine whether the command is to implement an offline backup or an online backup.
If this command is executed in a state where only some services have been started, an error will occur.
When -base is specified, this command implements a base backup.
If -base is not specified, this command implements a differential backup. A differential backup will end abnormally when executed offline.
Options
In dir, specify the name of the directory that is to back up the Manager of this product.
Specify this option to implement a base backup. Refer to "10.1.3 Online Backup of the Admin Server" in the "Operation Guide CE" for information on base backup.
When past backup data is deleted, it specifies it. Only the latest information of information gathered by the rcxmgrbackup command is retained when this option is specified, and all past information is deleted.
Examples
>rcxmgrbackup -dir /dir0 <RETURN> |
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.
Note
When specifying folders or directories, take note of the following points.
Do not specify the system installation folder or the installation directory for the -dir option.
Do not specify the installation folder or installation directory of the system in the -dir option.
Use 28 characters or less for the path of the folder or directory being specified.
The folder path or directory path can be specified using up to 28 characters.
Do not specify the following characters for the -dir option.
[Windows Manager]
Slashes ("/")
[Linux Manager]
Backslashes ("\")
Do not stop or start the manager during execution of this command.
If this command fails, a folder or a directory that has a name starting with tmp will be created in the folder or directory specified for the -dir option. If the problem is still not resolved after performing the actions based on the output error message, collect the folder or the directory as troubleshooting data, and contact Fujitsu technical staff. Delete these folders or directories when they are no longer necessary.
Do not execute this command while resource operations, such as those involving L-Servers, resource pools, or resource folders, are being performed.
If the configuration definition information is being updated when the periodical backup operation starts, the backup operation will be postponed until the update is complete.
When an operation is being executed on the admin server, "INFO: Manager operation is still running." is displayed periodically.
Note
The backup command may not end normally at times, so do not perform the following operations:
Forced end using Ctrl+C during execution of the backup command
Stopping the database during execution of the backup command
If the operations listed above have been performed, the following action will be required, depending on the status:
Execute the command shown below whenever the base backup command does not end normally.
For details on the command, refer to "ctmg_resetbackuperror (Reset Base Backup Error)".
>Installation_folder\RCXCTMG\bin\ctmg_resetbackuperror.bat <RETURN> |
The processing result is output as standard output.
The contents and meaning of the processing result are shown in the table below.
Processing Result | Return Value | Messages |
---|---|---|
The command executed successfully. | 0 | Successfully reset the base-backup error. |
Error | non-zero | Failed to reset the base-backup error. |
After the database service is stopped, when starting of the database service fails, an error message will be output as follows to the log files of the target database:
Database Log Files
>Installation_folder\RCXCTMG\Charging\log\psql -nn.log(*) <RETURN> |
* Note: The "nn" part is a 2-digit number indicating the date on which the log was output.
Error Message
Example: If the access control database failed to start
LOG: could not open file "pg_xlog/xxxxxxxx" (log file 0, segment xx): No such file or directory (*2) LOG: invalid checkpoint record PANIC: could not locate required checkpoint record HINT: If you are not restoring from a backup, try removing the file "C:/Fujitsu/ROR/RCXCTMG/Charging/pgsql/data/backup_label". |
*2: The "xxxxxxxx" and "xx" parts of the log are undefined.
In a case like this, check whether the following file exists and, if so, delete the file.
>Installation_folder\RCXCTMG\Charging\pgsql\data\backup_label <RETURN> |