Timeshift
settings
easy with timeshift GUI > settings
- rsync as snapshot type
- xfs as fs
adding another xfs parttion is possible
timeshift snapshot types
RSYNC mode : snapshots are taken using rsync+hardlinks
BTRFS mode : snapshots are taken using the in-built features in BTRFS system
timeshift commandline
sudo timeshift –create –tags 0
tag specify what kind of backup
--tags D Daily Backup
--tags W Weekly Backup
--tags M Monthly Backup
--tags O On-demand Backup
sudo timeshift –create –tags 0 –comments “Add your comment here”
mount location
/run/timeshift/backup/timeshift/snapshots/
ts issue with mount
“Found stale mount for device ‘/dev/sda3’ at path ‘/run/timeshift/10122/backup’ Unmounted successfully”
Timeshift creates a mountpoint for the partition in :
fix : sudo umount /run/timeshift/..../backup
timeshift should **verify first if there is not already an existing mount point
move existing ts data to new location
- create a new , bigger partion , xfs , op einde HD
- make sure no jobs are running ( i don’t use schedules ,so ok)
- make sure
- copy all data old timeshift partion > new (does dd retain ownership / pemission file attributes ? )
sudo dd if=/dev/sda2 of=/dev/sda3 - dd will split the new bigger partition in to two , one part will be unallocated
and you cannot use it for snapshots - unmount xfs , if needed
- gparted : partiotions > check (the new partition ) ; then resize it
- verify both partitions with: # fdisk -l /dev/sda2 /dev/sda3
- delete the old partition
- timeshift GUI > settings > location => new partions