my Virtualmin backup is not working if there’s already a folder.
Structure of Backup-FTP is:
/virtualmin/%Y-%m-%d
“Create destination directory?” is checked.
If i run the backup on clean server without the virtualmin folder, the backup will be fine, but if there’s already a backup virtualmin shows me this error.
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.570 Date: Wed, 25 Jan 2012 10:38:14 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Modification of a read-only value attempted at /usr/share/webmin/web-lib-funcs.pl line 2789, line 14
In theory, it should be no problem to have an existing directory (that’s in fact what I do on my own server).
If you look in /virtualmin, is there anything unusual about the owner of the directories that already existed?
One simpler thing I might suggest, is that sometimes errors like you’re getting above can happen due to Virtualmin upgrades where Webmin wasn’t properly restarted.
This is a long-shot, but can you try just giving Webmin a restart to see if that fixes it:
/etc/init.d/webmin restart
If that doesn’t help, and you don’t notice anything unusual with the permissions, let me know and we can ask Jamie what he thinks
In theory it should work. Existing folders don’t have to be a problem.
I restarted Webmin several times (also restarted the whole system), but the result stays the same. No Virtualmin-backup if the /virtualmin folder exists on backup-ftp.
Here some screenshots from the backup-ftp. User should be 56334.
I found out, if i make the backup on root-level (/virtualmin-%Y-%m-%d) without auto-delete, the backup is working. But i need to delete the old backups, because my backup-space is only around 250GB.