summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSchroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>2021-01-24 17:50:07 +0100
committerSchroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>2021-01-24 17:50:27 +0100
commit0d4148f9a490aa3177cb00d1037c4c868e00f64b (patch)
tree5bf703b4a0cb5d0b4ad91f869a93e3f04b5a707d /README.md
parentd7e6260688347eb84ee401f82af76a14d975da73 (diff)
Migration: Clearer distinction between docker cp and system's cp
Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 39991fb2..b4d67db9 100644
--- a/README.md
+++ b/README.md
@@ -515,13 +515,17 @@ 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 --preserve ./data/ nextcloud_app_1:/var/www/html/
+ docker cp ./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
docker cp ./config/config.php nextcloud_app_1:/var/www/html/config
docker-compose exec app chown -R www-data:www-data /var/www/html/config
```
+ If you want to preserve the metadata of your files like timestamps, copy the data directly on the host to the named volume using plain `cp` like this:
+ ```console
+ cp --preserve --recursive ./data/ /path/to/nextcloudVolume/data
+ ```
5. Copy only the custom apps you use (or simply redownload them from the web interface):
```console
docker cp ./custom_apps/ nextcloud_data:/var/www/html/