Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)S
Posts
1
Comments
15
Joined
1 mo. ago

  • all good. thanks for exchanging our experience :)

    kopia wasn't running durin the week. I didn't look into the server configuration since it introduces user handling and that seemed to be overkill for the task but running as daemon would lead to a funcitoning system of course.

    this is my kopia.service file in case some else finds it and is interested in it

    [Unit]

    Description=kopia backup

    [Service]

    User=root ExecStart=$HOME/bin/backup_kopia

    [Install]

    WantedBy=multi-user.target

    where $HOME/bin/backup_kopia contains

    #!/bin/bash

    /usr/bin/kopia repository connect filesystem --path $KOPIA_REPO --password $KOPIA_PASSWORD

    /usr/bin/kopia snapshot create $HOME/folder_to_backup

    and my kopia.timer

    [Unit]

    Description=Run kopia backup

    [Timer]

    OnCalendar=hourly

    Persistent=true

    [Install]

    WantedBy=timers.target

  • It's a fedora server.

    according to kopia's repo, there is no official systemd service https://github.com/kopia/kopia/issues/2685 and there is none on my system.

    in the past week, it did not backup anything. Hence, there is no scheduler built into kopia automagically as described/ hinted in the docs.

    I just wrote a systemd service and timer and I'll see if it works. I'm not the best in using systemd. I dislike it, I like cron for it's simplicity.

    Even if it works then, I wouldn't recommend it to anyone because info about the scheduler is rare and the docs do not even cover the topic.

  • I couldn't find a systemd unit or service.

    Kopia will then automatically begin taking the snapshot following the settings you set for the policy. link

    I'm not yet sure about that

  • Thank you! That sounds great! I already own drives and a machine. I just want to upgrade and make it more secure. I don't need a NAS then.

  • Thank you!

  • I can't find anything related to systemd or cron. Does it have its own scheduler? I already set policies. I'm just wondering if I forgot something to setup.

  • thanks! I installed it and created my first backup. I'll test it and see how it goes. It looks good. Thank you!

  • I'll do that, thx!

  • thx, I'll look into it!

  • next time with more SATA ports, thx!

  • is that your only expansion option on the system you have?

    For now, yes, that's the only option. I'll look into internal drives the next time.

    thanks for the info about RAID 1 and BTRFS in raid1c2

    I'll look into kopia as well since I only knew about borg.

    I am using mergerfs for years, it's really neat.

    thanks for sharing all of that!

  • thank, that's good to read!

  • that's a neat way of creating the backup! thanks :)

  • Since you have a server, a NAS is probably the right route.

    I don't understand this. Imo, the previous sentence concludes that I want a DAS, not a NAS because I already have a server.

    I'll look into zfs and btrfs. Somehow this topic is really difficult to grasp

  • Selfhosted @lemmy.world

    Improving HDD storage setup for personal server