Export nextcloud snap installation to another disk

Hi all,

I would like to use sudo nextcloud.export to backup my nextcloud installation, because I want to move it to a server with a larger disk. But by default nextcloud will use /var/snap/nextcloud/common/backups/. Is there a way to export it to another disk?

This may help you out @Binary. :slight_smile:

How to backup your instance Nextcloud-snap wiki

So should I create a symlink for /var/snap/nextcloud/common/backups/ ?
Something linke

# ln -s /path/to/backups /var/snap/nextcloud/common/backups

I tried to just copy the back up folder using rsync from my digital ocean instance to a local folder, but I got a permission denied error

rsync: opendir “/var/snap/nextcloud/common/backups/20200220-214337” failed: Permission denied (13)

Probably a noobish question but how can I get it to copy?