Yeah I’ve been trying to download but no luck. I found a program called LVM2. Linux Logical Volume Manager which let’s you take snapshots on xfs filesystems. Apparently there may be a way to get Timeshift to work with LVM2. Not sure yet. Still looking into it.
I did wrote on that other thread that there are certain conditions for that to be possible.
The “old way” to use a disk was to create a partition table – divide the physical sectors into continuous blocks (partitions) and initialize a filesystem into each partition. That had limitations.
With LVM, a partition is made into a physical volume (PV). PV has “extents”. Extent is block of sectors.
A volume group (VG) has one or more PV.
A logical volume (LV) uses some extents, which do not have to be consecutive nor all in same PV.
The filesystem is initialized into LV.
LVM can create a snapshot of LV, if the VG has enough free extents for the data.
For many major versions of RHEL, it has been the default to install with LVM.
That is, create 2 or 3 partitions on install.
One has the /boot filesystem. No LVM – cannot be in LV.
Another exists only on UEFI systems and has the EFI System Partition (ESP). No LVM – cannot be in LV.
The last partition has PV. Within that PV are 3 LV:
Filesystem for / – the OS files
Filesystem for /home– the user files
Swap partition
However, all extents of the PV are allocated to those – there is no free space for snapshots.
It is not possible to shrink existing XFS filesystem. The default install does use XFS for all filesystems.
You have either used the defaults on Rocky install, or not. If you did use, then still have to free up extents, for example by complete removal of the LV that has /home, creation of smaller LV and /home into it (and restore of user files).
Waste of time, if the program that you want cannot even install.
Yeah I’ve given up on finding a Timeshift replacement. I think I’m going to be looking into creating a bootable recovery drive to take snapshots instead.
I do use “plan B”:
I have the normal install media. I can do minimal install “from scratch” with it. (I may have kickstart file to repeat some choices made on earlier installs.) The real twist is that I have Ansible playbooks that I can run after the install. They install the rest of packages and drop in system config. That “restores” the system. The playbooks are simple files to backup.
I suspect that what I am about to suggest is not what you’re looking for, but…
I have been using rsnapshot for backups for a decade or more (from my various Linux systems) and find it to be a wonderful tool. (rsnapshot is a Perl front-end to rsync).
Ffirst time you run rsnapshot it does a full backup of whatever you configure it (/etc/rsnapshot.conf) to back up. each subsequent time it backs up whatever has changed since the previous run. for example, if you configure it to do 7 daily (once a day for seven days) backups, you will have “daily.0, daily.1, …, daily.6. Daily.0 is always the most recent one and contains all the files and directories on the system (i.e., that are within the set of items you configure it to back up). the previous 6 contain hard links to files in daily.0, IF they existed on the date rsnapshot was run. if they did not exist then, they won’t exist in that particular snapshot. likewise it will contain files that DID exist then but have been deleted/renamed since then such that they no longer exist in daily.0. (I hope that makes some sense,…)
You never have to do a “full” backup again as long as these files exist on whatever volume you store them on.
Since I only backup one system (my Linux desktop) I store them on a USB-attached RAID-1 box, which gives me an additional layer of safety should one of its drives die.
If you back up multiple systems, you would have a separate system where rsnapshot runs, and it uses rsync/ssh to transfer from the systems being backed up to the backup storage device. (I have never configured it that way since I only back up (parts of) my personal system.
Restic is a very good option, be it backup to local storage, or even use with S3. Even has de-duplication which means you save a ton of space. @jlehtone mentions BTRFS and ZFS, which also have de-duplication capabilities. Something that backups to a file system like rsnapshot/rsync don’t have (as far as I am aware - unless they are being done to a filesystem that has de-duplication enabled like BTRFS).
I honestly don’t remember however I found a distro that isn’t casuing me issues in these areas and have attended to all of my pain points so I’m pretty happy right now.
ps. I just hopped on this forum to tie up loose messages. I won’t be returning.