Hello!
Is your feature request related to a problem? Please describe.
Timeshift is designed to protect system files and settings. It is NOT a backup tool and is not meant to protect user data.
Before system upgrade, i've made a snapshot using Timeshift, and it successfully restored the system into working state after upgrade failed.
However, i have some LXD containers, and somehow after reboot some LVM volumes got irreversibly corrupted.
LXD have container snapshot and image backup commands, which i'd like to call before or after scheduled daily timeshift snapshot.
Describe the solution you'd like
Please, add support for "Post/Pre snapshot create" hooks.
UPD 230311 Right now I have no clue how to implement it, but it seems to me, that it may look like something similar to this: eee15b2.
Describe alternatives you've considered
I've configured timeshift-autosnap feature, so the best option is to have a "Post/Pre snapshot create" hook for this task, but, of course, the requested feature can be implemented using Linux crontab.
Thank you for your efforts.
Hello!
Is your feature request related to a problem? Please describe.
Before system upgrade, i've made a snapshot using Timeshift, and it successfully restored the system into working state after upgrade failed.
However, i have some LXD containers, and somehow after reboot some LVM volumes got irreversibly corrupted.
LXD have container snapshot and image backup commands, which i'd like to call before or after scheduled daily timeshift snapshot.
Describe the solution you'd like
Please, add support for "Post/Pre snapshot create" hooks.
UPD 230311 Right now I have no clue how to implement it, but it seems to me, that it may look like something similar to this: eee15b2.
Describe alternatives you've considered
I've configured timeshift-autosnap feature, so the best option is to have a "Post/Pre snapshot create" hook for this task, but, of course, the requested feature can be implemented using Linux crontab.
Thank you for your efforts.