Skip to content
  • 0 Votes
    1 Posts
    0 Views
    monkeyninja@10base2.devM
    Getting Borg backups to work on Nextcloud without an intermediary step was way more painful than it should have been and largely came down either a missing step in the documentation or a bug. I'll file a bug later and report back but in the meantime if you're new to #nextcloud and pulling your hair out because your remote #borgbackup won't work, the fix is fairly simple. Once you create the remote borg repo you need to copy the config file from the borg repository to the data directory of your nextcloud-aio container. So the steps look like this:export BORG_REPO=ssh://borg@zzz.zzz.zzz.zzz/path/to/repoexport BORG_PASSPHRASE=whatever you likeborg init -e repokey-blake2cp /path/to/repo/config /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/borg.configchown www-data:www-data /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/borg.configchmod 0770 ./borg.configSo following above, you're creating your repo on host zzz.zzz.zzz.zzz (replace this with the IP address of the target) and then once that's done you're copying the config file that gets created in the borg repo into the data directory for the Nextcloud Master Container. It looks like this maybe worked on older versions so my guess is this is a bug but anyway, there you go, this should fix the issue with your backups not working. They'll hopefully fix this at a later date.
  • 0 Votes
    2 Posts
    0 Views
    x_cli@infosec.exchangeX
    @oldsysops @jerry I believe you used Hetzner storage at some point to store our media files or did I made that up?
  • 0 Votes
    6 Posts
    0 Views
    stdevel@chaos.socialS
    @borgbackup Congratulations and thanks a lot for the great work!
  • 0 Votes
    1 Posts
    0 Views
    cytrinox@mastodon.socialC
    Endlich mal #Borgbackup für meine #linux Kisten eingerichtet. Wenn man von #duplicity kommt, muss man paar mal um die Ecke denken, aber dann läuft das echt sehr geschmeidig.Cool: Es kann btrfs Snapshots verwenden. Nicht Cool: dann geht Caching nicht mehr und das Backup dauert hier Faktor ~500 länger. Aber borg2 soll das ja lösen.