Nextcloud Box Export

Nextcloud Box running on a RPI 2.

Ran the following command:

sudo nextcloud.export

It chooched for a while and returned:

Successfully exported /var/snap/nextcloud/common/backups/20190120-192957

Problem is I can not access that directory via SSH as ubuntu. Root owns the directory, I would like to txfer those files to another Nextcloud installation.

Thanks

yes you can… try sudo su - and you’ll be forced to enter root password (most probably the same one you used to login via ssh

sudo su followed by password used to SSH in resulted in su: Authentication failure

I did sudo chmod the directory to the SSH user. It worked.