How do I safely store my files? š½
People think they need backups while in fact they need restores⦠- HN / HN
Backup on Linux
Pika Backup
Pika Backup a relatively new but popular desktop-oriented backup tool for Linux, Built on BorgBackup ā so you get all the benefits of Borg (deduplication, compression, encryption, incremental backups).
Features
- Backup is browsable - they are mounted in the filesystem
- files can be restored individually easily
Configuration
- installed borg tools on NAS -> this was a mistake
- need to have ssh access anyway => redirect to borg user
- pika/borg is picky on .ssh/* ownership and wonāt run if unsecure
- add user key, to be able to operate as
borguser on remote
Borg tools only require ssh access (so itās not clear why it could be usefull to add it on the server). It boils down:
- create a
borguser -> this is strictly unecessary- restrict its access -> no interactive shell
- connect through ssh public key
- own the backup folder -> the regular user could own it - since itās bettere to have multi user, separate repository
TimeShift
Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. Timeshift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored at a later date to undo all changes to the system.
Borg Backup
Restic is borg with more whistles (backing up to various places), but borg is the more trusted tool with the longer history (just use SSH and be done with it). - HN
OSTree
OSTree operates at the Unix filesystem layer, it works on top of any filesystem or block storage layout; itās possible to replicate a given filesystem tree from an OSTree repository into plain ext4, BTRFS, XFS, or in general any Unix-compatible filesystem that supports hard links. - HN