From the course: Linux: Storage Systems

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Use backup tools

Use backup tools - Linux Tutorial

From the course: Linux: Storage Systems

Start my 1-month free trial

Use backup tools

- [Instructor] Let's talk about using cron to do a backup. Well if you're going to do a backup daily or hourly then your Lenox system might be already configured to make that pretty convenient, because it already runs stuff usually hourly and daily. If you go to etc and you list grep cron, you'll see a number of things. You'll see the anacrontab, if you look at that, down on the bottom there it's pretty cryptic but essentially the one for the cron.daily line there says run everyday, a delay of five minutes, we're calling it cron.daily and it's going to do a nice command. So it won't interfere with other stuff and we do the run-parts command, you can look at that, that's actually a script in bin. And it's going to run the cron.daily program. It's going to run the stuff in cron.daily all the programs in cron.daily. So if we go to cron.daily, and the anacron also says don't start before three in the morning, stuff like that. So we go here, and it's going to run all these scripts. You can…

Contents