Hi,
One of our customers, who is working with a reseller account, wants to be able to backup all of his virtual servers. I therefore checked the box "Can backup virtual servers?". After that, the reseller can make a backup, but when executing it, it gives the following error (backup to FTP):
Error log: Creating backup for virtual server kostuum-verhuur.nl .. .. failed to create temporary backup directory /home/kostuum-verhuur/.backup : mkdir: cannot create directory /home/kostuum-verhuur/.backup': Permission denied Uploading archive to FTP server .. .. done Creating backup for virtual server goedemorgenontbijtservice.nl .. .. failed to create temporary backup directory /home/goedemorgenontbijtservice/.backup : mkdir: cannot create directory/home/goedemorgenontbijtservice/.backup': Permission denied Uploading archive to FTP server .. .. done Creating backup for virtual server champagne-ontbijt.com .. .. failed to create temporary backup directory /home/champagne-ontbijt/.backup : mkdir: cannot create directory /home/champagne-ontbijt/.backup': Permission denied Uploading archive to FTP server .. .. done Creating backup for virtual server rolfvanderhorst.nl .. .. failed to create temporary backup directory /home/rolfvanderhorst/.backup : mkdir: cannot create directory/home/rolfvanderhorst/.backup': Permission denied Uploading archive to FTP server .. .. done Creating backup for virtual server abrahamontbijt.nl .. .. failed to create temporary backup directory /home/abrahamontbijt/.backup : mkdir: cannot create directory
This with all the updates available applied?
Thanks!
Comments
Submitted by JamieCameron on Mon, 08/02/2010 - 03:26 Comment #2
Re-posting :
That sounds like a bug actually..
Does the directory /home/kostuum-verhuur/.backup already exist, and if so what is its ownership and permissions?
Submitted by signet on Mon, 08/02/2010 - 03:56 Pro Licensee Comment #3
Hi,
The " .backup" dir doesn't exist?
Submitted by JamieCameron on Mon, 08/02/2010 - 05:29 Comment #4
Ok, in that case what is the ownership and permissions of the
/home/kostuum-verhuur
directory, as shown by :ls -ld /home/kostuum-verhuur
Submitted by signet on Mon, 08/02/2010 - 09:19 Pro Licensee Comment #5
[root@cvdhoene1 /]# \ls -lhd /home/kostuum-verhuur/ drwxr-x--- 11 kostuum-verhuur kostuum-verhuur 4.0K Jan 6 2010 /home/kostuum-verhuur/
Submitted by JamieCameron on Tue, 08/03/2010 - 08:07 Comment #6
Ok, I see the cause of this now .. it is actually a Virtualmin bug, which I will fix in version 3.80.
Let me know if you'd like a patch to get the fix sooner.
Submitted by signet on Tue, 08/03/2010 - 10:08 Pro Licensee Comment #7
Hi Jamie,
When is the update due? I rather not update the code myself :)
Thanks,
Justin.
Submitted by JamieCameron on Tue, 08/03/2010 - 18:01 Comment #8
It will be 1-2 weeks. If you need a fix sooner, just edit the file
/usr/libexec/webmin/virtual-server/backup.cgi
and on line 172 change :$cbmode >= 2
to :
$cbmode == 2
Submitted by signet on Thu, 08/05/2010 - 10:52 Pro Licensee Comment #9
Hi Jamie,
Thanks, de fix worked :)
Submitted by Issues on Thu, 08/19/2010 - 13:19 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.