0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-18 02:56:42 +01:00

Migration: Add info for copying data including its metadata

Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
This commit is contained in:
Schroedingers-Cat 2021-01-24 17:00:44 +01:00
parent 915e7584b0
commit d7e6260688

View file

@ -515,7 +515,7 @@ You're already using Nextcloud and want to switch to docker? Great! Here are som
``` ```
4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container): 4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container):
```console ```console
docker cp ./data/ nextcloud_app_1:/var/www/html/ docker cp --preserve ./data/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/data docker-compose exec app chown -R www-data:www-data /var/www/html/data
docker cp ./theming/ nextcloud_app_1:/var/www/html/ docker cp ./theming/ nextcloud_app_1:/var/www/html/
docker-compose exec app chown -R www-data:www-data /var/www/html/theming docker-compose exec app chown -R www-data:www-data /var/www/html/theming