1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Unmanaged Cloud Server: restoring a snapshot
This guide explains how to restore snapshots and how they work for unmanaged Cloud Servers.
1. Restoring a snapshot
- Open the Manager (manager.infomaniak.com)
- Go to Cloud Server
- Click on the server concerned
- Click on Snapshot on the left side menu
- Restore the desired snapshot using the actions menu
2. How backups work
2.1 Restoring the operating system disk
Restoring the system volume is an irreversible operation. The operating system disk will be replaced with the snapshot and the server will be in the exact condition it was on the backup date.
The data stored on the data volume (vdb) are not affected by this operation.
2.2 Restoring the data disk (vdb)
There are two possible restore methods:
- Read only
- Restore
- To access the main data volume: mount /dev/vdb /mnt/
- To mount the data volume in a specific "backup" folder: mount -o nouuid -o ro,norecovery /dev/vdc /backup
- Begin by making sure that your data volume is not mounted:
* umount /mnt (/mnt or the location you have chosen to access your data) - Remount the data volume:
* mount /dev/(vdb) /mnt
Important: if the snapshot size is different from the volume size, read only mode is the only option available.
2.2.1 "Read only" mode
This option lets you mount the data snapshot image, which makes it possible to access the backup data in read only mode.
For your information, here are some useful commands for using your backup:
To find out which letter to use (/dev/vd?), you can use the lsblk command:
2.2.2 "Restore" mode
Restoring the data volume is an irreversible operation. The data disk (vdb) will be replaced with the snapshot. At the end of the restoration, it will be necessary to remount the data volume to enable your operating system to refresh the content.
The following procedure and commands are provided for information only:
To know the name of the data volume attached to your server, you can use the lsblk command (see above).