Skip to content

Instantly share code, notes, and snippets.

@ovelny
Last active June 19, 2024 16:01
Show Gist options
  • Save ovelny/12ccdb8ebcaaecaebdab228e902dfef5 to your computer and use it in GitHub Desktop.
Save ovelny/12ccdb8ebcaaecaebdab228e902dfef5 to your computer and use it in GitHub Desktop.
Fix for scheduled backups with Timeshift and Arch Linux

Issue

If you installed Timeshift from the AUR package (https://aur.archlinux.org/packages/timeshift/), you'll find that scheduled backups may not work. This is due to cronie being disabled by default.

Fix

Check if cronie is present first:

systemctl list-unit-files | grep cronie

This should return that the service is present, but disabled. Start it by running the following commands:

systemctl start cronie
systemctl start cronie.service

Now check if cronie is indeed enabled:

systemctl status cronie

If cronie is enabled and sheduled backups are working, make the change permanent by automatically enabling the service at startup:

systemctl enable cronie
systemctl enable cronie.service

Timeshift should now behave as intended with scheduled backups.

@scottyphillips
Copy link

Thanks!

@nathananderson98
Copy link

ty!

@xuongtrantrieu
Copy link

Thanks!!!!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment