Scheduled tasks stopped working after upgrade to v17.1

Bug #1658309 reported by Åke Engelbrektson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TimeShift
Fix Released
High
Tony George

Bug Description

I tried clean reinstall but didn't help. There is no script at /etc/cron.daily/. I found /etc/cron.hourly/timeshift-hourly, but I've never configured hourly schedule, only daily.
After reinstall I manually created snapshot, but neither that or boot snapshot was found by timeshift. They are present at snapshot directory.
Here's output...

$ sudo timeshift --check
[sudo] password for eson:
Boot snapshots are enabled
Last boot snapshot not found
Tagged snapshot '2017-01-21_11-41-51': boot
Daily snapshots are enabled
Last daily snapshot not found
Tagged snapshot '2017-01-21_11-41-51': daily

timeshift.json is OK but doesn't match gui.log. Here's related part of first log...

[11:45:11] Main: save_app_config()
[11:45:11] SnapshotRepo: available()
[11:45:11] is_available: ok
[11:45:11] Program settings saved: /etc/timeshift.json
[11:45:11] crontab -l
[11:45:11] crontab -l
[11:45:11] Cron task exists: /etc/cron.hourly/timeshift-hourly
[11:45:11] Cron task exists: /etc/cron.d/timeshift-boot
[11:45:11] unmount_target_device()
[11:45:11] clean_logs()

description: updated
Revision history for this message
Tony George (teejee2008) wrote :

Timeshift creates an hourly script for creating hourly/daily/weekly/monthly snapshots. This job runs every hour but creates snapshots only when required.

Please check if the correct backup device is selected in Settings window.

Changed in timeshift:
assignee: nobody → Tony George (teejee2008)
Revision history for this message
Åke Engelbrektson (eson) wrote :

Yes, it is. It's on a separate auto mounted disk and manual snapshot works perfect.

Revision history for this message
Tony George (teejee2008) wrote :

Fixed in v17.2. Timeshift will create the script /etc/cron.d/timeshift-hourly if any of the Hourly/Daily/Weekly/Monthly levels are selected.

Changed in timeshift:
status: New → Fix Released
importance: Undecided → High
Revision history for this message
Åke Engelbrektson (eson) wrote :

Thanks! Working fine now.

Revision history for this message
PJO (lexicographer) wrote :

I had the same problem but was running hourly, daily, weekly and monthly (on Linux Mint 18.1), backing up to an external drive. Didn't discover it had stopped on the 14th until yesterday. Things _didn't_ resume after updating to 17.2.

I then deleted all snapshots and made a manual backup. Since then a monthly backup has been made but not yet any daily, weekly or hourly backups.

Revision history for this message
PJO (lexicographer) wrote :

Ok, it's working now.

Monthly was done then Weekly followed two hours later for some reason, Daily and Weekly followed at hourly intervals.

I noticed MAILTO in the timeshift-hourly file. Are you planning to add mail notification? I think some kind of notification on the desktop would be great.

Revision history for this message
PJO (lexicographer) wrote :

:-(

just one hourly backup and then no more

/:-(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.