diff --git a/nextcloud/readme.md b/nextcloud/readme.md index cbaeb6f..6f15b1d 100644 --- a/nextcloud/readme.md +++ b/nextcloud/readme.md @@ -350,11 +350,12 @@ Assuming clean start. * start the containers: `docker-compose up -d`
let it run so it creates its file structure * down the containers: `docker-compose down` -* from the backup of nextcloud-data, copy the directories `configs`, `data`, - and `themes` in to new `nextcloud-data`, replacing the ones in place -* from the backup, copy the backup database, found in - `nextcloud/nextcloud-data-db/BACKUP.nextcloud.database.sql` - in to the new `nextcloud/nextcloud-db-data/` +* delete the directories `configs`, `data`, `themes` in freshly created + `nextcloud/nextcloud-data/` +* from the backup of /nextcloud/nextcloud-data/, copy the directories + `configs`, `data`, `themes` in to new `/nextcloud/nextcloud-data/` +* from the backup of /nextcloud/nextcloud-data-db/, copy the backup database + named `BACKUP.nextcloud.database.sql` in to new `/nextcloud/nextcloud-data-db/` * start the containers: `docker-compose up -d` * set the correct user ownership of the directories copied:
`docker exec --workdir /var/www/html nextcloud-app chown -R www-data:www-data config data themes`