Skip to content

backup nextcloud data folder owned by www-data #591

@zkzkzk2015

Description

@zkzkzk2015

BorgWarehouse version :
3.1.1
Installation type :

  • Docker
  • Baremetal (Debian/Ubuntu)
  • Other environment :
    truenas scale 25.04.2 custom app

Describe your problem here.

Nextcloud is running on a digital ocean droplet. I want to back up my data folder owned by www-data to a remote local truenas/borgwarehouse instance with following working command: borg create ssh://borgwarehouse@my local truenas instance/home/borgwarehouse/repos/16xxxx::nextcloud-$(....) /nextcloud/data --compression lz4

above command throws a permission denied error, as expected. because "normal" user can of course not access www-data directory.
How can I solve this problem, because i can not use sudo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions