i have to try, don't know if i have to add user bacula to sudoers first... thanks :)
Am 02.12.2010 20:52, schrieb Martin Lehmann: > Use "sudo -u sogo ...." > > Am 02.12.2010 20:35, schrieb J. Echter: >> as i wrote this... >> >> ldap backup could be done with a 'run_before_job' script, i think, but >> sogo-tool has to be run as user sogo... >> >> cheers... >> >> Am 02.12.2010 20:33, schrieb J. Echter: >>> Hi, >>> >>> a good method to backup SOGo& LDAP is...? ;) >>> >>> We use Bacula for backups, so i wanted to use the sogo-tool and slapcat >>> to backup the services. >>> >>> My idea was to make crontab entry for user sogo and root, like this: >>> >>> sogo user --> /usr/sbin/sogo-tool backup /bacula/sogo-backup >>> root: slapcat -l /bacula/sogo-backup/backup.ldif >>> >>> but it doesnt work, no files are created... >>> >>> i know i must have missed something :) but what? >>> >>> greetz >>> >>> juergen -- [email protected] https://inverse.ca/sogo/lists
