2015-05-28 19:17:34 +02:00
run 005 - rmt 1, cmp 1, error version
=====================================
2015-06-14 14:37:37 +02:00
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
2015-05-28 19:17:34 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2015-05-29 20:39:43 +02:00
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 asynchronously
2015-05-31 15:50:42 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: File->path_create: absolute:[TEST_PATH]/local/archive/db/out, mode [undef]
2015-05-29 20:39:43 +02:00
DEBUG: File->exists: absolute:[TEST_PATH]/local/archive/db/out
DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
2015-05-29 23:58:13 +02:00
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
2015-06-17 21:33:58 +02:00
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
2015-05-29 20:39:43 +02:00
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
2015-06-14 00:25:49 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-31 15:50:42 +02:00
DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: no archive logs to be copied to backup
2015-05-31 15:50:42 +02:00
DEBUG: transfer found 0 WAL segments - exiting
2015-05-29 20:39:43 +02:00
DEBUG: safe exit called, terminating threads
2015-05-28 19:17:34 +02:00
2015-06-14 14:37:37 +02:00
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
2015-05-28 19:17:34 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2015-05-29 20:39:43 +02:00
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 asynchronously
2015-05-31 15:50:42 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-29 20:39:43 +02:00
DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
2015-05-29 23:58:13 +02:00
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
2015-06-17 21:33:58 +02:00
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
2015-05-29 20:39:43 +02:00
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
DEBUG: safe exit called, terminating threads
2015-05-28 19:17:34 +02:00
2015-06-14 14:37:37 +02:00
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
2015-05-28 19:17:34 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2015-05-29 20:39:43 +02:00
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 asynchronously
2015-05-31 15:50:42 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-29 20:39:43 +02:00
DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
2015-05-29 23:58:13 +02:00
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
2015-06-17 21:33:58 +02:00
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
2015-05-29 20:39:43 +02:00
INFO: archive to be copied to backup total 2, size 32MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
ERROR: local archive store max size has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/local/lock/db-archive.stop) is removed
DEBUG: safe exit called, terminating threads
2015-05-28 19:17:34 +02:00
2015-06-14 14:37:37 +02:00
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
2015-05-28 19:17:34 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2015-05-29 20:39:43 +02:00
ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/local/lock/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible
DEBUG: safe exit called, terminating threads
2015-05-28 19:17:34 +02:00
2015-06-14 14:37:37 +02:00
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
2015-05-28 19:17:34 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2015-05-29 20:39:43 +02:00
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 asynchronously
2015-05-31 15:50:42 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-29 20:39:43 +02:00
DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
2015-05-29 23:58:13 +02:00
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
2015-06-17 21:33:58 +02:00
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
2015-05-29 20:39:43 +02:00
INFO: archive to be copied to backup total 3, size 48MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
2015-06-14 00:25:49 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-29 20:39:43 +02:00
DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
2015-06-14 00:25:49 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-29 20:39:43 +02:00
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
2015-06-14 00:25:49 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-31 15:50:42 +02:00
DEBUG: transferred 3 WAL segment(s), calling Archive->xfer() again
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: no archive logs to be copied to backup
2015-05-31 15:50:42 +02:00
DEBUG: transfer found 0 WAL segments - exiting
2015-05-29 20:39:43 +02:00
DEBUG: safe exit called, terminating threads
2015-05-29 17:41:19 +02:00
2015-06-14 14:37:37 +02:00
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
2015-05-29 17:41:19 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2015-05-29 20:39:43 +02:00
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 asynchronously
2015-05-31 15:50:42 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-29 20:39:43 +02:00
DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
2015-05-29 23:58:13 +02:00
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
2015-06-17 21:33:58 +02:00
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
2015-05-29 20:39:43 +02:00
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006
2015-06-14 00:25:49 +02:00
DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
2015-05-31 15:50:42 +02:00
DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
2015-05-29 20:39:43 +02:00
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: no archive logs to be copied to backup
2015-05-31 15:50:42 +02:00
DEBUG: transfer found 0 WAL segments - exiting
2015-05-29 20:39:43 +02:00
DEBUG: safe exit called, terminating threads