• 0 Posts
  • 29 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle

  • see systemd.unit(5), systemd.service(5), systemd.socket(5), systemd.device(5), systemd.mount(5), systemd.automount(5), systemd.swap(5), systemd.target(5), systemd.path(5), systemd.timer(5), systemd.slice(5), systemd.scope(5) systemd.link(5), systemd.netdev(5), systemd.network(5) and honorable mentions podman-systemd.unit .container, .volume, .network(…again), .kube, .image, .build and .pod


















  • Drives connected to usb have an unstable connection in my experience, this is very annoying and gets worse with hubs.


    RAIDs reduce the time a system is offline and reduce data loss, if a drive fails and you can afford to wait for the new disk and the backup to restore, and have regular backups that ensure no important data gets lost (though remember the data added between backups may be lost) then you don’t need a RAID.

    I don’t use RAIDs cause if my disk fails then I can stomach the 2-4 days it takes to buy a new one and restore the backup

    Very important: use S.M.A.R.T and a filesystem with checksums to make sure you’re not backing up corrupted data and know to get a new one


    For encryption at rest you may want to look at clevis and tang, though you need a server in your home network for this to work. The client (with clevis) then decrypts the disk at boot if it can reach the server (tang). The server can’t decrypt the data without the client secret and the client can’t decrypt it without the server public key.

    Don’t know what your server could be though, maybe a router with custom firmware?


    You should also look into cloud storage/rclone, that way you can automate your backups more and reduce the need for manual intervention.

    I use rclone and restic to automatically backup my servers daily which takes a few seconds most of the time due to them being incremental backups.