SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Weekly rotations not working
Author Message
Post Weekly rotations not working 
I just installed a 1.2.1-1 on Linux, and I am using a configuration
that is running on another Linux box (running 1.6).

This is in the cron:

# Take a daily snapshot at 3:30 AM (5:30am is too late if runs contine into
8am)
30 3 * * * /usr/bin/rsnapshot daily > /dev/null 2>&1
# Take a weekly snapshot every Sunday morning at 11:00AM
0 11 * * 0 /usr/bin/rsnapshot weekly

And the output from the rsnapshot log for this past week is:

[26/Mar/2006:11:00:01] /usr/bin/rsnapshot weekly: started
[26/Mar/2006:11:00:01] /usr/bin/rsnapshot weekly: completed successfully

But there is not weekly.0 directory created.
The output from the rsnapshot -t weekly is:

$ rsnapshot -t weekly
echo 17989 > /var/lock/subsys/rsnapshot
mv /media/usbdisk/daily.6/ /media/usbdisk/weekly.0/

So, it looks like it will create the necessary directory. If I run it
manually,
the directory is created. Letting it run in cron, it isn't.

Am I missing something here? Does cron not have permissions or something?
The dailys are all running fine.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Weekly rotations not working 
Can you let us know if the weekly rotation worked this weekend?
If it didn't, can you send us the output of
$ ls -l /media/usbdisk

I was wondering if the problem was just that you didn't have a full
set of daily's yet, so rsnapshot couldn't rotate daily.6 to weekly.0.

On Wed, Mar 29, 2006 at 12:23:42PM -0500, Gardiner Leverett wrote:
I just installed a 1.2.1-1 on Linux, and I am using a configuration
that is running on another Linux box (running 1.6).

This is in the cron:

# Take a daily snapshot at 3:30 AM (5:30am is too late if runs contine into
8am)
30 3 * * * /usr/bin/rsnapshot daily > /dev/null 2>&1
# Take a weekly snapshot every Sunday morning at 11:00AM
0 11 * * 0 /usr/bin/rsnapshot weekly

And the output from the rsnapshot log for this past week is:

[26/Mar/2006:11:00:01] /usr/bin/rsnapshot weekly: started
[26/Mar/2006:11:00:01] /usr/bin/rsnapshot weekly: completed successfully

But there is not weekly.0 directory created.
The output from the rsnapshot -t weekly is:

$ rsnapshot -t weekly
echo 17989 > /var/lock/subsys/rsnapshot
mv /media/usbdisk/daily.6/ /media/usbdisk/weekly.0/

So, it looks like it will create the necessary directory. If I run it
manually,
the directory is created. Letting it run in cron, it isn't.

Am I missing something here? Does cron not have permissions or something?
The dailys are all running fine.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

--
___________________________________________________________________________
David Keegel <djk < at > cybersource.com.au> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

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