forked from borgmatic-collective/borgmatic
Some fixes
This commit is contained in:
@@ -1340,7 +1340,7 @@ properties:
|
||||
Port to connect to. Defaults to 8086.
|
||||
example: 8086
|
||||
organization_id:
|
||||
type: number
|
||||
type: string
|
||||
description: |
|
||||
The ID of the organization.
|
||||
If provided, do not use organization_name.
|
||||
@@ -1355,7 +1355,7 @@ properties:
|
||||
The name of the bucket to backup.
|
||||
If provided, do not use bucket_id.
|
||||
bucket_id:
|
||||
type: number
|
||||
type: string
|
||||
description: |
|
||||
The ID of the bucket to backup.
|
||||
If provided, do not use bucket_name.
|
||||
|
||||
@@ -52,8 +52,11 @@ def dump_data_sources(
|
||||
logger.info(f'Dumping InfluxDB databases{dry_run_label}')
|
||||
|
||||
processes = []
|
||||
|
||||
for database in databases:
|
||||
name = database['name']
|
||||
name = 'all'
|
||||
# name = database['name']
|
||||
|
||||
dump_filename = dump.make_data_source_dump_filename(
|
||||
make_dump_path(borgmatic_runtime_directory),
|
||||
name,
|
||||
@@ -69,6 +72,10 @@ def dump_data_sources(
|
||||
if dry_run:
|
||||
continue
|
||||
|
||||
logger.debug(
|
||||
f'Command: {command}',
|
||||
)
|
||||
|
||||
dump.create_named_pipe_for_dump(dump_filename)
|
||||
execute_command(command, run_to_completion=False)
|
||||
|
||||
@@ -139,6 +146,8 @@ def build_dump_command(database, dump_filename):
|
||||
if 'bucket_name' in database
|
||||
else ()
|
||||
)
|
||||
+ (dump_filename,)
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user