On Wed, Jun 13, 2012 at 2:20 PM, Zachary Stern <zs < at > enternewmedia.com> wrote:
[13/Jun/2012:01:00:01] /usr/bin/rsnapshot -v -c
/etc/rsnapshot/rsnapshot-humanresources.conf daily: started
[13/Jun/2012:01:00:01] echo 18605 > /var/run/rsnapshot-humanresources.pid
[13/Jun/2012:01:00:01] mv /media/backup/userdata/human_resources/daily.1/
[13/Jun/2012:01:00:01] mv /media/backup/userdata/human_resources/daily.0/
[13/Jun/2012:01:00:10] mv /media/backup/userdata/human_resources/hourly.8/
[13/Jun/2012:01:00:10] rm -f /var/run/rsnapshot-humanresources.pid
[13/Jun/2012:01:00:10] /usr/bin/rsnapshot -v -c
/etc/rsnapshot/rsnapshot-humanresources.conf daily: completed successfully
I can see that hourly.8 was turned into daily.0.
What's the point of running a daily job at a certain time if it's not only
not creating a new backup for changed files, but ALSO it's creating the
latest daily from my most out-of-date hourly.
What does your cron job look like?
Here's an example:
01 */1 * * * root /usr/bin/rsnapshot hourly
55 19 * * * root /usr/bin/rsnapshot daily
50 19 * * 5 root /usr/bin/rsnapshot weekly
45 19 1 * * root /usr/bin/rsnapshot monthly
At 7:45pm on the first of every month, take the oldest weekly backup
and turn it into a monthly backup.
At 7:50pm on Fridays, rotate the oldest daily backup into a weekly backup.
At 7:55 every day, rotate the oldest hourly into a daily backup.
At one minute past every hour, take an hourly backup.
So, to directly answer your question--the point is that the very next
thing that should happen is that you run an hourly backup.
I"m not sure if that answers your question or not. If it doesn't,
I'll try again......
I assume I'm missing something here.
It's not an easy concept---because you want to look at daily.0 and see
a daily backup. That's not what you have. You have hourly backups
encompassing the previous day.
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net