3.2. Managing Backup and Restoration¶
- Job Execution
You can click on the button while a job is at a pause. Clicking button makes the job executable. Job Execution is that function that you use to resume a backup while it is at a pause (described later). This function normally is enabled automatically when a new job is created. You cannot use this function while no backup job is registered.
- Job Pause
You can click on the button while a job is executable. You can suspend a job by clicking the button. While a job is at a pause, the information on the job setting (type, schedule type, storage period, time and date, start time, target virtual server) is kept as it is. But the backup does not start at the start time of the backup. This is useful when you want to skip a backup on a specific time and date.
Note that the job is not executed after the execution time elapses if the schedule type is “one time” and the job is at a pause.
- Enabled/Disabled Flag
The Enabled/Disabled Flag can show the statuses listed below.
|Backup disabled||No backup is set in this status.|
|Backup enabled||A backup is set in this status.|
|Backup at pause||A job is set but is at a pause in this status.|
- List of Scheduled Jobs
You can view the list of the jobs registered and scheduled by clicking the title link of “Scheduled Job”. The file backup, which is described separately, is also shown in the same list.
- Recent History (7 days)
You can view the statuses of the jobs you have recently executed in one week.
|Start Time||The start time of a backup—the start time may vary depending on the number of the backups including those specified on the same time by other customers.|
|Job Type||Image backup or file backup|
|Schedule Type||Full backup only in the case of an image backup|
|Elapsed Time||The processing time of a backup|
|Virtual Machine||The name of a virtual server|
|Size||The size of a backup virtual server—this is not shown during restoration.|
|Backup Target||All drivers included (all disks) only in the case of an image backup|
- Backup Image
You can view the list of the backup images currently stored. You can select which image to restore from the list of the backups for the execution of restoration.
3.2.1. Registering a Backup Job¶
|1||Type||You can select a virtual machine image or a file. To execute an image backup, select a virtual machine image.|
|2||Schedule Type||You can select one time, daily, weekly, or monthly to determine if you create a repetitious schedule.|
You can determine how long a collected backup file is retained. Options vary depending on the schedule type.
One time: 1 day, 31 days, 366 days
Daily: 1, 2, 3, 4, 5, 6, 7, 8 days
Weekly: 7, 14, 21, 28, 35, 42, 49, 56 days
Monthly: 31, 62, 93, 124, 155, 186, 217, 248 days
|4||Date/Start Day/Day of Week/Monthly||
You can select a start day to schedule a backup.
One time/daily: Select the date of an execution from the calendar.
Weekly: Select a day from Monday to Saturday.
Monthly: Specify an ordinal number of a specific weekday or a day of the month (from 1 to 28 or end of the month).
|5||Time Slot||Select one of 24 options—0:00－0:59 / 1:00-1:59 / 2:00-2:59 / 3:00-3:59 / 4:00-4:59 /5:00-5:59 /6:00-6:59 /7:00-7:59 /8:00-8:59 / 9:00-9:59 / 10:00-10:59 / 11:00-11:59 / 12:00-12:59 / 13:00-13:59 / 14:00-14:59 / 15:00-15:59 / 16:00-16:59 / 17:00-17:59 / 18:00-18:59 / 19:00-19:59 / 20:00-20:59 / 21:00-21:59 / 22:00-22:59 / 23:00-23:59|
|6||Disk||You can select all disks only.|
|7||Filter||You can filter the target virtual servers with a virtual server name as a search key.|
|8||Virtual Server (Not selected)||You can view the list of the virtual severs that can be the target of a backup job. (Those that are already selected as the targets of baking up are not shown in the list.)|
|9||Add Button||If you click on a virtual server in item (8), you go on to item (11) to select a virtual server.|
|10||Delete Button||If you click on a virtual server in item (11), you go on to item (8) to view virtual servers (not selected).|
|11||Virtual Server (Selected)||You can view the list of the virtual servers already selected as the target of backing up.|
|12||Save Button||After selecting the options in all the items from (1) to (11), click on the Save button to save the selection.|
When you push the Save button, you see the message:
It says: “This process changes the amount of fee. Are you sure to execute this process?
Please take note of the password of the guest OS of the backup image. You need the password to log in to the virtual machine after restoration.”
After this message, you should start making the setting for the backup. Make sure that the setting is correct. The fee varies depending on the size of the stored data and the period of storage. You are not charged with the fee as of this moment. The fee charge starts at the time when the backup is successfully made.
3.2.2. Precautions for Backup¶
An email message reporting the finish is sent when a backup is completed or fails. You can check if the backup was a success or a failure.
If a backup does not start at the time you have specified, keep waiting for a while or check that the backup setting is enabled.
If you have used a virtual server template to create a new backup, wait for 2 to 5 hours before start setting a backup job.
If the maximum value of the jobs executable in the same timeslot is exceeded, another time when a job is executable on the same day and another day when a job is executable on the same time will be shown. You can reset the time and day of your choice.
It is possible to make a backup while the OS is on line. However, if you want to make sure the consistency of the file system, it is recommended that you turn off the virtual server or keep a static point by any other means to make a backup.
The date and the timeslot available for you to make a setting is specified on the Portal screen in the local time (the time zone you have specified). However, the system operates in Coordinated Universal Time (UTC). The fee charging is also processed according to UTC. Consequently, in the case of Japan, the fee charge of a backup process in nine hours at the maximum in a day is processed as a fee charge in the previous day.
3.2.3. Executing a Restoration¶
You can overwrite the target virtual server with the collected backup image for restoration. To execute a restoration, select the arrow button () shown in the list of backup images as described in the previous chapter.
This section describes the case where “Backup” is selected from the “Action” menu on the top screen.
A screen appears to show the settings of the backup service and the status of its operation. Select “Image” on the bottom line.
As shown in the screenshot below, the list of backup images are shown. Select an image you want to restore, and click on the arrow button () to start restoration.
If you have set a long storage period, two or more generations of backups of the same virtual server can be collected. Before starting restoration, make sure that you select the correct backup image for restoration.
3.2.4. Precautions for a Restoration¶
Some of the parameters in each type of setting of a guest OS are initialized during restoration. For the details, see “About Guest OS Customization” in Enterprise Cloud Service Function Guide.
An email message reporting the completion (failure) is sent when a restoration is completed or fails. Do not execute PowerON until you receive the email message in the case of a success.
The target virtual server is overwritten with restoration data when saving it. If the target virtual server is removed, the restoration fails. Do not remove the target server even if it is not usable.
After a backup is collected, if an additional disk on the virtual server in operation is removed and the size of the compute resource pool in the contract is reduced, increase the disk capacity to the size necessary for restoration before executing a restoration.
Execute the restorations to the same compute resource pool one by one. Free memory is required in the compute resource as an overhead only at the time of restoration. (About 20 percent, at the maximum, of the memory assigned to the virtual server is recommended.)
After a restoration is completed, when you execute PowerOn for the first time, the guest OS is customized, which takes about 30 minutes. Note that the operation is not guaranteed if you push the [Set Change SID Enabled] button in this period.
If you execute a backup and restoration with a virtual server that uses a network adapter other than the standard one of NTT Com, the operation is not guaranteed.
It is recommended that you execute a restoration while the target virtual server is in the status of PowerOff.