• 2 Posts
  • 80 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle







  • I’m just someone on the internet, take everything with a grain of salt.


    Only go to sleep when you really intent to. No scrolling on your phone in the bed, no reading books,…

    The moment you lay/sit down, you intent to sleep.

    If it doesn’t work: get up, do something else, try again later.


    Isolate factors that could keep you awake like sugar, caffeine, alkohol,… Even a handfull of gummies could influence when you fall asleep.

    Check on air-quality, room temperature and moisture, dryness of bedding, room -brightness, -light sources, noice levels.

    Try out keeping a journal of these things, as well as your mental state and reflect on your sleep in the morning.

    If available, ask your SO or room-mate about their sleep, that’s a great way to identify external influences.


    If your data stays inconsistent, ask a doctor, as there might be medical conditions influencing you falling asleep, ike high blood pressure or hormone imbalances.












  • I’m using rustic, a lock-free rust-written drop-in-replacement of restic, which (I’m referring to restic and therefore in extension to rustic) supports always-encrypted, deduplicating, compressed and easy backups without you needing to worry about whether to do a full- or incremental-backup.

    All my machines run hourly backups of all mounted partitions to an append-only repo at borgbase. I have a file with ignore pattern globs to skip unwanted files and dirs (i.e.: **/.cache).

    While I think borgbase is ok, ther’re just using hetzner storage boxes in the background, which are cheaper if you use them directly. I’m thinking of migrating my backups to a handfull of homelabs from trusted friends and family instead.

    The backups have a randomized delay of 5m and typically take about 8-9s each (unless big new files need to be uploaded). They are triggered by persistent systemd-timers.

    The backups have been running across my laptop, pc and server for about 6 months now and I’m at ~380 GiB storage usage total.

    I’ve mounted backup snapshots on multiple occasions already to either get an old version of a file, or restore it entirely.

    There is a tool called redu which is like ncdu but works on restic/rustic repos. This makes it easy to identify which files blow up your backup size.