From d7e6260688347eb84ee401f82af76a14d975da73 Mon Sep 17 00:00:00 2001 From: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com> Date: Sun, 24 Jan 2021 17:00:44 +0100 Subject: [PATCH] Migration: Add info for copying data including its metadata Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f4016dc5..39991fb2 100644 --- a/README.md +++ b/README.md @@ -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): ```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 cp ./theming/ nextcloud_app_1:/var/www/html/ docker-compose exec app chown -R www-data:www-data /var/www/html/theming