P Phlogi Renowned Member Jul 21, 2015 37 4 73 Apr 26, 2016 #1 Is there a way to change the default permission for the backup files created by the cron job? I'd like to have group write permission as I need this for later syncing the backups and would like to avoid a second cron job or some script if possible.
Is there a way to change the default permission for the backup files created by the cron job? I'd like to have group write permission as I need this for later syncing the backups and would like to avoid a second cron job or some script if possible.
wbumiller Proxmox Staff Member Staff member Jun 23, 2015 727 136 113 Apr 26, 2016 #2 You could make a "backup-end" hook for that (see the script option in vzdump.conf) which changes the permissions after the backup's done.
You could make a "backup-end" hook for that (see the script option in vzdump.conf) which changes the permissions after the backup's done.
P Phlogi Renowned Member Jul 21, 2015 37 4 73 Apr 26, 2016 #3 Thank you, that will perfectly suit my needs!