1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Restore a snapshot on VPS Cloud
This guide explains how to restore a snapshot of VPS Cloud Infomaniak.
Warning: depending on the installed operating system, the system volume may be named /dev/sda
, /dev/sda1
or /dev/vda
; the same applies to the data volume /dev/sdb
, /dev/sdb2
or /dev/vdb
… It is therefore necessary to replace these indications with those corresponding to your situation.
Restore a snapshot
To do this:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question.
- Click on Snapshot in the left sidebar.
- Click on the action menu â‹® to the right of the relevant item in the displayed table.
- Click on Restore:
- Click on the blue button to start the snapshot restoration.
- An email is sent when the snapshot is restored.
Restore the operating system disk
Restoring the system volume as shown in the example above is an irreversible operation. The operating system disk will be replaced by the snapshot and the server will be in the exact state of the backup date.
The data stored on the data volume (vdb) is not affected by this operation.
Restore the data disk (vdb)
Two data restoration modes are possible:
1. "Read-only" mode
If the size of the snapshot differs from the size of the volume, only this read-only mode is available.
This option allows you to mount the snapshot data image, enabling read-only access to the backup data.
For your information, here are some useful commands to leverage your backup:
- 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
.
To find out which letter to use (/dev/vd?), use the command lsblk
:
2. "Restore" mode
Data volume restoration is an irreversible operation. The data disk (vdb) will be replaced by the snapshot. At the end of the restoration, it will be necessary to remount the data volume so that your operating system refreshes the content.
The following procedure and commands are provided for informational purposes only:
- Make sure your data volume is not mounted:
* umount /mnt
(/mnt or the location you chose to access your data). - Remount the data volume:
* mount /dev/(vdb) /mnt
To find out the name of the data volume attached to your server, use the command lsblk
(see above).