[Samba] Problem with backup of the Samba 4
L.P.H. van Belle
belle at bazuin.nl
Fri Aug 21 09:58:22 UTC 2015
the script is not complete.
It isnt stopping samba and as the wiki says, DONT backup a running samba.
>Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>Verzonden: vrijdag 21 augustus 2015 11:25
>Aan: Marc Muehlfeld; Marcio Demetrio Bacci; samba at lists.samba.org
>Onderwerp: Re: [Samba] Problem with backup of the Samba 4
>Il 19/08/2015 07:16, Marc Muehlfeld ha scritto:
>> Hellor Marcio,
>> Am 19.08.2015 um 06:33 schrieb Marcio Demetrio Bacci:
>>> I followed the tutorial below to do backup of the Samba4:
>>> When I execute the backup script manually, it is executed
>>> when I execute in the crontab, it isn't work.
>>> It is my crontab on Debian 7:
>>> 0 1 * * 1-5 /usr/sbin/samba_backup
>>> Does somebody have an idea ?
>> I think $PATH differs in your situation from when you run it manually
>> and when cron does. You can add a
>> export $PATH=$PATH:...
>> to the top of the script, where you add all directories, used
>> executables are in.
>> For debugging, you can run the script via cron:
>> 0 1 * * 1-5 /bin/bash -x /usr/sbin/samba_backup >
>> and have a look in the log afterwards.
>I have the same problem and the log file show:
>Error while backuping ./private/privilege.ldb
>To unsubscribe from this list go to the following URL and read the
More information about the samba