> On Tue, 10 Apr 2012 15:35:45 -0700, Murray Davis said:
>
> As Martin S. suggested, I ended up moving the script to /etc/bacula and the
> bacula was able to run the script before the job ran...which still seems
> strange given that the permissions were the same in the /root directory as
> in
As Martin S. suggested, I ended up moving the script to /etc/bacula and the
bacula was able to run the script before the job ran...which still seems
strange given that the permissions were the same in the /root directory as
in the /etc/bacula directory.
-
> On Thu, 5 Apr 2012 16:27:56 -0700, Murray Davis said:
>
> When logged on as root, I can run the following script to backup my MySQL
> databases to a local folder:
>
> #!/bin/bash
>
> BACKUPLOCATION=/var/local/mysqlbackups
> LOGFILE=/usr/local/sbin/backupdbs.log
> GZIP="$(which gzip)"
> NOW
On 04/05/2012 07:27 PM, Murray Davis wrote:
> When logged on as root, I can run the following script to backup my
> MySQL databases to a local folder:
[...]
> 05-Apr 16:18 cablemon-dir JobId 27: shell command: run BeforeJob
> "/usr/local/sbin/backupdbs"
> 05-Apr 16:18 cablemon-dir JobId 27: Befo
When logged on as root, I can run the following script to backup my MySQL
databases to a local folder:
#!/bin/bash
BACKUPLOCATION=/var/local/mysqlbackups
LOGFILE=/usr/local/sbin/backupdbs.log
GZIP="$(which gzip)"
NOW=$(date +"%d-%m-%Y")
RETENTION=30
#remove .gz files greater than 30 days old
find