Backup keep directory structure

6 posts / 0 new
Last post
#1 Thu, 05/22/2014 - 19:22
dragonflo

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

Thu, 05/22/2014 - 23:32
andreychek

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

Fri, 05/23/2014 - 03:44
dragonflo

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.

Fri, 05/23/2014 - 09:42
andreychek

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

Sat, 05/24/2014 - 10:18
dragonflo

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. :(

Mon, 05/26/2014 - 07:36
andreychek

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

Topic locked