Don’t know how to Backup an OnApp VM? We can help you.
As part of our Server Virtualization Technologies and Services, we assist our customers with several OnApp queries.
Today, let us see how our Support Techs take, view, and find the backup.
Backup an OnApp VM
Moving ahead, let us see the steps our Support Techs employ to perform these backup tasks.
-
Take Virtual Server Backup
In order to take an incremental backup:
- We go to Control Panel > Cloud > Virtual Servers.
- Then we click the label of the server to backup.
- Click the backup tab, then select files.
- Eventually, we click the Take a Backup button.
-
View Virtual Server Backups
To do so, our Support Techs suggest to:
- Go to Control Panel > Cloud > Virtual Servers.
- Click the label of the required virtual server.
- Then click the Backups tab and select the appropriate backup type:
- Images – full backups
- Files – incremental backups
- Eventually, we’ll find a screen with a list of virtual server backups sorted by category.
- If we click the label of the required virtual server backup, we can see: restore backup, delete backup, convert it to template, and add/edit note.
-
Find backups for this VM
1) We can find backups on the backup server in the directory listed in Settings->Configuration->Backups/Templates. The default is /onapp/backups/
2) Then we will need the backup identifier.
There are three ways to find it:
a. Navigate to the page in the interface which displays backups for the VM and append .xml or .json to the URL.
b. Check the TakeBackup or TakeIncrementalBackup log
c. Use one of the following MySQL queries:
- Normal Backups
select identifier,created_at,backup_server_id from backups where target_id=<disk #>;
We can find the disk # on the virtual machine’s storage page.
- Incremental Backups
select identifier,created_at,backup_server_id from backups where target_id in (select id from virtual_machines where identifier=’asdfasdf1234′);
Here, we replace ‘asdfasdf1234’ with the virtual machine’s identifier.
We can find our backup ID in the logs.
select identifier,created_at,backup_server_id from backups where id=<backup id>;
For example, Backup #3210.
3) After that, we go to the backup directory on the backup server.
Consider the identifier for our backup is ‘b5r3ybmjs660bp’.
In such a case, the directory where that backup is will be something like /onapp/backups/b/5/
The first two characters of the backup identifier will be the same as the directory and subdirectory following the backup path.
In addition, make note that if we have no backup server, we can find backups on the hypervisors or control panel server.
[Stuck with the process? We are here for you]
Conclusion
In short, we saw how our Support Techs take backup on an OnApp VM.
0 Comments