Feature requests: verify backup, storage-add samba share, migration-select storage

F

fluke

Guest
Hi,

I would like to propose the following feature requests:

1. Add an option to verify the backup

Reason: I had to restore a VM from backup and although the backup job had a success status, when restoring I found out a truncated tar archive.

2. Add an option to use samba share as backup storage

Reason: Ease of use. Probably I can mount samba share by hand and add it to the storage as directory, but I am not sure what does the shared checkbox implements (probably I should not check it).

3. Add an option to select destination storage when doing migration

Probably people will use more than one storage for VM's. For example it is useful to create two drbd storages in order to minimize the impact of a split-brain situation. The possibility to select a drbd storage when doing migration gives more flexibility.

Thank you for a great product.
 
Re: Feature requests: verify backup, storage-add samba share, migration-select storag

Hi,

I would like to propose the following feature requests:

1. Add an option to verify the backup

Reason: I had to restore a VM from backup and although the backup job had a success status, when restoring I found out a truncated tar archive.
I see no usable way to implement this, under normal circumstances the log points to a failure. as you should know, the most important part of a successful backup strategy is testing restore regularly to eliminate such a surprise.

2. Add an option to use samba share as backup storage

Reason: Ease of use. Probably I can mount samba share by hand and add it to the storage as directory, but I am not sure what does the shared checkbox implements (probably I should not check it).

can be done already via CLI, see wiki.

3. Add an option to select destination storage when doing migration

Probably people will use more than one storage for VM's. For example it is useful to create two drbd storages in order to minimize the impact of a split-brain situation. The possibility to select a drbd storage when doing migration gives more flexibility.

Thank you for a great product.

if you use live migration, you cannot change the storage type - behaviour by design.

changing the storage only works via the backup/restore way. but this is very flexible, e.g. you can also move from raw images to LVM or any other way (qcow2 does not work here).

see 'man qmrestore', define the destination storage for the restore job.
 
Re: Feature requests: verify backup, storage-add samba share, migration-select storag

Thanks for answering.
For the backup, what about adding the option to check the integrity of the tar (ot tgz) archive after the job is completed and if integrity fails - consider the backup failed?
For the samba share - I proposed this to be done through the interface, because it has to be done only once and the mount point is added to all servers in the cluster, which is very comfortable.
What is the function of the Shared checkbox, when adding directory storage?
 
Re: Feature requests: verify backup, storage-add samba share, migration-select storag

Thanks for answering.
For the backup, what about adding the option to check the integrity of the tar (ot tgz) archive after the job is completed and if integrity fails - consider the backup failed?

tar should give a error anyways if a write fails - anyways,do you know a tool to verify tar archives. Or should we use that '-W --verify' option for tar?

For the samba share - I proposed this to be done through the interface, because it has to be done only once and the mount point is added to all servers in the cluster, which is very comfortable.

Yes, but I want to avoid storing password in the storage configuration file.


What is the function of the Shared checkbox, when adding directory storage?

It uses a central lock manager when create/delete/modify VM images.
 
Re: Feature requests: verify backup, storage-add samba share, migration-select storag

tar should give a error anyways if a write fails - anyways,do you know a tool to verify tar archives. Or should we use that '-W --verify' option for tar?
I usually do it with tar -tf or tar -ztf, which list the contents of the archive, so if it is broken, it will report it. Of course this is not a true verify backup, but we can call it "check archive for errors after backup". I have not used the --verify option and I am not sure how it will perform.

Yes, but I want to avoid storing password in the storage configuration file.

What about using a credentials file when doing samba mounts, this will increase security a little.
 
Re: Feature requests: verify backup, storage-add samba share, migration-select storag

What about using a credentials file when doing samba mounts, this will increase security a little.

An sync that to all cluster nodes? Also clumsy.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!