Some fixes

This commit is contained in:
Jose Olcese
2025-09-05 19:34:02 -07:00
parent 6335d17461
commit 36ca79575c
2 changed files with 12 additions and 3 deletions

View File

@@ -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.

View File

@@ -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,)
)