ownCloud data export inside UCS

Hello,

We decided to separate ownCloud service from UCS and we need a backup from the ownCloud data folder and database that we could restore to an other standalone OC server.
The OC runs in docker containers inside UCS so what is the best way to solve this? Is there any tool in UCS or we should find the database and web server container id’s and run docker commands inside these containers?

Thanks for help!

Sandor

Hi,

univention-app shell owncloud might help you.

/CV

Hello Christian!

Thank you so much this advice. It’s saved my time.
I have just one more question. I didn’t found any database service (mysql or miradb) inside this container, but I should make a database dump next to copy the config files and apache folder. So where it runs?

Sandor

Hi,

if it is not running inside of the container, where could it run?

Check on the console of the ucs. Hint: there is somewhere INSIDE the container a config.php (not sure about this name, though) where the database configuration is written.

/CV

Thanks! I got it!
It is inside the mariadb in the UCS host.