Changes for page PostgreSQL
Last modified by Sebastian Marsching on 2023/03/22 23:25
From version 4.1
edited by Sebastian Marsching
on 2023/03/22 23:23
on 2023/03/22 23:23
Change comment:
There is no comment for this version
To version 5.1
edited by Sebastian Marsching
on 2023/03/22 23:23
on 2023/03/22 23:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -30,7 +30,7 @@ 30 30 Once this has been done, the container is running again, but now with the new version and an empty database. We can now start a second container with the old data in order to dump and restore it: 31 31 32 32 ```sh 33 -docker container run --rm -it -v postgresql-data-old:/var/lib/postgresql -data --name postgresql-old postgresql:x.x-alpine33 +docker container run --rm -it -v postgresql-data-old:/var/lib/postgresql/data --name postgresql-old postgresql:x.x-alpine 34 34 ``` 35 35 36 36 In this example, `x.x` has to be replaced by the version number of the old PostgreSQL version.