Top
ServerView Resource Orchestrator Cloud Edition V3.0.0 Operation Guide

8.3.2 Settings for Periodic Execution of Backup

The following two settings are required in order to perform periodic execution of backup:

Note

  • If this procedure has been used to start batch files using the Task Scheduler, a command prompt is displayed while the batch files are being executed. Do not close this command prompt.

  • When an error occurs at periodic execution of online backup, a message with the error code 67198 will be output to the log files. If the occurrence of errors is being monitored, use software for monitoring the log files to monitor this error message. Refer to "Message 67198" of "3.1.11 671XX" in the "Reference Guide (Resource Management) CE" for information on error messages.


Setting for periodic execution of base backup

Specify settings so that a base backup is taken periodically.
Use Windows Task Scheduler as a mechanism for periodically executing commands. Refer to Windows Help for information on how to set the Task Scheduler.

This section describes an example of a setup procedure for implementing a backup at 3:00 a.m. on the 1st of every month.

  1. From the Windows [Start] menu, select [Administrative Tools]-[Task Scheduler] to start the Task Scheduler.

  2. To manage tasks hierarchically, use the following procedure to create a folder:

    1. In the Task Scheduler menu, after selecting Task Scheduler Library, select [Actions]-[New Folder], and then enter any folder name in the dialog box that is displayed and click the <OK> button.

    2. Selecting the created folder and then creating another folder by selecting [Actions]-[New Folder] from the Task Scheduler menu allows a further hierarchical level to be added.

    Point

    Creating a folder in Task Manager allows tasks to be managed hierarchically. In cases such as where multiple tasks are to be registered, creating a folder allows task management to be performed efficiently.

  3. From the Task Scheduler menu, select Actions >> Create Basic Task to display the Create Basic Task Wizard.

    Point

    When a subsequent operation is performed after any folder is selected, the task will be registered under that folder. If a folder is not selected, the task will be registered in the Task Scheduler Library.

  4. In the [Name] field, enter a task name (for example, "Monthly backup") and click the <Next> button.

  5. Select Monthly as the task trigger and click the Next button.

  6. In the Start field, set the date and time at which periodic backup is to start.
    Example: Set a date of the "1st" of the following month and "3:00:00".

  7. In the Months field, select the Select all months checkbox.

  8. In the Days field, Select the 1 checkbox.

  9. Click the Next button.

  10. Select Start a program as the task action and click the Next button.

  11. Click the Browse button and in the Program/script field, set the batch files for base backup.

    Example

    C:\work\backupall.bat

    @echo off
    echo "Resource Manager Cloud Edition Resources backup Start"
    call "{Installation_folder}\SVROR\Manager\bin\rcxmgrbackup" -directory {storage destination folder}  -base
    echo "Resource Manager Cloud Edition Resources backup End"
    • Refer to "1.8.11 rcxmgrbackup" in the "Reference Guide (Resource Management) CE" for information on the rcxmgrbackup command.

  12. In the Add arguments (optional) field, set a character string to be used for outputting the command output to log files.

    Example: >>F:\backup\backupall.log 2>&1

  13. Click the Next button.

  14. Check the task settings, and if they are correct, click the <Finish> button.


Settings for periodic execution of differential backup

Specify settings so that a differential backup is taken periodically.

This section describes an example of a setup procedure for saving a differential backup every hour.

Point

When using the Create Basic Task Wizard, execution for a time interval shorter than one day cannot be set, so once the task has been registered for a different frequency, change the properties.

  1. From the Windows [Start] menu, select [Administrative Tools]-[Task Scheduler] to start the Task Scheduler.

  2. To manage tasks hierarchically, use the following procedure to create a folder:

    1. From the Task Scheduler menu, after selecting Task Scheduler Library, select [Actions]-[New Folder], and then enter a folder name in the dialog box that is displayed and click the <OK> button.

    2. Selecting the created folder and then creating another folder by selecting [Actions]-[New Folder] from the Task Scheduler menu allows a further hierarchical level to be added.

    Point

    Creating a folder in Task Manager allows tasks to be managed hierarchically. In cases such as where multiple tasks are to be registered, creating a folder allows task management to be performed efficiently.

  3. From the Task Scheduler menu, select [Actions]-[Create Basic Task] to display the Create Basic Task Wizard.

    Point

    When a subsequent operation is performed after any folder is selected, the task will be registered under that folder. If a folder is not selected, the task will be registered in the Task Scheduler Library.

  4. In the [Name] field, enter a task name (for example, "Periodic WAL switching") and click the Next button.

  5. Select Daily as the task trigger and click the Next button.

  6. In the Start field, set the date and time at which online backup (WAL) is to start.
    Example: Set the date of the following day and "0:00:00".

  7. In the [Recur every] field, set 1 day (set by default).

  8. Click the Next button.

  9. Select Start a program as the task action and click the Next button.

  10. Click the <Browse> button and in the [Program/script] field, set the batch files for online backup (WAL).

    Example

    C:\work\hourlybackup.bat

    @echo off
    echo "Resource Manager Cloud Edition Resources backup Start"
    call "{Installation_folder}\SVROR\Manager\bin\rcxmgrbackup" -dir {storage destination folder}
    echo "Resource Manager Cloud Edition Resources backup End"
    
    • Refer to "1.8.11 rcxmgrbackup" in the "Reference Guide (Resource Management) CE" for information on the rcxmgrbackup command.

  11. In the Add arguments (optional) field, set a character string to be used for outputting the command output to log files.

    Example: >>F:\backup\backupall.log 2>&1

  12. Click the Next button.

  13. Check the task settings, and if they are correct, click the <Finish> button.

  14. Select the registered task from the task list, and select [Action]-[Properties] to open the Properties dialog.

  15. Open the Triggers tab, select the existing trigger, and click the Edit button.

  16. Check the [task every:] checkbox in [Advanced settings], and select "1 hour" (set by default).

  17. For the [for a duration of], select "1 day" (set by default).

  18. Click the OK button.