I have Nextcloud installed as a snap. I would like to back it up to a folder on a separate drive within the server. Nextcloud appears to have an official backup app, which I have installed on the Nextcloud instance.

Is it possible to connect a folder on a separate drive to Nextcloud running as a snap? What permissions should such a folder have?

  • @notsofunnycomment
    link
    English
    1
    edit-2
    9 months ago

    I have a weekly crontab that does…

    • nextcloud.export -abc (everything except the data)
    • …a backintime snapshot of the raw data folder.


    I’m not fully happy with this yet though.

    • The nextcloud.export -abc command makes a full export of the config, database and apps. So in contrast to backintime, which rebuilds each snapshot only in terms of the files that changed since the previous snapshot, I have a full-blown new backup of config, database and apps every week.
    • I put the nextcloud instance in maintenance mode while running both commands, so the config, database and apps should fit the snapshot of the raw data. But it still feels tricky. I would prefer to have just have one full “file-change-based” weekly (or daily?) snapshot of e.g. a VM. That’s why I’m looking at this: https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W6fMquPiqQz3_Moi/nextcloud-vm