Info on local scheduled (full) Backups

Hi, I’m searching for some documentation around the local scheduled (full and NOT incremental) backup feature but I cannot find the following information. I appreciate if someone can shed light, based on the latest version 2.3.1
Thanks in advance.

Let’s say I created a local scheduled job, expected to run daily with a 7 days retention (see screeenshot)

  1. When does the job run?
  2. Can the scheduled time be changed?
  3. Here is my cronjob -l as root… as by original installation, but I see only stuff related to the incremental backups. I gues there should be something to kick-off the scheduled jobs but what and where?
  4. How to know what gets copied? DBs, Website data, Emails for the specified sites?
0 * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/findBWUsage.py >/dev/null 2>&1
0 * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py hourlyCleanup >/dev/null 2>&1
0 0 1 * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py monthlyCleanup >/dev/null 2>&1
0 2 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/upgradeCritical.py >/dev/null 2>&1
0 2 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/renew.py >/dev/null 2>&1
7 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
0 0 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Daily
0 0 * * 0 /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Weekly
*/3 * * * * if ! find /home/*/public_html/ -maxdepth 2 -type f -newer /usr/local/lsws/cgid -name '.htaccess' -exec false {} +; then systemctl restart lsws; fi
09,39 * * * * /usr/local/CyberCP/bin/cleansessions >/dev/null 2>&1

P.S.
I’d like to know as well if the database backup used for the local full scheduled backup is using mysqldump or Mariabackup. I ask becasue I use data encryption at rest which is supported by Mariabackup. Thanks again

I just found the following by myself, so it might be useful to others:

  • the DB is saved as a dump (.sql)
  • the whole website is saved, including the SSL cert
  • everything related to mail is included as well

My first 3 questions still stand :slight_smile: Thanks

1 Like

1, Cron run at midnight or the time when you set.
2. Yes can be changed.
3. you can see in the crontab -l
4. extract one backup file and you will see all

@shoaibkk Thanks

Can you please tell me which command(s) in the cron list that I posted previously are/is reponsible for the “full” backup?

I guess these 2 but they look like relative to Incremental backups…

0 0 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Daily
0 0 * * 0 /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Weekly

Cheers

I was just searching for how to run the daily backup on demand to test the backup was working ok and found your post. I can confirm running this worked for me:

/usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Daily