Volume Backup
-
If I install Nextcloud as an app in Cloudron but have the data on a volume, will it be backed up to a cloud provider of my choice if I use the standard Cloudron backup function for the application?
Also, does it matter if I use either of these choices:
- Set up the volume in Cloudron directly
- Set up the volume as the data location for Nextcloud
- Use the volume as an external storage in the Nextcloud settings itself
This similar thread here (https://forum.cloudron.io/topic/6778/volumes-and-backup/9) has left some room for interpretation, let's say, but if I understood the logic correctly, then the data will be backed up if I change the app data directory.
It's not clear to me, however, why the backup doesn't take place if I add the volume directly into Cloudron. Isn't this a sort of higher-level data directory definition for all apps?
-
@ekevu123 In 7.2.4, we fixed a whole bunch of UX issues surrounding this.
If I install Nextcloud as an app in Cloudron but have the data on a volume, will it be backed up to a cloud provider of my choice if I use the standard Cloudron backup function for the application?
Yes. I assume by "data" you mean https://docs.cloudron.io/apps/#data-directory . Note that the new UI here says explicitly that any data is here is part of the backup.
Set up the volume in Cloudron directly
Set up the volume as the data location for NextcloudThe data directory setting inside nextcloud should not be changed. It's managed by packaging to always write in the container's local /app/data. Cloudron will setup this /app/data to the volume you specify and it will be part of the backup.
Use the volume as an external storage in the Nextcloud settings itself
External storage that you setup inside nextcloud is not part of the backup. You would do this by setting up a mount - https://docs.cloudron.io/apps/#mounts . The mount UI now explicitly says data there is not part of the backup.
BTW, I had to point at the text because the non-english translations might not have caught up on the change.
-
@girish the user might refer to a Nextcloud setup with a mounted volume as data directory which is set in Nextclouds config.php via
'datadirectory' => '/media/cloud',
like I've described here - which does not backup the actual files, only Nextcloud data. Using this for months without any issues, should we worry that it will be not supported anymore at some point? -
-