@@ -173,13 +173,20 @@ retrieval:
173
173
# Path to the SSL root certificate: https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem
174
174
sslRootCert : " /cert/rds-combined-ca-bundle.pem"
175
175
176
- # Options for a partial dump.
177
- # partial:
178
- # tables:
179
- # - test
176
+ # Option for specifying the database list that must be copied.
177
+ # By default, DLE dumps and restores all available databases.
178
+ # Do not specify the databases section to take all databases.
179
+ # databases:
180
+ # database1:
181
+ # # Option for a partial dump. Do not specify the tables section to dump all available tables.
182
+ # tables:
183
+ # - table1
184
+ # - table2
185
+ # database2:
186
+ # databaseN:
180
187
181
188
# Use parallel jobs to dump faster.
182
- # It' s ignored if "restore" is present because " pg_dump | pg_restore" is always single-threaded.
189
+ # It’ s ignored if “immediateRestore.enabled: true” is present because “ pg_dump | pg_restore” is always single-threaded.
183
190
parallelJobs : 2
184
191
185
192
# Options for direct restore to Database Lab Engine instance.
@@ -188,19 +195,20 @@ retrieval:
188
195
# this option does not support parallelization, it is always a single-threaded (both for
189
196
# dumping on the source, and restoring on the destination end).
190
197
# immediateRestore:
198
+ # # Enable immediate restore.
199
+ # enabled: true
191
200
# # Restore data even if the Postgres directory (`global.dataDir`) is not empty.
192
201
# # Note the existing data might be overwritten.
193
202
# forceInit: false
194
- #
203
+ # # Option to adjust PostgreSQL configuration for a logical dump job.
204
+ # # It's useful if a dumped database contains non-standard extensions.
195
205
# configs:
196
206
# shared_preload_libraries: "pg_stat_statements"
197
207
198
208
# Restores PostgreSQL database from the provided dump. If you use this block, do not use
199
209
# "restore" option in the "logicalDump" job.
200
210
logicalRestore :
201
211
options :
202
- dbname : " test"
203
-
204
212
# The location of the archive file (or directory, for a directory-format archive) to be restored.
205
213
dumpLocation : " /var/lib/dblab/dblab_pool/dump/rds_db.dump"
206
214
@@ -214,15 +222,24 @@ retrieval:
214
222
# Note the existing data might be overwritten.
215
223
forceInit : false
216
224
217
- # Options for a partial dump.
218
- # partial:
219
- # tables:
220
- # - test
221
-
222
- #
225
+ # Option to adjust PostgreSQL configuration for a logical restore job
226
+ # It's useful if a restored database contains non-standard extensions.
223
227
# configs:
224
228
# shared_preload_libraries: "pg_stat_statements"
225
229
230
+ # Option for specifying the database list that must be restored.
231
+ # By default, DLE restores all available databases.
232
+ # Do not specify the databases section to restore all available databases.
233
+ # databases:
234
+ # database1:
235
+ # # Dump format. Available formats: directory, custom, plain. Default format: directory.
236
+ # format: directory
237
+ # # Option for a partial restore. Do not specify the tables section to restore all available tables.
238
+ # tables:
239
+ # - test
240
+ # database2:
241
+ # databaseN:
242
+
226
243
logicalSnapshot :
227
244
options :
228
245
# Define pre-precessing SQL queries for data patching. For example, "/tmp/scripts/sql".
0 commit comments