Welcome to today’s daily kōrero!

Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it!

Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc.

So, how’s it going?

  • Takahe@lemmy.nz
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    I finally got around to setting up backups on my home server. Got borgmatic saving to a raspberry pi I have at my parents house with a big USB HDD attached. Took me weeks of chipping away at it trying to get my head its yaml config, cron jobs and SSH keys but feels good once its all working!

      • Takahe@lemmy.nz
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        Its an Ubuntu server with a bunch of stuff in docker containers. The main thing I wanted to backup is my next cloud data which stated as just a hobby but now has the whole family using, and a Lot of audio books all hosted through audiobookshelf.

        • Dave@lemmy.nzOPM
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Ah yes, nextcloud would be important to back up. Audiobooks you can probably re-aquire but if people are storing personal stuff on Nextcloud you will want to make sure it’s backed up. A common strategy is the 3 2 1 backup strategy. Have three copies of your data, two on different media, and one offsite.

          It sounds like you have your original copy and your offsite copy now set up. I’d recommend having an extra backup, a backup of the nextcloud data on a different hard drive on the same machine (or another machine - but this copy should be on a different hard drive to the original copy). Personally I don’t do anything fancy, I just run a cron job to bring down nextcloud (so nothing changes), and to run a script to zip up the nextcloud data (I use bind mounts for volumes so everything sites nicely in a nextcloud folder, including docker-compose.yml file, database, and nextcloud data), then I copy that zipped file to my backup drive with the date in the file name so I have multiple copies. I run this each night scheduled in the middle of the night, then have another script that trims the backups to keep 14 days of backups then a monthly backup indefinitely (always first of the month, for simplicity).

          • Takahe@lemmy.nz
            link
            fedilink
            arrow-up
            0
            ·
            3 months ago

            That sounds like a lot of disk space… My next cloud is approaching 1tb so having 14 copy’s is not going to fit… But yes I need to sort out a third copy some how. Audio books have all been riped from family members audiable accounts, so I want to keep them safe. I can see Amazon patching the service to prevent this one day.