Cronjob Backup

wise

New member
Joined
Dec 28, 2023
Messages
6
Hello,

Please can anyone help me to setup a Cronjob backup as a Admin Level -> Admin Backup/Transfer.

I would like to setup everyday at night from 0:00 hour ones at day. The backups needs to be stored only for 7 days.

  • Minute: *
  • Hour: *
  • Day of month: *
  • Month: *
  • Day of week: *
Thank you!
 
Minute: 0
Hour: 1
Day of Month: *
Month: *
Day of Week: *

- Append to path Day of Week

This makes an backup at 01:00 and each backup will be separate by day of the week (7 days)
 
Minute: 0
Hour: 1
Day of Month: *
Month: *
Day of Week: *

- Append to path Day of Week

This makes an backup at 01:00 and each backup will be separate by day of the week (7 days)
Please can you help me one more time.

How to set up the backup for every day but they need to be deleted or overwriting everyday to just store one day otherwise there will be no space

Thank you!
 
How to set up the backup for every day but they need to be deleted or overwriting everyday to just store one day otherwise there will be no space
This is already done by this cronjob, you dont have to do anything old backup will be overwritten after 7 days
 
Change "day of the week" from * to a certain day, then only on that day one backup is made and will be present until the next week and then a new one is made.
 
I would like to setup everyday at night from 0:00 hour ones at day. The backups needs to be stored only for 7 days.
I understand here 1 backup each day for 7 days right ?
No i would like to store only ONE day back and not 7 days.
Here you want 1 backup ?

Let me explain what this cronjob do

1 Each day at 01:00 server is generating backup and upload it to your backup server or local.
2. For example: you have started Today (Tuesday) and your backup is uploaded in Tuesdays directory , tomorrow new backup will be uploaded in Wednesday directory (directory are automatically created by DA backup)
3. This will go on till next week on Tuesday : the backup of last week of Tuesday will be overwritten so you have perfect backup for the last 7 days for each of your domain.
 
Last edited:
Change "day of the week" from * to a certain day, then only on that day one backup is made and will be present until the next week and then a new one is made.
Is not necessary, DA know this already and this way it doesn't create an directory for each day and you backup will be mixed .
We are doing this way all our backups and works flawless
 
Is not necessary, DA know this already and this way it doesn't create an directory for each day and you backup will be mixed .
We are doing this way all our backups and works flawless
Thank you!
 
Is not necessary, DA know this already and this way it doesn't create an directory for each day and you backup will be mixed .
??? What do you mean? If you have a star on weekday, then the backup will be created every day at 01.00 hours.
Indeed @wise was confusing about his wishes, but I answered to his question about 1 day backup every 7 days and then you need to change the weekday and also not use the "append to day of week" option.

But it seems he still wants 1 backup daily a week, yes then this change is not required and works like you say.
 
If you have a star on weekday, then the backup will be created every day at 01.00 hours.
Yep like I said, * put them all in 1 directory instead of putting them separately in daily directory's
But it seems he still wants 1 backup daily a week with the name of the day
What I understand it is opposite, he wants 1 backup for each day and that for 7 days long
 
Back
Top