gsk3
Cadet
- Joined
- Sep 12, 2017
- Messages
- 5
Have been unable to find a decent guide to backing up my FreeNAS Nextcloud jail's data. I basically have a stock plugin.
The Nextcloud docs seem simple but are incomplete and confusing (https://docs.nextcloud.com/server/11/admin_manual/maintenance/backup.html).
Do the "config, data and theme folders" refer to everything in the web root? If so, /usr/local/www/nextcloud doesn't have a data folder. The config folder therein contains "config.sample.php" not "config.php". The folder /usr/pbi/nextcloud-amd64/www/nextcloud/config does have a config.php, but the PBI in the path implies this was the install folder not the active folder right? On second glance, it also has a data folder and a log, so perhaps this is the active folder to backup?
Inside the jail, I find:
root@nextcloud_1:/# find / -name nextcloud
/var/db/mysql/nextcloud
/usr/pbi/nextcloud-amd64/www/nextcloud
/usr/local/www/nextcloud
Asking here rather than Nextcloud forum because I suspect the answer will be different for the plugin default locations.
Once I find it will install rclone and backup to Backblaze B2.
Thanks!
The Nextcloud docs seem simple but are incomplete and confusing (https://docs.nextcloud.com/server/11/admin_manual/maintenance/backup.html).
Do the "config, data and theme folders" refer to everything in the web root? If so, /usr/local/www/nextcloud doesn't have a data folder. The config folder therein contains "config.sample.php" not "config.php". The folder /usr/pbi/nextcloud-amd64/www/nextcloud/config does have a config.php, but the PBI in the path implies this was the install folder not the active folder right? On second glance, it also has a data folder and a log, so perhaps this is the active folder to backup?
Inside the jail, I find:
root@nextcloud_1:/# find / -name nextcloud
/var/db/mysql/nextcloud
/usr/pbi/nextcloud-amd64/www/nextcloud
/usr/local/www/nextcloud
Asking here rather than Nextcloud forum because I suspect the answer will be different for the plugin default locations.
Once I find it will install rclone and backup to Backblaze B2.
Thanks!