Timeshift USB Stick - Reboot

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MRL_LMint
Level 1
Level 1
Posts: 31
Joined: Mon Mar 08, 2021 10:39 am

Timeshift USB Stick - Reboot

Post by MRL_LMint »

Again - new to Linux and Mint. Making my way thru a few issues. I started using Timeshift shortly after installing Mint 20.1. After a couple of days I read that it was smarter, logically so, to have the snapshots on a separate USB stick and not any of the Linux partitions. So I started using the USB stick. Working great. 32gb stick so it should be plenty big enough for 5 daily's and 4 weekly's. On to my issue. With the stick in the USB port and the box rebooted the USB stick is not available until I pull it out and re-insert. It's not auto mounted on the reboot. Is there something I need to do so that it is always recognized if I reboot? I have tried to use the check mark "Mount at startup" in "Disks" but that did not work for me. Appreciate some insight. Thanks for looking.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Newbie...
mikeflan
Level 17
Level 17
Posts: 7136
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Timeshift USB Stick - Reboot

Post by mikeflan »

This is one option to consider. Create a shell script to mount the drive and run it at startup with the systemd service.
https://linuxconfig.org/how-to-automati ... temd-linux
MRL_LMint
Level 1
Level 1
Posts: 31
Joined: Mon Mar 08, 2021 10:39 am

Re: Timeshift USB Stick - Reboot

Post by MRL_LMint »

I don't even remotely understand the information in that link... anything else to help me here? Can't be too complicated... can it?
Newbie...
User avatar
AndyMH
Level 21
Level 21
Posts: 13742
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Timeshift USB Stick - Reboot

Post by AndyMH »

You haven't said which flavour of mint you are using, cinnamon, mate, xfce?

If cinnamon, in nemo preferences, under media handling check auto mount removable media.
Screenshot from 2021-03-20 23-22-54.png
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
MRL_LMint
Level 1
Level 1
Posts: 31
Joined: Mon Mar 08, 2021 10:39 am

Re: Timeshift USB Stick - Reboot

Post by MRL_LMint »

Thanks for the reply AndyMH. That is set as you directed but it's not working. When I reboot the USB stick is not auto mounted for use. I need to take it out and insert it for it to be recognized. If I recall I actually had to stick it into another USB port because the one it was in didn't recognize it until it was removed, inserted into another USB port then reinserted in the original. BTW using Cinnamon.
Newbie...
MRL_LMint
Level 1
Level 1
Posts: 31
Joined: Mon Mar 08, 2021 10:39 am

Re: Timeshift USB Stick - Reboot

Post by MRL_LMint »

Still hanging out here with this problem. Any other thoughts please.
Newbie...
MRL_LMint
Level 1
Level 1
Posts: 31
Joined: Mon Mar 08, 2021 10:39 am

Re: Timeshift USB Stick - Reboot

Post by MRL_LMint »

Anyone...? Like to get this solved.
Newbie...
MRL_LMint
Level 1
Level 1
Posts: 31
Joined: Mon Mar 08, 2021 10:39 am

Re: Timeshift USB Stick - Reboot

Post by MRL_LMint »

No one...?
Newbie...
User avatar
AndyMH
Level 21
Level 21
Posts: 13742
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Timeshift USB Stick - Reboot

Post by AndyMH »

Unfortunately, mine 'just works' so can't offer any sensible advice.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
mikeflan
Level 17
Level 17
Posts: 7136
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Timeshift USB Stick - Reboot

Post by mikeflan »

I read that it was smarter, logically so, to have the snapshots on a separate USB stick and not any of the Linux partitions.
I would say that is bad advice, although I can see why somebody would think that.
I say let Timeshift store to any good, persistent place and then back it up as you would your other data.
User avatar
AndyMH
Level 21
Level 21
Posts: 13742
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Timeshift USB Stick - Reboot

Post by AndyMH »

On to my issue. With the stick in the USB port and the box rebooted the USB stick is not available until I pull it out and re-insert. It's not auto mounted on the reboot.
Thinking about this and other issues I've had with timeshift it may be because it is already mounted. With the stick in, reboot and it is showing as not available?

If so, open up up terminal and df, this is what I get:

Code: Select all

andy@T432 ~ $ df
Filesystem                  1K-blocks       Used Available Use% Mounted on
udev                          7997820          0   7997820   0% /dev
tmpfs                         1608956       3344   1605612   1% /run
/dev/sdc1                    32549628   14293064  16580076  47% /
tmpfs                         8044768      68444   7976324   1% /dev/shm
tmpfs                            5120          4      5116   1% /run/lock
tmpfs                         8044768          0   8044768   0% /sys/fs/cgroup
/dev/sdc2                   198944112  130149788  58618800  69% /home
/dev/sdb2                  1900545188  888887608 915045832  50% /media/ultrabay
//diskstation.local/music/ 1917971544 1224704508 693267036  64% /media/music
//diskstation.local/home/  1917971544 1224704508 693267036  64% /media/synology
tmpfs                         1608952         72   1608880   1% /run/user/1000
What you are looking for is your stick mounted at /run/timeshift. If so, then that is the cause of the problem, if not, then another bright idea bites the dust.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Locked

Return to “Hardware Support”