anacron + backup
Martin Ericsson
i00marer at island.liu.se
Tue Aug 23 03:11:08 UTC 2005
Hi,
I want to do a daily backup of my home directory onto a partition on
another HD and save the last seven backups.
Question 1:
How do I make a script to perform that kind of backup?
Question 2:
I've noticed that both anacron and cron are installed on my hoary
system. Since I don't have my computer running 24/7 I don't see the need
for cron, but it's marked as suggested (or recommended, don't remember)
by anacron.
Running ps ax | grep cron just gives me cron, so I guess that anacron
uses cron somehow? But I can't figure out just how. anacrontab says:
1 5 cron.daily nice run-parts --report /etc/cron.daily
7 10 cron.weekly nice run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly nice run-parts --report
/etc/cron.monthly
and in i.e. cron.daily there's a file called 0anacron. So it seems like
anacron calls cron which calls anacron? Could somebody explain the setup
to me so I know where to but my scripts?
Regards,
Martin Ericsson
PS: If there's another way to perform the backup with using anacron and
scripts, please tell me!
More information about the ubuntu-users
mailing list