-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get sync_first in the cron job, && before lowest increment(hourly)? #18
Comments
hang on, maybe i just put the sync_first: true in the wrong place? Maybe i can throw that inside the hourly |
Ok, i can rightly say, that didnt work. I tried
as well as switching what you see that i original had. e.g. Not really sure what else to do. My sync is still running, its been going for a couple hours now. So cant just slip it in before the hourly. Im really going to have to run it in the time the hourly doesnt run, e.g. after 1800 hours, but then wait, that wont work, beacuse i need it to run hourly. man, ill have to see why its taking so long to run also. the archive was only 4.5GB.. Any help to get the sync_first correctly into the cronjob, using this module, and hiera config, would be GREATLY appreciated. Thanks. I also wonder if its taking so long because it looks like it ran twice this most recent past. Anyway, ill share my log incase it helps. Thanks.
|
Hi @brian-lamb-software-engineer , sorry for the late reply. I fear this project is abandoned and I need someone to take ownership of it. I haven't gotten to the point where it would be acceptable to transfer to the voxpopuli org, but I hope to manage to get in touch with some of the guys there. It should see significant improvement once I manage to transfer the project. Or you can take ownership. if you want :) |
Thanks for the response. Fair enough. Appreciate what you did thus far. Do you remember if the sync_first is available? it seemed it was. |
How will i
sync
before the hourly?What
sync_first
needs is, without otherwise careful timing that is subject-to-change, is by default, thesync
command to run "with" && before the lowest interval.How can i make my cron job look like this?
0 */4 * * * /usr/local/bin/rsnapshot sync && /usr/local/bin/rsnapshot hourly
instead of like it does now?
0 */4 * * * /usr/local/bin/rsnapshot hourly
?Im guessing its allowed that i add a cron entry for sync interval, just as we would hourly? Im going to try this, and if it doesnt work, i cant see how sync_first can ever work without it using puppet with this module!
e.g.
Ill add my hiera here, because this stuff isn't easy!!!!!!!!!!!!!!!!!!!!!!!!
The text was updated successfully, but these errors were encountered: