SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
ezrsnapshots eliminates cron job tuning and need for anacron
Author Message
Post ezrsnapshots eliminates cron job tuning and need for anacron 
Hello.I made a feature request here:https://sourceforge.net/tracker/?func=detail&aid=3502264&group_id=88546&atid=587079with some ideas about possible ways to do things easier for the user. I see much interest in such discussion here on the mailing list  (much of which is directly relevant to this idea), so that's great.  Since then I built a toy implementation, and got carried away into really making a serious alpha of an rsnapshot clone, attached at the feature request (but written in bash so not usable by people without bash).The main point is that it has results and configuration similar to rsnapshot (compatible .conf files within some limitations)  but it doesn't require tuning crontab files at all.  Only one high frequency cron job is needed (which could be set up automatically at installation).  Furthermore if your laptop is off when the monthly should run, it's no problem: It will make a monthly the next time it does run but without  needing the usual further complication of configuring slower intervals using anacron.  There is no concern about job timing separation and collision  because there are not separate job types for each interval.I do this using time-stamped directory names without any rotations or promotions (no moving from backup.0 to backup.1 or from daily to monthly).   I have much technical discussion in the README  and in the code itself.  Presently it syncs directly into whatever level needs an update.  This makes some differences in the backup behavior, primarily in how many backups you should choose for each interval, discussed in the readme, and it's possible to make this more like the rsnapshot behavior with what I call "delayed promotion"  (I have started to make a version that does that, but it's not clear how much point there is in finishing it and I got distracted).  Basically as-is, 4 weekly backups and 30 daily backups makes 34 days of backups, not two months. So you might want to configure 8 weekly backups and 26 daily backups to get the traditionally expected behavior. That's about the biggest reason the difference matters at all.There's a simluator included that allows you to see it in action, see the README.I made this as  much to prove the idea as anything so if any of the ideas are useful feel free to use them. I am unlikely to set up a maintenance and support page for ezrsnapshots.  I really just meant to make a simple script for myslef and to prove the concept and got carried away.  This really isn't just a simple script anymore.  It has safety checks and transaction rollback almost like a real program should.-dagurasuforge

------------------------------------------------------------------------------
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 ezrsnapshots eliminates cron job tuning and need for anacron 
Sorry, with paragraph formatting this time hopefully:

Hello.

I made a feature request here:
https://sourceforge.net/tracker/?func=detail&aid=502264&&group_id=8546&&atid=87079

with some ideas about possible ways to do things easier for the user. I see much interest in such discussion here on the mailing list (much of which is directly relevant to this idea), so that's great. Since then I built a toy implementation, and got carried away into really making a serious alpha of an rsnapshot clone, attached at the feature request (but written in bash so not usable by people without bash).

The main point is that it has results and configuration similar to rsnapshot (compatible .conf files within some limitations) but it doesn't require tuning crontab files at all. Only one high frequency cron job is needed (which could be set up automatically at installation). Furthermore if your laptop is off when the monthly should run, it's no problem: It will make a monthly the next time it does run but without needing the usual further complication of configuring slower intervals using anacron. There is no concern about job timing separation and collision because there are not separate job types for each interval.

I do this using time-stamped directory names without any rotations or promotions (no moving from backup. to backup. or from daily to monthly). I have much technical discussion in the README and in the code itself. Presently it syncs directly into whatever level needs an update. This makes some differences in the backup behavior, primarily in how many backups you should choose for each interval, discussed in the readme, and it's possible to make this more like the rsnapshot behavior with what I call "delayed promotion" (I have started to make a version that does that, but it's not clear how much point there is in finishing it and I got distracted). Basically as-is, weekly backups and 0 daily backups makes 4 days of backups, not two months. So you might want to configure weekly backups and 6 daily backups to get the traditionally expected behavior. That's about the biggest reason the difference matters at all.

There's a simluator included that allows you to see it in action, see the README.

I made this as much to prove the idea as anything so if any of the ideas are useful feel free to use them. I am unlikely to set up a maintenance and support page for ezrsnapshots. I really just meant to make a simple script for myslef and to prove the concept and got carried away. This really isn't just a simple script anymore. It has safety checks and transaction rollback almost like a real program should.

-dagurasuforge


------------------------------------------------------------------------------
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 ezrsnapshots eliminates cron job tuning and need for anacron 
For what it's worth, formatting problems destroyed numbers somehow,..  this part should have said:

"Basically as-is (in ezrsnapshots), 4 (four) weekly backups and 30 (thirty) daily 
backups makes 34 (thirty-four) days of backups, not two months. So you might want to 
configure 8 (eight) weekly backups and 26 (twenty-six) daily backups to get the traditionally 
expected behavior."


-dagurasu
----------------------------------------
From: dagurasu-forge < at > hotmail.com
To: rsnapshot-discuss < at > lists.sourceforge.net
Date: Thu, 14 Jun 2012 07:41:06 +0000
Subject: [rsnapshot-discuss] ezrsnapshots eliminates cron job tuning and need for anacronşşş



Sorry, with paragraph formatting this time hopefully:

Hello.

I made a feature request here:
https://sourceforge.net/tracker/?func=detail&aid=502264&&group_id=8546&&atid=87079

with some ideas about possible ways to do things easier for the user. I see much interest in such discussion here on the mailing list (much of which is directly relevant to this idea), so that's great. Since then I built a toy implementation, and got carried away into really making a serious alpha of an rsnapshot clone, attached at the feature request (but written in bash so not usable by people without bash).

The main point is that it has results and configuration similar to rsnapshot (compatible .conf files within some limitations) but it doesn't require tuning crontab files at all. Only one high frequency cron job is needed (which could be set up automatically at installation). Furthermore if your laptop is off when the monthly should run, it's no problem: It will make a monthly the next time it does run but without needing the usual further complication of configuring slower intervals using anacron. There is no concern about job timing separation and collision because there are not separate job types for each interval.

I do this using time-stamped directory names without any rotations or promotions (no moving from backup. to backup. or from daily to monthly). I have much technical discussion in the README and in the code itself. Presently it syncs directly into whatever level needs an update. This makes some differences in the backup behavior, primarily in how many backups you should choose for each interval, discussed in the readme, and it's possible to make this more like the rsnapshot behavior with what I call "delayed promotion" (I have started to make a version that does that, but it's not clear how much point there is in finishing it and I got distracted). Basically as-is, weekly backups and 0 daily backups makes 4 days of backups, not two months. So you might want to configure weekly backups and 6 daily backups to get the traditionally expected behavior. That's about the biggest reason the difference matters at all.

There's a simluator included that allows you to see it in action, see the README.

I made this as much to prove the idea as anything so if any of the ideas are useful feel free to use them. I am unlikely to set up a maintenance and support page for ezrsnapshots. I really just meant to make a simple script for myslef and to prove the concept and got carried away. This really isn't just a simple script anymore. It has safety checks and transaction rollback almost like a real program should.

-dagurasuforge


------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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

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