1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Scheduled backup not working

Discussion in 'Plesk for Linux - 8.x and Older' started by andanet, Feb 27, 2008.

  1. andanet

    andanet Guest

    0
     
    Hi all,

    In a CentOS server scheduled backup (ftp or local) doesn't work. If I reboot the machine it works only once and no more. The cron daemon is working because I have in /var/log/cron logs like this:
    Feb 27 01:37:01 hs-764 crond[1326]: (root) CMD (/usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)

    But no backup file is produced.

    Thanks in advance.
     
  2. DaDomainMasta

    DaDomainMasta Guest

    0
     
    check what is in psa database in BackupsScheduled, BackupObject and BackupSettings tables. backupmng uses that data to process backups, they should not be empty or corrupted.
     
  3. andanet

    andanet Guest

    0
     
    Thanks for yuor reply DaDomainMasta,

    Now I have been checking what is in the tables you said. Apparently they are OK, the only thing strange I saw is that in BackupsSettins table the backup_ftp_settingsplit_size param is set to 0 for some domains and is absent for others. But my settins for all domains is the same I don't split ftp file backups.
    Because I don't have to much domains in my server I'm thinking on erase all data from those tables and start backups from zero again. Do you know how safe is doing this?

    Regards.
     
  4. DaDomainMasta

    DaDomainMasta Guest

    0
     
    It is safe, no data else depends on this table.
    by the way, when scheduled backup is started (accroding to cron), try to track what is going on:
    #ps faux|grep backupmng
    #ps faux|grep pleskb
    #ps faux|grep bu|grep psa
     
  5. andanet

    andanet Guest

    0
     
    Good news, as you suggested I checked the system with ps founding 5 processes
    /usr/bin/python2.4 /usr/local/psa/admin/sbin/backup_info brief --ftp-host=<my_host_ip>
    which for some reason keep alive. I killed those processes and last two nights backups worked again.

    Thanks for your help.
     
Loading...