Submitted by arjones85 on Tue, 09/20/2011 - 22:28
Hi,
One of my virtualmin accounts has their Apache documentroot changed from the default /home/user/public_html for their main website to /home/user/domains/domain.com.
Unfortunately standard virtualmin backups for this particular account are not capturing the contents of /home/user/domains/domain.com, but are capturing /home/user/public_html instead.
Is this a bug in the code or am I missing something? The scheduled backups are including all domains, all sub-servers, all features, and all virtualmin settings.
Thanks!
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Wed, 09/21/2011 - 00:50 Comment #1
That is expected, as the
domains
directory is excluded from backups as it contains the directories for sub-servers, which are backed up separately.The work-around for this would be to include the top-level server and domain.com in the same backup.
That said, I wouldn't recommend adjusting the document root directory like this without good reason, as it goes against the way Virtualmin usually lays out files.
Submitted by arjones85 on Fri, 09/23/2011 - 22:47 Comment #2
Thanks. I ended up just moving the main site back to /home/user/public_html.
It would be "nice" if Virtualmin could backup all of the contents of /home/user, excluding DocumentRoot's and then look to DocumentRoot for each site it needs to back up so that this sort of setup could be supported, but no biggie =)
Submitted by JamieCameron on Fri, 09/23/2011 - 23:44 Comment #3
I think what I will do is disallow use of a directory under
domains
, as they are reserved for sub-servers and so using such a directory confuses Virtualmin.Submitted by Issues on Fri, 10/07/2011 - 23:46 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.