pierostrada

backup-paranoid

Aug 26th, 2022
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. About being backup-paranoid, a few hints about my daily routines.
  2.  
  3. Not a manual, at all - nor even pieces of advice - just a few hints & links.
  4.  
  5. **BACKUP**: my 3 pillars are **timeshift + rsync**, and optionally **btrfs**.
  6. I've customized the very same scripts to run on several machines, EFI or legacy bios, Intel or Amd, ext4 or btrfs.
  7. I use dedicated physical disks for my rsyncs, plus a second unit for timeshifts in ext4 mode.
  8.  
  9. **--- About rsync backup ---**
  10. I'm currently using the script '**rsync_tmbackup.sh**', that I've customized for my needs and crontab-bed 4 times a day:
  11. [https://github.com/laurent22/rsync-time-backup](https://github.com/laurent22/rsync-time-backup)
  12.  
  13. But I've happily used some '(em)**BORG**' forks:
  14. About BORG: https://borgbackup.readthedocs.io/en/1.1-maint/installation.html
  15. i.e. NO $ sudo pacman -S borg, but
  16. pip install borgbackup llfuse
  17.  
  18. see https://borgbackup.readthedocs.io/en/stable/installation.html#dependencies
  19. and
  20. https://emborg.readthedocs.io/en/latest/installing.html
  21. and
  22. https://emborg.readthedocs.io/en/latest/examples.html
  23. and
  24. https://emborg.readthedocs.io/en/latest/commands.html
  25.  
  26. **--- About btrfs & timeshift ---**
  27. Convert to btrfs:
  28. FEDORA guide: https://fedoramagazine.org/convert-your-filesystem-to-btrfs
  29. TitusTech guide: https://christitus.com/btrfs-guide/
  30. ( Youtube https://www.youtube.com/watch?v=J2QP4onqJKI )
  31.  
  32. Also on Youtube, Stephen's Tech Talks:
  33. "Speedy Install EndeavourOS 2021.04.17 ArchLinux with BTRFS, TimeShift, Gnome 40, ZRAM, and PipeWire"
  34. https://www.youtube.com/watch?v=o7JizzJ6SJ0
  35.  
  36. **But above all, see "Timeshift and grub-btrfs in Linux Arch" by Lorenzo Bettini ( it's in English )**
  37. https://www.lorenzobettini.it/2022/07/timeshift-and-grub-btrfs-in-linux-arch/
  38.  
  39. More:
  40. How To: GRUB-BTRFS Snapshot Booting on Arch Linux Systems
  41. https://www.youtube.com/watch?v=6wUtRkEWBwE
  42. https://github.com/Antynea/grub-btrfs
  43. and
  44. https://github.com/Antynea/grub-btrfs/blob/master/initramfs/readme.md
  45.  
Advertisement
Add Comment
Please, Sign In to add comment