[SOLVED] Has anyone figured out how to schedule exact time of Timeshift Backups?
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Has anyone figured out how to schedule exact time of Timeshift Backups?
I searched forums, couldn't find this addressed. Has anyone figured out how to schedule the exact time of Timeshift backups? I would like to do it in the middle of the night, but all it allows in its scheduling tab is frequency (month, week, day, hour, etc.) not what time of day. I searched on web and found suggestions but none that actually worked...
I understand that timeshift is a frontend for rsync. If you can't find what you want, you could use rsync and schedule a cron job to run at a time of your choice.
rsync would be an option but I am trying to make Timeshift work since it is the "preferred" method in Mint now... Also, I tried everything from the Ubuntu forum you showed yesterday, to no avail.
I tried everything from the Ubuntu forum you showed yesterday, to no avail.
that's a bit thin.
i had a look at that thread, and before i even finished reading the first page, there were 2 or 3 things i'd like you to show detailed reports on.
esp. where it says in timeshift documentation that it can be used via cron.
that's a bit thin.
i had a look at that thread, and before i even finished reading the first page, there were 2 or 3 things i'd like you to show detailed reports on.
esp. where it says in timeshift documentation that it can be used via cron.
You are probably right, I looked at all the cron setup files I could find in etc/cron.d, cron.daily, hourly, monthly, weekly. All I found was a file called timeshift-hourly under etc/cron.d containing:
That looks like my best answer, thanks. I have done that and will see what it does next day or so. I was confused because it was under "hourly" - apparently timeshift runs hourly but only backs up according to internal settings. Running it just once a day will I hope force it to backup at that point in time.
As for your tagline, I know it's all-purpose, but I just gotta add, "I know, I was TRYING to B-A-C-K-U-P!"
OK, by using the link kindly offered by syg00 [https://github.com/teejee2008/timeshift/issues/64] I was able to solve this. I now get my updates at 3AM as desired. Apparently, timeshift by default uses an hourly cron job to start itself, and checks then to see if the scheduled backup has been done. It must have been deciding it needed to do so at 9 am each day. By removing the cron job for hourly and adding a daily one to be run at 3am, I get what I wanted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.