Attach a Snapshot/Backup to your Server
Last updated
Last updated
Onidel enables you to temporarily attach a backup or snapshot (volume) to your server as an individual disk. This allows you to access and recover specific files from the volume without requiring a full restore.
There are several places that you can attach a volume:
In the Snapshots tab and Backups tab in the VM management page.
In the Orchestration > Snapshots and Orchestration > Backup page.
You will see the Attach button on each volume:
Click on the Attach button, and choose the instance that you want to attach the volume to. You can only attach the volume to the instance that is in the same DC.
Windows is currently not supported. Mounted volumes will be unusable.
Log in to your server using SSH and run the following command to list the block devices:
[root@hot-apricot-wildcat ~]# lsblk
This will display the attached disks. The newly attached disk (usually vdb
) should appear in the list:
[root@hot-apricot-wildcat ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 1024M 0 rom
sr1 11:1 1 4M 0 rom
sr2 11:2 1 1024M 0 rom
vda 252:0 0 60G 0 disk
├─vda1 252:1 0 1M 0 part
├─vda2 252:2 0 200M 0 part /boot/efi
├─vda3 252:3 0 1G 0 part /boot
└─vda4 252:4 0 58.8G 0 part /
vdb 252:16 0 60G 1 disk
├─vdb1 252:17 0 1M 1 part
├─vdb2 252:18 0 200M 1 part
├─vdb3 252:19 0 1G 1 part
└─vdb4 252:20 0 58.8G 1 part
To mount the disk or a specific partition, use the following command:
mount -o ro,norecovery,nouuid /dev/vdb4 /mnt
You can now access or copy the backup files from the /mnt directory.
The attached volume is shown in Storage section:
Click Detach and then confirm to detach the volume from the instance.