Cloudmin GPL backup/restore problem

Hello there Webmin crew,

First of all, good job on releasing Cloudmin GPL. Hopefully it will increase cloudmin user base and get some revenue from those who choose the commercial version.

Now on with the bugs.

I tried to backup a VM on a fresh Cloudmin GPL. First I set the backup repo to be a /backup directory on the dom0 and then I logged in as a System Owner of a particular VM and tried to do a backup/restore. The first error I encountered was when backing up the VM; it failed after the LVM snapshot, because it was trying to put the archive in /backup/lucian/lucian.tar.gz, maybe it did not like the fact that there was no /backup/lucian directory. I created that dir and after that the backup was successful.

When trying to restore that backup, instead of looking for the tar.gz in /backup/lucian (as I noticed in the backup procedure), it was trying to restore /backup/lucian.tar.gz :-/

Restoring 1 systems from destinations from host systems ..

Finding systems to restore ..
.. found 1 systems

Working out backup sources ..
.. found 1 usable sources

Shutting down lucian prior to restore ..
.. done

Restoring lucian from /backup/lucian.tar.gz on host system ..
.. restore failed : TAR fetch appeared to succeed, but destination file /backup/lucian.tar.gz was not created

Starting up lucian after restore ..
.. done

Restores of 0 systems completed, but 1 failed!
lucian : TAR fetch appeared to succeed, but destination file /backup/lucian.tar.gz was not created

Looking forward to having this solved.

Status: 
Active

Comments

For Cloudmin backups, you only need to enter the directory as the destination - the file is always named based on the host system. So in your case, you should backup to and restore from just /backup.

Does that work for you?

For Cloudmin backups, you only need to enter the directory as the destination - the file is always named based on the host system. So in your case, you should backup to and restore from just /backup.

Does that work for you?

I am using "Default destination for host system" (which is /backup on host system) for both backup and restore (I'm doing this as a system owner). I will try to repeat this backup/restore and see if it happens again.