Hi im trying setup backup to my external cloud drive and i cant make it work. I already tried cuflftpfs and cifs, both mounted via fstab. Both metods giving me this errors: Code: St úno 6 02:50:42 CET 2019 PHP Warning: chown(): Permission denied in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup_mail.inc.php on line XXX St úno 6 02:50:42 CET 2019 PHP Warning: chgrp(): Permission denied in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup_mail.inc.php on line XXX Im getting same errors on ubuntu 16.04 server(multiserver) and 18.04 server(single server). I was tring to play with flags like allow_other,gid,uid ..etc. I'm testing everything as root user and mounting with uid,gid:0 Bigest progress so far was FTP: Created 'webX' folders with sql back-ups, but no zips with data - achieved with help of cron-debug.php and with cron.php after editing last_run, next_run in db CIFS: one comlete back-up (web42) - other webX folders wasnt even created - again with help of cron.php and cron-debug.php It looks like is something bad with permisions, but this behavior is really wierd.... Any ideas are welcome. Thanks
Ok ..... i figured it out ... Solution: Never ever try to set something in 3AM (Read: dont try to debug weekly back-up in tuesday - they're hardcoded to sunday) anyway.. chown permision error is still here even if i got CIFS mounted with uid=0,gid=0 and backup mode "root".. maybe caused by this ?: 500-backup_mail.inc.php PHP: ....if($global_config['backups_include_into_web_quota'] == 'y')..... This statement always overwrite root with webX user and use them in chown ....
If your backup storage source does not support it to change the user of a file, then you should not enable the option to include backups into user quota.