update
This commit is contained in:
parent
772ed66666
commit
84ee981b2a
|
@ -350,11 +350,12 @@ Assuming clean start.
|
|||
* start the containers: `docker-compose up -d`</br>
|
||||
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:</br>
|
||||
`docker exec --workdir /var/www/html nextcloud-app chown -R www-data:www-data config data themes`
|
||||
|
|
Loading…
Reference in New Issue