backup debug and timing

Discussion in 'ISPConfig 3 Priority Support' started by Honza, Feb 6, 2018.

  1. Honza

    Honza Member HowtoForge Supporter

    Hi,
    I'm running a server on Debian 8 and if I run dpkg-reconfigure tzdata
    it shows:
    Code:
    Current default time zone: 'America/Montreal'
    Local time is now:      Tue Feb  6 14:48:40 EST 2018.
    Universal Time is now:  Tue Feb  6 19:48:40 UTC 2018.
    My question is - which time does it use when it's running cron scripts such as build-in website backups?

    At this moment the backups doesn't work - nothing is actually generated in backup directory but I might just impatient, is there any way to debug whether there was an attempt on creating the backups but ie. failed while being copied to a mounted directory (another server connected via samba)?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    As far as I know, it should be using the local time. But the php timezone settings matter there as well.

    You should be able to debug cron plugins like the backup plugin with the script /usr/local/ispconfig/server/cron_debug.php The script contains some usage instructions inside.
     
  3. Honza

    Honza Member HowtoForge Supporter

    Thanks till for quick followup.

    Is there any way to manually run the backup script so I know that the actual process works fine it's just about the timing?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, see my comment on cron plugin debugging.
     

Share This Page