Create a separate partition for snapshots during Linux Mint installation ?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
Dupo
Level 5
Level 5
Posts: 508
Joined: Thu Jan 31, 2008 9:42 pm

Create a separate partition for snapshots during Linux Mint installation ?

Post by Dupo » Sun Jul 15, 2018 7:23 am

Hi everybody,

I would like to create a separate partition on my internal disk (EmmC) that would be similar to a Windows recovery partition. That Linux partition (ext4) would only be used for snapshots. Is it a good idea ? How much space should I allocate to that partition knowing that the disk is 64GB, that it contains an uefi partition of a few megabytes, and that I plan to create a root partition of at least 32GB (/home included).

Thanks.

User avatar
Pjotr
Level 21
Level 21
Posts: 12920
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by Pjotr » Sun Jul 15, 2018 7:32 am

Good idea, yes. Give it a minimum of 10 GB, that should be enough for the (big!) primary snapshot plus a few extra. Do the partitioning beforehand, with GParted, after booting from the Mint DVD.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
JerryF
Level 11
Level 11
Posts: 3730
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by JerryF » Sun Jul 15, 2018 9:34 am

Pjotr wrote:
Sun Jul 15, 2018 7:32 am
Good idea, yes. Give it a minimum of 10 GB, that should be enough for the (big!) primary snapshot plus a few extra. Do the partitioning beforehand, with GParted, after booting from the Mint DVD.
Would Dupo really need a minimum of 10 GB for a 64 GB eMMC storage?
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
Pjotr
Level 21
Level 21
Posts: 12920
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by Pjotr » Sun Jul 15, 2018 9:37 am

JerryF wrote:
Sun Jul 15, 2018 9:34 am
Pjotr wrote:
Sun Jul 15, 2018 7:32 am
Good idea, yes. Give it a minimum of 10 GB, that should be enough for the (big!) primary snapshot plus a few extra. Do the partitioning beforehand, with GParted, after booting from the Mint DVD.
Would Dupo really need a minimum of 10 GB for a 64 GB eMMC storage?
From my limited experience with Timeshift, I've learned that the primary snapshot can take up to 8 GB...
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Pierre
Level 18
Level 18
Posts: 8793
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by Pierre » Sun Jul 15, 2018 9:38 am

it would really depend on the size of the / root partition,
as one would assume that the backup partition may need to be at least as big as that / root partition,
and maybe plus a bit more, as well.

in my experience, on MX the / root files occupied around 3500MB, but on LM the / root files occupied around 4500Mb.
but, generally speaking, I've made the partition at least double that, in size, or about 7 - 10 GB ..
& it does also seem that the latest version of both system, are now even bigger than ever.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
JerryF
Level 11
Level 11
Posts: 3730
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by JerryF » Sun Jul 15, 2018 10:09 am

Dupo, that is a great idea! I probably will do the same when I install 19 (I run 18.3).

If you can spare ~10 GB out of the 64 GB, kudos!

@Pjotr and/or Pierre: TimeShift doesn't have a compression option? I can't check because I don't have Mint on hand.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

gm10
Level 18
Level 18
Posts: 8237
Joined: Thu Jun 21, 2018 5:11 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by gm10 » Sun Jul 15, 2018 10:41 am

JerryF wrote:
Sun Jul 15, 2018 10:09 am
@Pjotr and/or Pierre: TimeShift doesn't have a compression option? I can't check because I don't have Mint on hand.
Timeshift does no compression of its own, no. You can backup to a compressed BTRFS mount though.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

HaveaMint
Level 5
Level 5
Posts: 654
Joined: Fri Feb 02, 2018 9:56 pm
Location: Somewhere in the USA
Contact:

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by HaveaMint » Sun Jul 15, 2018 10:50 am

I keep a weeks worth of snapshots + one OD and it totalled 80gig. Today’s was 10gig.
"Tune for maximum Smoke and then read the Instructions".

User avatar
JerryF
Level 11
Level 11
Posts: 3730
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by JerryF » Sun Jul 15, 2018 4:39 pm

gm10 wrote:
Sun Jul 15, 2018 10:41 am
JerryF wrote:
Sun Jul 15, 2018 10:09 am
@Pjotr and/or Pierre: TimeShift doesn't have a compression option? I can't check because I don't have Mint on hand.
Timeshift does no compression of its own, no. You can backup to a compressed BTRFS mount though.
Good to know, thanks.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

Dupo
Level 5
Level 5
Posts: 508
Joined: Thu Jan 31, 2008 9:42 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by Dupo » Sun Jul 29, 2018 6:44 am

Hi everybody,

thanks for your answers. :wink:

I think I will only perform a primary snapshot after the installation of Linux Mint (Like the Windows recovery partition on pre-installed WIndows machine). So I could restore the system in its original state if there is a big problem. As you suggest, I will give a minimum of 10GB disk space for it.

What do you think about my idea to including /home in the root partition ? I will use an external memory card to store all my files (documents, music, videos, ...).

Thanks for your help.

Regards.

rui no onna
Level 4
Level 4
Posts: 241
Joined: Thu Jul 19, 2018 4:18 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by rui no onna » Sun Jul 29, 2018 10:01 am

