You are here
Ronan0 - Thu, 2016/04/21 - 10:24
In the documentation, I only see cron.daily and cron.hourly type scheduling used.
Can one use crontab for example? How would this be done?
Or what would be the recommended way to do it.
Thanks.
Forum:
I see no reason why you couldn't use crontab
So as a general rule, so long as the user the crontab is set up with has the required level of access (root for a TKLBAM job) then a cron.hourly/daily job should be fine as a crontab job; whereas if a job was originally set up to use crontab, it may not work as expected as a cron.daily/hourly job...
But TBH I'm not 100% sure. Why not have a play and see what works best for you?
Keep in mind too that if you are making the incremental backups more regular you'll probably also want to make the full backups more regular too. The longer the incremental backup chain gets, the more "fragile" it becomes.
Regarding the format, I'm not familiar enough to give you any OTTOMH guidance so I suggest that you have a read of some docs. Google turned up this page. It's actually for Ubuntu but Turnkey is Debian based which is what Ubuntu is also based on so should be near enough IMO...
Ok, thanks for that. So just
Ok, thanks for that.
So just to set out what I think I will do - I will leave tklbam-backup where it is, where it is run each morning, and then add an extra backup via my (root) crontab with the entry:
15 13 * * 1-5 /etc/cron.daily/tklbam-backup
I.e. Also run the existing tklbam-backup file every day at lunch time, Mon-Fri.
Before I do some testing, does that seem like a reasonable thing to do?
Thanks again. Ronan.
Sounds like a good plan
Add new comment