datman: unflushed bloblog writes when an error occurs during a helper-assisted backup #61

Open
opened 2022-09-05 21:59:55 +00:00 by reivilibre · 0 comments
Owner
[2022-09-05T12:52:59Z INFO  datman::commands::backup] Starting up process and writing to yama store..
[2022-09-05T12:52:59Z INFO  datman::commands::backup] Will write as pointer "sallie_pg_synapse+2022-09-05_12:52:59"..
[2022-09-05T12:52:59Z INFO  datman::commands::backup] Storing.. No progress bar is available for this style of backup yet..
pg_dump: terminated by user
Traceback (most recent call last):
 File "/nix/store/v49jl7sskws34mazxay8ggy4j5zgg0l7-python3.9-datman-helper-postgres-0.1.0/bin/.datman-helper-postgres-backup-wrapped", line 9, in <module>
   sys.exit(cli())
 File "/nix/store/v49jl7sskws34mazxay8ggy4j5zgg0l7-python3.9-datman-helper-postgres-0.1.0/lib/python3.9/site-packages/datman_helper_postgres/backup.py", line 88, in cli
   subprocess.check_call(
 File "/nix/store/vzqny68wq33dcg4hkdala51n5vqhpnwc-python3-3.9.12/lib/python3.9/subprocess.py", line 373, in check_call
   raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ssh', 'backupmaker@sallie.librepush.net', 'bash', '-o', 'pipefail', '-c', "'pg_dump synapse | lz4 --compress --stdout'"]' returned non-zero exit status 1..
WARNING: DROPPING SQLITE BLOBLOG PILE with 116 unflushed writes..
The process was not successful (exit code 1).. Exiting..
⚠️ Operation FAILED!

(I ^Ced pg_dump to release a lock on the database)

``` [2022-09-05T12:52:59Z INFO datman::commands::backup] Starting up process and writing to yama store.. [2022-09-05T12:52:59Z INFO datman::commands::backup] Will write as pointer "sallie_pg_synapse+2022-09-05_12:52:59".. [2022-09-05T12:52:59Z INFO datman::commands::backup] Storing.. No progress bar is available for this style of backup yet.. pg_dump: terminated by user Traceback (most recent call last): File "/nix/store/v49jl7sskws34mazxay8ggy4j5zgg0l7-python3.9-datman-helper-postgres-0.1.0/bin/.datman-helper-postgres-backup-wrapped", line 9, in <module> sys.exit(cli()) File "/nix/store/v49jl7sskws34mazxay8ggy4j5zgg0l7-python3.9-datman-helper-postgres-0.1.0/lib/python3.9/site-packages/datman_helper_postgres/backup.py", line 88, in cli subprocess.check_call( File "/nix/store/vzqny68wq33dcg4hkdala51n5vqhpnwc-python3-3.9.12/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ssh', 'backupmaker@sallie.librepush.net', 'bash', '-o', 'pipefail', '-c', "'pg_dump synapse | lz4 --compress --stdout'"]' returned non-zero exit status 1.. WARNING: DROPPING SQLITE BLOBLOG PILE with 116 unflushed writes.. The process was not successful (exit code 1).. Exiting.. ⚠️ Operation FAILED! ``` (I ^Ced pg_dump to release a lock on the database)
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: reivilibre/yama#61
No description provided.