The officially official Devuan Forum!

You are not logged in.

#1 2023-09-06 00:43:07

rdav
Member
Registered: 2017-06-30
Posts: 40  

[SOLVED] How to daemonize Timeshift so it can be run as a service?

Hi All,

I am looking for clues on to run timeshift as a system daemon.
https://github.com/linuxmint/timeshift

This is so timeshift is started by init on bootup or manually as a service.

So far I have found notes on how to daemonize for a systemd system, which wouldn't work with Devuan.

Please point me in the right direction so I can learn how to do this!

thanks in advance!

- rdav

Last edited by rdav (2023-09-06 02:37:26)

Offline

#2 2023-09-06 02:02:17

Altoid
Member
Registered: 2017-05-07
Posts: 1,436  

Re: [SOLVED] How to daemonize Timeshift so it can be run as a service?

Hello:

rdav wrote:

... clues on to run timeshift as a system daemon.

As a system daemon?

I have been using timeshift for many years now.
But it is not set up as a daemon (at least not since I started using it).

It runs cron jobs which you set up when you configure it to do what you want.
ie: schedule the [hourly, daily, weekly, monthly] snapshots.

And if you need to take one manually, you just do it directly from the UI.

See here and here.

Bear in mind that the original developer/maintainer (teejee) closed shop and it is now maintained by the people at Linux Mint.

HTH.

Best,

A.

Last edited by Altoid (2023-09-06 02:02:58)

Offline

#3 2023-09-06 02:41:25

rdav
Member
Registered: 2017-06-30
Posts: 40  

Re: [SOLVED] How to daemonize Timeshift so it can be run as a service?

HI Altoid,

Tnanks for the details and links!

- rdav

Offline

#4 2023-09-06 20:28:08

Altoid
Member
Registered: 2017-05-07
Posts: 1,436  

Re: [SOLVED] How to daemonize Timeshift so it can be run as a service?

Hello:

rdav wrote:

Tnanks ...

You're welcome.

Be sure to check the different targets that Timeshift and BackInTime have.
Timeshift is better suited for system file backups and BackInTime for data file backups.

Teejee wrote:

Timeshift is similar to applications like rsnapshot, BackInTime ...  ... but with different goals. It is designed to protect only system files and settings. User files such as documents, pictures and music are excluded. This ensures that your files remains unchanged when you restore your system to an earlier date.

Best,

A.

Offline

#5 2023-09-06 23:46:07

rdav
Member
Registered: 2017-06-30
Posts: 40  

Re: [SOLVED] How to daemonize Timeshift so it can be run as a service?

Altoid,

Thanks for the distinciton re Timeshift vs BackinTime

Super helpful to share as I was wondering exactly this.

kinid regards

- rdav

Offline

#6 2023-09-07 20:39:48

Altoid
Member
Registered: 2017-05-07
Posts: 1,436  

Re: [SOLVED] How to daemonize Timeshift so it can be run as a service?

Hello:

rdav wrote:

Thanks ...
... was wondering exactly this.

You're welcome.
If so, please mark the thread as [solved].

Best,

A.

Offline

Board footer