Snapshot on OVH fresh install PVE 5.1 ?

___jul

New Member
May 26, 2012
15
0
1
Hello,

I was used to manage Proxmox 2,3 and 4 and to use snapshots as backup, doing a a different VG/LV to backup. On a new fresh OVH install. I only have one disk (mirrored) and LV in ext4, how I can use snapshot and backups.
According to Storage/Wiki, I should use ZFS or LVM-thin any tips or wiki to do so ?
Thank you
 
Hi,

what do you try exactly to do?
Just make snapshots or sync it to the other storage on the same/remote node?
 
Hi Wolfgang, thank you for asking.
I just need to do local backup using snapshot method to avoid stop or suspend situation (as I was doing before).
To do local backup with no interruption.
 
You mean make a snapshot and mount it to do this backup on this snapshot?
 
I was refering to create a vzdump using snapshot of a live VM, as before :
for example : vzdump 100 --mode snapshot --compress lzo --storage local --node proxmox
To create a local backup.
Thank you
 
If you use KVM the snapshot has nothing to do with the underlying Storage System.
The live backup (snapshot mode) is a KVM feature.
If you want the snapshot mode with LXC than you need the storage snapshot feature.
 
In the default installation, you have thin-lvm as data partition and ext4 as rootfs.

If you see the storage local-lvm than it is a high chance you have a default PVE with thin-lvm.
Just use the local-lvm.
 
In the default installation, you have thin-lvm as data partition and ext4 as rootfs.

If you see the storage local-lvm than it is a high chance you have a default PVE with thin-lvm.
Just use the local-lvm.

Hello,

On OVH I thinki lvm don't use by default thin

root@server[~]$ lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve -wi-ao---- 1.07t
root@server[~]$ vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 1 0 wz--n- 1.07t 4.00g

$ mount -l | grep pve-data
/dev/mapper/pve-data on /var/lib/vz type ext4 (rw,relatime,data=ordered) [/var/lib/vz]

How I can concert lvm to lvm-thin, to enable vzdump backup as snapshot ? To convert will destroy data ?
Thank you