Dupo wrote:
Sun Jul 29, 2018 6:44 am
What do you think about my idea to including /home in the root partition ? I will use an external memory card to store all my files (documents, music, videos, ...).
I do it and I also include /home in my Timeshift snapshots. I don't use /home for personal data. All it contains are preferences and program data.

Dupo
Level 5
Level 5
Posts: 508
Joined: Thu Jan 31, 2008 9:42 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by Dupo » Fri Nov 16, 2018 8:33 am

Hi guys,

I have a question. Can I disabled the snapshot levels settings in Timeshift if I want to make a single snapshot only ?

Thanks.

gm10
Level 18
Level 18
Posts: 8237
Joined: Thu Jun 21, 2018 5:11 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by gm10 » Fri Nov 16, 2018 8:49 am

You can change frequency of snapshots and amount to be kept in Timeshift settings > Schedule

PhilippeH
Level 2
Level 2
Posts: 63
Joined: Thu Jul 20, 2017 3:12 am
Location: Toulon (France)
Contact:

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by PhilippeH » Fri Nov 16, 2018 10:41 am

I am by no means an expert, but I would hesitate to backup to the same disk, even if it is on a dedicated partition. If the disk crashed, you would loose also your recovery, wouldn't you ?

trope
Level 4
Level 4
Posts: 217
Joined: Tue Feb 19, 2013 1:10 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by trope » Fri Nov 16, 2018 5:30 pm

Why is it a good idea to have Timeshift in a separate partition?

And why create the partitions using Gparted in advance, is it not possible during the manual install option of the GUI of Mint 19?

User avatar
kyphi
Level 9
Level 9
Posts: 2601
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by kyphi » Fri Nov 16, 2018 8:32 pm

PhilippeH is quite correct. If your disk fails you lose the lot, both operating system and backup.

Put your backup, whether it is via Timeshift or rsync on a drive separate from your operating system. You can give your "other" drive a permanent mount point to enable instant access.

My Home backup and my system snapshots are on a drive separate from the operating system, each in separate partitions making access as well as retrieval very simple.

The advice to never put all your eggs in one basket applies here.
Linux Mint 19.2 Cinnamon - 64bit

trope
Level 4
Level 4
Posts: 217
Joined: Tue Feb 19, 2013 1:10 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by trope » Wed Jan 30, 2019 12:52 pm

Is disk the same as hard drive? I have a laptop with a single hard drive, so what would be recommended, connecting to an external HD for timeshift? On the current hard drive I have 3 partitions, one for windows, one is an extended which has 2 Mint partitions, a swap, and a data partition, and then I have some unallocated space (all this is according to the Disks utility).

gm10
Level 18
Level 18
Posts: 8237
Joined: Thu Jun 21, 2018 5:11 pm

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by gm10 » Wed Jan 30, 2019 1:00 pm

trope wrote:
Wed Jan 30, 2019 12:52 pm
Is disk the same as hard drive? I have a laptop with a single hard drive, so what would be recommended, connecting to an external HD for timeshift? On the current hard drive I have 3 partitions, one for windows, one is an extended which has 2 Mint partitions, a swap, and a data partition, and then I have some unallocated space (all this is according to the Disks utility).
Backups should definitely go on a different storage medium. Drop your laptop while it's running, the hard drive head crashes and the disk is gone. With your backup on the same disk, that's gone as well.

Note I said backup, not snapshots. Whether you care as much about your system snapshots as you should care for your data is up to you. Personally I store snapshots to the same drive because I'm not overly concerned about losing it all, I don't mind having to reinstall if the snapshot gets lost, to me they are just a convenience. But backups of my actual data, those I store externally for sure. Your priorities may vary so choose accordingly.

I don't believe having a separate partition for snapshots has any value by the way unless you need it for the file system (e.g. if storing to an USB stick that's also holding other data on a FAT partition). Otherwise just put them anywhere you've got room.

User avatar
slipstick
Level 5
Level 5
Posts: 934
Joined: Sun Oct 21, 2012 9:56 pm
Location: Somewhere on the /LL0 scale

Re: Create a separate partition for snapshots during Linux Mint installation ?

Post by slipstick » Wed Jan 30, 2019 2:33 pm

I keep my snapshots on the same drive as my system, in a separate partition, and I keep two copies of my personal data on separate USB hard drives (I use Back-In-Time for this). But I also keep a copy of my TimeShift snapshots on one of my USB drives, though I only update it once every three or four days, using a script file based on rsync. I include my home in my snapshots, but do not include personal data, for which I use BIT. Here's the space used by my latest set of TS snapshots:

Code: Select all

steve@steve-Z97X ~ $ sudo bash -c "du -shc /media/root/LM18_timeshift/timeshift/snapshots/*"
[sudo] password for steve: 
12G	/media/root/LM18_timeshift/timeshift/snapshots/2018-12-01_19-00-02
2.8G	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-01_19-00-02
912M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-11_00-57-53
337M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-11_01-12-07
426M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-13_02-00-01
557M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-20_02-00-01
681M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-26_03-00-02
389M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-27_02-00-02
348M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-27_21-21-41
275M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-28_02-00-01
359M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-29_02-00-01
617M	/media/root/LM18_timeshift/timeshift/snapshots/2019-01-30_02-00-01
19G	total
In theory, theory and practice are the same. In practice, they ain't.

Post Reply

Return to “Installation & Boot”