https://bugs.koozali.org/show_bug.cgi?id=12456

            Bug ID: 12456
           Summary: Installs OK, I can run manually, but automated as a
                    cron job does not work.
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-automysqlbackup
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Installation
 > yum install --enablerepo=smecontribs smeserver-automysqlbackup
 > rpm -qi smeserver-automysqlbackup
     Name        : smeserver-automysqlbackup
     Version     : 3.0.RC6
     Release     : 32.el7.sme

Config
> config show automysqlbackup
automysqlbackup=webapp
    Backup_local_files=
    Backupdir=/root/backup/db  
    DbPassword=xxxxxxxxxxxxxxxxxx
    Dbencrypt_password=xxxxxxx
    Encrypt=no
    Hour=4
    Mailcontent=log
    [email protected]
    Minute=1
    Mymaria105=disabled
    Sizemail=8000

Manual execution works
> automysqlbackup
Invoking backup method.


# Checking for permissions to write to folders:
base folder /root/backup ... exists ... ok.
backup folder /root/backup/db ... exists ... writable? yes. Proceeding.

Files are written to /root/backup/db/ and looks OK.


Crontab entry
[root@e-smith cron.d]# more /etc/cron.d/runmysqlbackup
#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
1 4 * * * root /sbin/e-smith/runmysqlbackup -bc
/etc/automysqlbackup/mymaria.conf > /dev/null ;

There are no traces of any files produced by any automated cronjob and I do not
receive any mails (I do not receive mails when manually executing either).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to