Nextcloud - backup instance on UCS 4.3

Hi all,

I’ve got a UCS with the Nextcloud app version 12.0.5-0.
I would like to schedule a backup of all the Nextcloud (repository, files etc). How can I do so in the UCS Server? I saw there are some guides on nextcloud site but I think they are for the standalone software. Can you help me in this?

Please can someone help me?

Hey,

The UCS Nextcloud app stores data in two places:

  1. The configuration and the files are stored in the directory /var/lib/univention-appcenter/apps/nextcloud/data.
  2. A PostgreSQL database is used, too, on the same host the app is installed on. It’s called nextcloud.

Therefore… back up the whole directory mentioned above and create text dumps of the database with the pg_dump utility. Then back up those text dumps, too.

Kind regards,
mosu

Mastodon