Hi, in the "backup" folder in the web folders there is a backup within the maildirs from the users, but when I start the backup from ISPConfig I got a backup without the maildirs... Could you please help? Greetz Marc
These are two different backups. One is created by a nightly cron job and contains everything, the other one contains only the web directory.
But in the Zip-file of the backup from the interface there is the "user" directory too, only the Maildir folder is empty...
Please post an "ls -l" from inside your Maildir folder. I guess the the backup script does not have read permissions on your mail files.
Yes, you're right, the Maildir and tmp folder has only 700 permission. how can I change this, without changing the permissions? is it possible with sudo???
The only way is to change the permissions. If you change the ownership, then no more mails will arrive...
But this must be done via cronjob, because the permission is changed everytime a new folder is created. Is there no possibility to change s.th. in the script or sudo a command in the script for the backup???
The backup created by the cron job should contain everything, because it is run as root. But the backup you create from the ISPConfig web interface are created as user admispconfig, and they cannot contain everything. It's a permissions problem.
Yes you're right, but my question is, is it possible to change the "zip" commands in the backup script to "sudo zip" and do it as root?