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 4
Level 4
Posts: 493
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 20
Level 20
Posts: 11060
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 Tara
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 10
Level 10
Posts: 3466
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 20
Level 20
Posts: 11060
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 Tara
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 17
Level 17
Posts: 7697
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 10
Level 10
Posts: 3466
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 13
Level 13
Posts: 4602
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.

HaveaMint
Level 4
Level 4
Posts: 473
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 10
Level 10
Posts: 3466
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 4
Level 4
Posts: 493
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 4
Level 4
Posts: 493
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 13
Level 13
Posts: 4602
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 1
Level 1
Posts: 35
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 3
Level 3
Posts: 194
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 8
Level 8
Posts: 2340
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, 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 Cinnamon - 64bit

Post Reply

Return to “Installation & Boot”