Instalar Snapshots com Timeshift no Ubuntu e derivados - como funcionam
Vídeo que mostra como instalar e ativar os Snapshots no sistema operacional Ubuntu e derivados, integrar ele ao programa Timeshift e ter a possibilidade de criar pontos de restauração para proteger o sistema de eventuais erros ou quebras.
Comandos utilizados:
sudo apt install timeshift
sudo apt install apt-btrfs-snapshot python3-distutils snapper
sudo apt install git
git clone https://github.com/Antynea/grub-btrfs
cd grub-btrfs
cp 41_snapshots-btrfs /etc/grub.d/
grub-mkconfig -o /boot/grub/grub.cfg
grub-mkconfig
update-grub
sudo nano /etc/timeshift-autosnap.conf
# skipAutosnap defines if timeshift-autosnap execution should be skipped.
# Default value is false.
skipAutosnap=false
# skipRsyncAutosnap defines if timeshift-autosnap execution should be skipped on filesystems other than btrfs.
# Default value is true.
skipRsyncAutosnap=true
# deleteSnapshots defines if old snapshots should be deleted.
# Default value is true.
deleteSnapshots=true
# maxSnapshots defines how much old snapshots script should left.
# Only positive whole numbers can be used.
# Default value is 3.
maxSnapshots=3
Referências: https://moritzmolch.com/blog/2506.html
https://github.com/wmutschl/timeshift-autosnap-apt
https://backupgarantido.com.br/blog/o-que-e-snapshot/
https://plus.diolinux.com.br/t/timeshift-na-inicializacao-do-sistema/42977/11
#ubuntu #snapshot #timeshift #linux #pontorestauração #proteção #sistema