Hi all,
I'm attempting to do a file based backup using PBC using the metadata backup. I have several backups, all targeting different folders on a NAS mounted with CIFS.
I'm running PBC on the actual PBS machine itself, so it's connecting to "itself."
All of my backups are configured identically, except they all target different folders and different namespaces.
One of the backups runs perfectly every single day, without fail. One runs perfectly 90% of the time with an error here or there.
The problematic backup however, runs for the _initial_ backup perfectly, and then on all subsequent backups where it needs to compare against the existing metadata.pxar it proceeds to fail.
I'd like to use the metadata backup, as it reduces the backup time taken from about 2 and a half hours down to ~30 minutes. Does anyone know why It might be constantly failing out, at the end of the backup?
The script I run - This is run by a CRON Script every day at 01:45.
If you need me to provide any other logs, or more information about the environment, let me know.
This has been driving me crazy for about 3 months and I cannot figure out how to fix it.
I'm attempting to do a file based backup using PBC using the metadata backup. I have several backups, all targeting different folders on a NAS mounted with CIFS.
I'm running PBC on the actual PBS machine itself, so it's connecting to "itself."
All of my backups are configured identically, except they all target different folders and different namespaces.
One of the backups runs perfectly every single day, without fail. One runs perfectly 90% of the time with an error here or there.
The problematic backup however, runs for the _initial_ backup perfectly, and then on all subsequent backups where it needs to compare against the existing metadata.pxar it proceeds to fail.
I'd like to use the metadata backup, as it reduces the backup time taken from about 2 and a half hours down to ~30 minutes. Does anyone know why It might be constantly failing out, at the end of the backup?
The script I run - This is run by a CRON Script every day at 01:45.
Bash:
#!/bin/bash
PBS_PASSWORD_FILE=/root/pbsc_token.txt
export PBS_PASSWORD_FILE
proxmox-backup-client backup appdata.pxar:/mnt/appdata \
--repository 'root@pam!ponder@192.168.1.197:General' \
--crypt-mode none \
--change-detection-mode metadata \
--ns appdata
Code:
...[Previous 5000 lines truncated]....
2024-12-06T01:47:24+00:00: successfully added chunk 9895fd77e974a44ea109109627a1e287eb00e870a5f62dda95885fbe2d7b6f09 to dynamic index 2 (offset 288503899, size 1259373)
2024-12-06T01:47:24+00:00: upload_chunk done: 1259309 bytes, 19298dc012c6f25eb063f95b79aea4e6063c6ec4e975192e8928bb380194b278
2024-12-06T02:12:00+00:00: POST /dynamic_chunk
2024-12-06T02:12:00+00:00: POST /dynamic_chunk
2024-12-06T02:12:00+00:00: upload_chunk done: 1593155 bytes, 37820eb2aba09e64bb13efad350fdcdf209b4a46cc0bc9eb8402109a240810e8
2024-12-06T02:12:00+00:00: PUT /dynamic_index
2024-12-06T02:12:00+00:00: dynamic_append 1 chunks
2024-12-06T02:12:00+00:00: successfully added chunk 37820eb2aba09e64bb13efad350fdcdf209b4a46cc0bc9eb8402109a240810e8 to dynamic index 1 (offset 0, size 1593155)
2024-12-06T02:12:00+00:00: upload_chunk done: 2269439 bytes, b8c5a6763eb16b8b97cc65958e1828b9e83f2a5f0bd49f0cf0a49e10cfe26c38
2024-12-06T02:12:00+00:00: PUT /dynamic_index
2024-12-06T02:12:00+00:00: dynamic_append 2 chunks
2024-12-06T02:12:00+00:00: successfully added chunk 19298dc012c6f25eb063f95b79aea4e6063c6ec4e975192e8928bb380194b278 to dynamic index 2 (offset 289763272, size 1259309)
2024-12-06T02:12:00+00:00: successfully added chunk b8c5a6763eb16b8b97cc65958e1828b9e83f2a5f0bd49f0cf0a49e10cfe26c38 to dynamic index 2 (offset 291022581, size 2269439)
2024-12-06T02:12:00+00:00: POST /dynamic_close
2024-12-06T02:12:00+00:00: Upload statistics for 'appdata.ppxar.didx'
2024-12-06T02:12:00+00:00: UUID: 874bc3bd58f94b0e8bb54319ab3fc43b
2024-12-06T02:12:00+00:00: Checksum: 6209854d34347f7284d297285a0e3b0d47d7e0cec2a2d63f50c50be9359b6208
2024-12-06T02:12:00+00:00: Size: 293292020
2024-12-06T02:12:00+00:00: Chunk count: 220
2024-12-06T02:12:00+00:00: Upload size: 8358586 (2%)
2024-12-06T02:12:00+00:00: Duplicates: 213+3 (98%)
2024-12-06T02:12:00+00:00: Compression: 12%
2024-12-06T02:12:00+00:00: successfully closed dynamic index 2
2024-12-06T02:12:00+00:00: backup failed: connection error: not connected
2024-12-06T02:12:00+00:00: removing failed backup
2024-12-06T02:12:00+00:00: removing backup snapshot "/backups/PONDER/General/ns/appdata/host/ponder/2024-12-06T01:45:01Z"
2024-12-06T02:12:00+00:00: TASK ERROR: removing backup snapshot "/backups/PONDER/General/ns/appdata/host/ponder/2024-12-06T01:45:01Z" failed - Directory not empty (os error 39
If you need me to provide any other logs, or more information about the environment, let me know.
This has been driving me crazy for about 3 months and I cannot figure out how to fix it.
Last edited: