Hi guys.
I am trying to sync one nextcloudpi server with another. For now in the same network but eventually I want to place it somewhere else so I can continue accessing my data in case of any hardware or connection failure.
Steps:
- create backup with data
- import backup with data on the second server
- Configure second server (certificate, no-ip.org etc)
- after commenting the memcache.local line
‘memcache.local’ => ‘\OC\Memcache\APCu’,
I was able to login with the same users.
Now I added another file to the first server and would like to add this on the new server also with nc-rsync. But now I run into some issues, I think it is related to permissions of the ncdata folder as they are owned by www-data and I use the pi user for rsync.
The rsync script which is used can be found here:
rsync: change_dir#1 “/media/drive/ncdata” failed: Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(632) [Receiver=3.1.2]
Nextcloud is in maintenance mode - no apps have been loaded
Maintenance mode disabled
Done. Press any key…