[Whislist] Let Sbackup use anacron over cron
Bug #106153 reported by
Oumar Aziz OUATTARA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbackup |
Fix Released
|
Medium
|
Oumar Aziz OUATTARA | ||
sbackup (Ubuntu) |
Fix Released
|
Undecided
|
Oumar Aziz OUATTARA |
Bug Description
Binary package hint: sbackup
The goal is to have the backup done even if the computer is off at the time specified.
Use case :
I have set sbackup to make a daily incremental backup at 08:30 PM but at this time I have my computer shut down. when I restart it the day after at 9:00 AM sbackup makes the backup with the right date Tag.
Changed in sbackup: | |
status: | Unconfirmed → Fix Committed |
Changed in sbackup: | |
importance: | Undecided → Medium |
status: | Unconfirmed → In Progress |
Changed in sbackup: | |
assignee: | nobody → wattazoum |
status: | Fix Committed → Fix Released |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here is my patch for that functionality :
Changelog :
=======
* GUI changes :
* added 2 radio boxes ('simply' and 'precisely' on the Time Tab ) 'Simply' will use anacron, 'precisely' will be the old behaviour
* simple- backup- config : sbackup/ sbackup in /etc/cron.daily/ /etc/cron.monthly/ /etc/cron.weekly/ /etc/cron.hourly/ if anacron option has been chosen
* Code cleaned to prevent warnings about non existing GTK components : see Bug #106818
* To use anacron, sbackup craetes a link to /usr/share/
* Created a sbackup script to install in /usr/share/ sbackup/ sbackup (this script is almost the sme created by sbackup in /etc/cron.d/
* Makefile : sbackup/ sbackup"
* add a flag to create non existing dirs
* install the "sbackup" script in "/usr/share/
Please check and apply that patch .