this post was submitted on 04 Jul 2024
32 points (90.0% liked)

Linux

47923 readers
1209 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Which folders and files do I need to exclude from TimeShift?

Also is there a way to also exclude programs installed as .deb ?

I doing this to reduce Backup size as I have limited storage.

100GB - Windows 11
400GB - Storage
400GB - Mint
100GB - TimeShift
you are viewing a single comment's thread
view the rest of the comments
[–] mrvictory1@lemmy.world 2 points 3 months ago (1 children)

When I did dual boot (good riddance) I gave Linux <100 GB and rest to Windows. I had additional storage partitions but in long term they made management harder for me so I mounted Windows partition for additional space. Here are my recommendations:

  • Merge "Mint" and "Timeshift" partitions.
  • Use BTRFS if you can. In rsync mode of timeshift, the disk will hold 2 copies of your current system + changes between snapshots. In BTRFS there will be 1 copy + changes. BTRFS also supports compression.
  • System wide flatpaks are in /var/lib/flatpak/app. Flatpak installed for one user only are installed somewhere in ~/.var. Keep in mind that home directory is not backed up by default.
  • If you can, ditch dual boot. If the reason of keeping Windows is MS Office or Adobe apps, you can install them on Wine.
[–] gpstarman@lemmy.today 2 points 3 months ago (2 children)

Merge "Mint" and "Timeshift" partitions.

I thought (also most people said) keeping the Backup in same partition as root defeats the purpose of Backup and brings certain inconvenience like can't just delete the partition. Also I don't know if its possible to restore a backup from a partition to the same partition itself.

Use BTRFS if you can.

I'm aware that BTRFS has certain adavantages. But the whole BTRFS is alien to me, as I'm new to Linux. Also I assumed that BTRFS doesn't have enough community support as ext4 is default on Linux and many people just aren't bothered to change it.

If you can, ditch dual boot. If the reason of keeping Windows is MS Office or Adobe apps, you can install them on Wine.

I only use Windows for DaVinci Resolve Free. And for the possibility of requiring Windows exclusive programs in the future as I'm an Engineering Student.

System wide flatpaks are in /var/lib/flatpak/app. Flatpak installed for one user only are installed somewhere in ~/.var. Keep in mind that home directory is not backed up by default.

Thank You.

[–] Bitrot@lemmy.sdf.org 6 points 3 months ago (2 children)

Btrfs is well supported.

Btrfs uses snapshots and subvolumes. It is not a traditional partition and can restore to itself.

I think Timeshift is primarily a snapshotting tool for a quick rollback if something breaks. I would not consider it a full backup tool, there are tools that are much more robust and configurable for keeping files safe and elsewhere.

[–] gpstarman@lemmy.today 1 points 3 months ago (1 children)

there are tools that are much more robust and configurable for keeping files safe and elsewhere.

But AFAIK, Only Pika Backup has intuitive GUI. And It's auto backup doen't work on Mint 21.3 cause of some old packge. So I sticked to TimeShift.

[–] Bitrot@lemmy.sdf.org 2 points 3 months ago (1 children)

Vorta, Deja Dup (duplicity), duplicati are some others.

[–] gpstarman@lemmy.today 1 points 3 months ago

All of utilities you suggested are awesome.

Which one do you suggest? And why?

[–] mrvictory1@lemmy.world 1 points 3 months ago (1 children)

I would recommend using Timeshift. BTRFS mode can create local snapshots and rsync mode can be used to backup to external media. Timeshift can exclude directories based on user preferences.

[–] gpstarman@lemmy.today 2 points 3 months ago (1 children)

BTRFS mode can create local snapshots

So BTRFS can't create external backups?

[–] Bitrot@lemmy.sdf.org 3 points 3 months ago* (last edited 3 months ago) (1 children)

Btrfs can send a snapshot to another machine, but there is no pretty gui for it.

Most file systems cannot do this.

[–] gpstarman@lemmy.today 1 points 3 months ago

How about just another partition on the same disk though?

[–] Canary9341@lemmy.ml 3 points 3 months ago (1 children)

As the other user says, btrfs is well supported. In fact it is preferable in your case, as it allows you to use transparent compression for the whole system. In addition, btrfs snapshots are also drastically safer and faster.

[–] gpstarman@lemmy.today 1 points 3 months ago (2 children)

So, I have to Install my whole system again? I just started before a month though.

[–] Canary9341@lemmy.ml 2 points 3 months ago (1 children)

You can convert it from ext4 to btrfs, but I don't know how well it works. If you are going to do it, I suggest you check it carefully and make a backup.

[–] gpstarman@lemmy.today 2 points 3 months ago