File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -128,19 +128,27 @@ $ pmdump -c examples/source_3_3_pg.yaml -f pm3.3_pg.tar.gz export
128128# ## Import
129129
130130
131- Create `dest .yaml` file
131+ Create `dest_pg .yaml` file
132132
133133` ` ` yaml
134- version: 3.4
135- media_root: /path/to/media/folder/
136- database_url: /path/to/data/papermerge.db
134+ media_root: /home/eugen/DockerCompose/pm3.4-pg/media/
135+ database_url: postgresql://coco:[email protected] :5432/pmg34?sslmode=disable 136+ app_version: 3.4
137137` ` `
138138
139- ```
140- $ pmdump -c dest.yaml -f /path/to/archive.tar.gz import
139+ Run import command (notice that `import` is at the end of parameters)
140+
141+ ` ` ` bash
142+ pmdump -c dest_pg.yaml -f /path/to/archive.tar.gz import
141143` ` `
142144
143- Note that `export` or `import` commands are at the end of parameters list.
145+ If you are importing into SQLite database, configuration file will look like :
146+
147+ ` ` ` yaml
148+ media_root: /home/eugen/DockerCompose/pm3.4-sqlite/media/
149+ database_url: sqlite:///home/eugen/DockerCompose/pm3.4-sqlite/data/db.sqlite3
150+ app_version: 3.4
151+ ` ` `
144152
145153
146154# # Development
You can’t perform that action at this time.
0 commit comments