Backup keep directory structure

Every time I make a back up it looks like this(see picture attached). How can I backup and keep the nice directory structure of my server. It’s not handy If you only need the backup of a specific file.

https://www.virtualmin.com/files/backupserver.png

Howdy,

Hmm, I’m not sure what those files are. If you do a restore, does it restore properly?

I’m curious what type of backup format your server is using though.

That is, in the backup screen, what is the “Backup format” option set to – single archive, one file per server (old format), or one file per server?

-Eric

Hi Eric

I never tried a full restore. I’m afraid to do that
The files are separate(single) backups of files. For instance I have a file config.php in /public_html/admin.
Directory 448454844 would contain directory public_html with only directory admin in it and in the admin directory only config.php.
This are my settings: one file per server.

Howdy,

I’m curious what output you see if you look at it using a different archive program.

For example, if you copy that to your server, and run this command on it – do you see the output you’d expect:

tar tzvf filename.tar.gz

That will just display the files in the archive, it won’t actually untar it.

-Eric

Hi Eric

This is how it looks.

With the webmin backup option it works fine, but adrive.com works with mailaddress(@ character) as username so the backup doesn’t work either. :frowning:

Howdy,

The output you’re seeing when untarring your archive from the command line looks correct.

What you’re seeing there is some of the PHP session files from within $HOME/username/tmp/.

That makes me wonder if you’re seeing something unusual with the particular app you’re using to uncompress that file. Do you have another app you could try?

-Eric