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 the VPS Cloud Infomaniak.
Attention: depending on the operating system installed, the system volume can be named /dev/sda
, /dev/sda1
or /dev/vda
; Idem for data volume /dev/sdb
, /dev/sdb2
or /dev/vdb
... These indications should therefore be replaced by those corresponding to your situation.
Restore a snapshot
To this end:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the nameallocated to the product concerned.
- Click on Snapshot in the left side menu.
- Click on the action menu â‹® to the right of the object concerned in the array that appears.
- Click on Restore:
- Click the blue button to start restoring the snapshot.
- An e-mail is sent when the snapshot is restored.
Restore operating system disk
Restoring the system volume as in the example above is an operation irreversible The operating system disk will be replaced by the snapshot and the server will be in the exact state of the backup date.
Data stored on data volume (vdb) is not affected by this operation.
Restore data disk (vdb)
Two modes of data restoration are possible:
1. Mode Read Only
If the size of the snapshot differs from the size of the volume, only this read-only mode is available.
This option allows to mount the image of the data snapshot, which allows read-only access to the data of the backup.
For information, here are some useful commands to exploit 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
.
For which letter to use (/dev/vd?), use the command lsblk
:
2. Mode --Restore
The restoration of data volume is an operation irreversible The data disk (vdb) will be replaced by the snapshot. At the end of the restoration, it will be necessary to trace the volume of the data so that your operating system refreshes the content.
The following procedure and orders are provided for information purposes only:
- Make sure your data volume is not mounted:
* umount /mnt
(/mnt or location you chose to access your data). - Upload the data volume:
* mount /dev/(vdb) /mnt
To know the name of the data volume attached to your server, use the command lsblk
(see above).