From: Eric J. <eje...@sw...> - 2009-01-13 03:50:36
|
Hi Bruce, On Jan 12, 2009, at 8:14 PM, Bruce Hyatt wrote: > I'll try this. It looks simpler than the "tower of Hanoi" at least. I > was hoping I could make a full backup and then run 1 simple job every > day that would backup all files changed since the last backup. Now I > have to dive into regex and scripts. Oh well, had to happen sooner or > later 8-} You could make life a little simpler by just hard-coding 8 lines into your crontab - just specify levels 1-7 for the seven days of the week (e.g. level 1 every Sunday, 2 every Monday, etc.) and then a level 0 from time to time, say, on the first day of a month. I guess you'd need to be careful that your level 0 didn't run at the same time as the other level dump scheduled for whatever day of the week the 1st happened to fall on. If you wanted to be even more careful, and not overwrite the previous level 1 dump with the next one, you could use unique filenames incorporating the date and time, e.g. a dump command like this: dump -1uaf dump_level1_`date "+%m-%d-%y"` / Not quite as sophisticated, but pretty simple to implement with cut- and-paste ;-) Eric |