SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
only daily jobs running
Author Message
Post only daily jobs running 
Hey All,

I've got rsnapshot set up with cronjobs on a new server, and for whatever reason, only the hourly backups are being done.


I can understand why there might not be any weekly or monthly backups yet, but why not daily?


crontab - http://pastie.org/3926145
rsnapshot config - http://pastie.org/3926154


What am I doing wrong here?


Thanks!


-Zachary

Post only daily jobs running 
Hallo, Zachary,

Du meintest am 17.05.12:

Hey All,

I've got rsnapshot set up with cronjobs on a new server, and for
whatever reason, only the hourly backups are being done.

I can understand why there might not be any weekly or monthly backups
yet, but why not daily?

crontab - http://pastie.org/3926145

0 */3 * * * root /usr/bin/rsnapshot -c /etc/rsnapshot-
nas.conf hourly
30 3 * * * root /usr/bin/rsnapshot -c /etc/rsnapshot-nas.conf daily
0 3 * * 1 root /usr/bin/rsnapshot -c /etc/rsnapshot-nas.conf weekly
30 2 1 * * root /usr/bin/rsnapshot -c /etc/rsnapshot-nas.conf monthly

That's no good time plan.

The "hourly" and the "weekly" job must not run the same time.

What tells the log file (may be "/var/log/rsnapshot.log")?

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
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
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post only daily jobs running 
That's no good time plan.

The "hourly" and the "weekly" job must not run the same time.


Changed as follows: 


 0 */3  * * *           root    /usr/bin/rsnapshot -c /etc/rsnapshot-nas.conf hourly
 30 3   * * *           root    /usr/bin/rsnapshot -c /etc/rsnapshot-nas.conf daily
 0  4   * * 1           root    /usr/bin/rsnapshot -c /etc/rsnapshot-nas.conf weekly
 30 2   1 * *           root    /usr/bin/rsnapshot -c /etc/rsnapshot-nas.conf monthly 


 
What tells the log file (may be "/var/log/rsnapshot.log")?




Rsnapshot log for the last few days - http://pastie.org/3926698


Appreciate your input Very Happy

Post only daily jobs running 
Op donderdag 17 mei 2012 14:07:02 schreef Zachary Stern:
That's no good time plan.

The "hourly" and the "weekly" job must not run the same time.

Changed as follows:

0 */3 * * * root /usr/bin/rsnapshot -c
/etc/rsnapshot-nas.conf hourly
30 3 * * * root /usr/bin/rsnapshot -c
/etc/rsnapshot-nas.conf daily
0 4 * * 1 root /usr/bin/rsnapshot -c
/etc/rsnapshot-nas.conf weekly
30 2 1 * * root /usr/bin/rsnapshot -c
/etc/rsnapshot-nas.conf monthly

What tells the log file (may be "/var/log/rsnapshot.log")?

Rsnapshot log for the last few days - http://pastie.org/3926698

Appreciate your input Very Happy

Hi Zachary,

Did you actually read the logs ?
It clearly states that the daily is not started because the hourly is not
finished yet.
You should run the daily before the hourly, and the weekly before the daily
and the monthly before the weekly.
Only the hourly yakes a lot of time.

Regards,
Pim

------------------------------------------------------------------------------
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
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post only daily jobs running 
On 17/05/2012 17:06, Zachary Stern wrote:
Hey All,

I've got rsnapshot set up with cronjobs on a new server, and for
whatever reason, only the hourly backups are being done.

I can understand why there might not be any weekly or monthly backups
yet, but why not daily?

crontab - http://pastie.org/3926145
rsnapshot config - http://pastie.org/3926154

Nothing will happen until you've got 10 'hourly' backups.

You also need to sort out the times of your cron jobs, so that you'll
never have two of them run at the same time (you have a clash between
hourly and weekly), and it is recommended that you time them so that on
days when they all run, they run in the order
monthly/weekly/daily/hourly. Something like this will be better
(abbreviated to avoid line-wrapping):

45 2 1 * * /usr/bin/rsnapshot monthly
50 2 * * 1 /usr/bin/rsnapshot weekly
55 2 * * * /usr/bin/rsnapshot daily
0 */3 * * * /usr/bin/rsnapshot hourly

--
David Cantrell | http://www.cantrell.org.uk/david

Seven o'clock in the morning is something that
happens to those less fortunate than me

------------------------------------------------------------------------------
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
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post only daily jobs running 
The way I understand rsnapshot is that it locks per-config file, so that multiple backups of the same data cannot be performed at the same time. If I use different config files for different resources that I want to backup (and different backup roots as well), can they be backed up simultaneously?

E.g. I want to backup different resources on similar schedules but with different retention levels. E.g. some quickbooks data on a file share, which is very large, and modified constantly. I would like to keep fewer backups of that, say just 7 daily backups and that's all.

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB