Backup Format

Hi

While testing the backup facility of virtualmin I came to some strange results. I’ve done two immediate backups of one virtual server (home directory only). Backup format is “Single archive file” and Backup level is “Full”.
Once I downloaded the file to my computer which results in a 21kB corrupt .tgz file.
Once I used the option “Local file or directory” as backup destination. Result is a 150kB(!) file (size of home directory is 111kB) of unknown format. It works to restore the directory from that file but what if I have to restore only one specific file?

Good thing you test them! :slight_smile:

What happens if you go into Virtualmin, and manually run the backup – do you see any errors being output during the backup procedure?

What if you choose "one file per virtual server" rather than the one big file option – does that make a difference?
-Eric

Result is a 150kB(!) file (size of home directory is 111kB) of unknown format.

Not an unknown format. It’s a gzipped tarball, by default.

And, just for reference, the "file" command can almost always tell you exactly what format a file is, as well.

As for the corrupt .tgz after download…how did you download the file? (Eric’s already asked about errors, which we’d also need to know about.)

I may be wrong but i think it is because alias domains in virtualmin can be set up to be more than just an alias. When it holds its own configuration, it would also need a separate backup

or
an alias is just seen as a domain in namebased hosting