From b1ded135df1e3dd4d4b40a0cbb1a7c1303e7a037 Mon Sep 17 00:00:00 2001 From: David Steele Date: Tue, 30 Jun 2015 14:47:58 -0400 Subject: [PATCH] v0.77: CentOS/RHEL 6 support and protocol improvements * Removed pg_backrest_remote and added the functionality to pg_backrest as remote command. * Added file and directory syncs to the File object for additional safety during backup/restore and archiving. Suggested by Andres Freund. * Support for Perl 5.10.1 and OpenSSH 5.3 which are default for CentOS/RHEL 6. Found by Eric Radman. * Improved error message when backup is run without archive_command set and without --no-archive-check specified. Found by Eric Radman. * Moved version number out of the VERSION file to Version.pm to better support packaging. Suggested by Michael Renner. * Replaced IPC::System::Simple and Net::OpenSSH with IPC::Open3 to eliminate CPAN dependency for multiple distros. --- README.md | 110 +- VERSION | 1 - bin/pg_backrest | 77 +- bin/pg_backrest_remote | 252 ----- doc/doc.xml | 121 ++- lib/BackRest/Archive.pm | 42 +- lib/BackRest/ArchiveInfo.pm | 11 +- lib/BackRest/Backup.pm | 6 +- lib/BackRest/BackupInfo.pm | 4 +- lib/BackRest/Config.pm | 573 ++++++----- lib/BackRest/Db.pm | 111 +- lib/BackRest/Exception.pm | 16 +- lib/BackRest/File.pm | 120 ++- lib/BackRest/FileCommon.pm | 47 + lib/BackRest/Info.pm | 10 +- lib/BackRest/Ini.pm | 36 +- lib/BackRest/Manifest.pm | 4 +- lib/BackRest/Open3.pm | 122 +++ lib/BackRest/Protocol.pm | 1212 ++++++++++++++++++++++ lib/BackRest/Remote.pm | 1399 ++++---------------------- lib/BackRest/Restore.pm | 14 +- lib/BackRest/ThreadGroup.pm | 2 +- lib/BackRest/Utility.pm | 115 ++- lib/BackRest/Version.pm | 32 + test/lib/BackRestTest/BackupTest.pm | 64 +- test/lib/BackRestTest/CommonTest.pm | 31 +- test/lib/BackRestTest/ConfigTest.pm | 176 ++-- test/lib/BackRestTest/FileTest.pm | 34 +- test/lib/BackRestTest/UtilityTest.pm | 8 +- test/log/backup-archive-get-001.log | 11 +- test/log/backup-archive-get-002.log | 11 +- test/log/backup-archive-get-003.log | 11 +- test/log/backup-archive-get-004.log | 11 +- test/log/backup-archive-get-005.log | 15 +- test/log/backup-archive-get-006.log | 21 +- test/log/backup-archive-get-007.log | 15 +- test/log/backup-archive-get-008.log | 21 +- test/log/backup-archive-push-001.log | 2 +- test/log/backup-archive-push-002.log | 2 +- test/log/backup-archive-push-003.log | 2 +- test/log/backup-archive-push-004.log | 2 +- test/log/backup-archive-push-005.log | 65 +- test/log/backup-archive-push-006.log | 65 +- test/log/backup-archive-push-007.log | 65 +- test/log/backup-archive-push-008.log | 65 +- test/log/backup-archive-stop-003.log | 15 +- test/log/backup-archive-stop-004.log | 19 +- test/log/backup-archive-stop-005.log | 15 +- test/log/backup-archive-stop-006.log | 19 +- test/log/backup-expire-001.log | 438 ++++---- test/log/backup-synthetic-001.log | 424 ++++---- test/log/backup-synthetic-002.log | 424 ++++---- test/log/backup-synthetic-003.log | 424 ++++---- test/log/backup-synthetic-004.log | 424 ++++---- test/log/backup-synthetic-005.log | 563 ++++++----- test/log/backup-synthetic-006.log | 563 ++++++----- test/log/backup-synthetic-007.log | 563 ++++++----- test/log/backup-synthetic-008.log | 563 ++++++----- test/test.pl | 50 +- 59 files changed, 5205 insertions(+), 4433 deletions(-) delete mode 100644 VERSION delete mode 100755 bin/pg_backrest_remote create mode 100644 lib/BackRest/FileCommon.pm create mode 100644 lib/BackRest/Open3.pm create mode 100644 lib/BackRest/Protocol.pm create mode 100644 lib/BackRest/Version.pm diff --git a/README.md b/README.md index ab763c019..f05dffdb8 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,12 @@ Primary PgBackRest features: - In-stream compression/decompression - Archiving and retrieval of logs for replicas/restores built in - Async archiving for very busy systems (including space limits) -- Backup directories are consistent Postgres clusters (when hardlinks are on and compression is off) +- Backup directories are consistent PostgreSQL clusters (when hardlinks are on and compression is off) - Tablespace support - Restore delta option - Restore using timestamp/size or checksum - Restore remapping base/tablespaces +- Support for PostgreSQL >= 8.3 Instead of relying on traditional backup tools like tar and rsync, PgBackRest implements all backup features internally and uses a custom protocol for communicating with remote systems. Removing reliance on tar and rsync allows for better solutions to database-specific backup issues. The custom remote protocol limits the types of connections that are required to perform a backup which increases security. @@ -25,7 +26,7 @@ PgBackRest uses the gitflow model of development. This means that the master br ## Install -PgBackRest is written entirely in Perl and uses some non-standard modules that must be installed from CPAN. +PgBackRest is written entirely in Perl and uses some non-standard modules that must be installed from CPAN. All examples below are for PostgreSQL 9.3 but should be easily adaptable to any recent version. ### Ubuntu 12.04 @@ -38,7 +39,6 @@ apt-get upgrade (reboot if required) ``` apt-get install ssh apt-get install git -apt-get install cpanminus ``` * Install Postgres (instructions from http://www.postgresql.org/download/linux/ubuntu/) @@ -53,10 +53,9 @@ sudo apt-get update apt-get install postgresql-9.3 ``` -* Install required Perl modules: +* FOR MULTI-THREADING ONLY: Install additional required Perl modules using CPAN (will be removed in next release): ``` -cpanm Net::OpenSSH -cpanm IPC::System::Simple +apt-get install cpanminus cpanm threads (update this package when thread-max > 1) cpanm Thread::Queue (update this package when thread-max > 1) ``` @@ -68,13 +67,90 @@ https://github.com/pgmasters/backrest/releases PgBackRest can be installed anywhere but it's best (though not required) to install it in the same location on all systems. -* Install PostgreSQL development libraries and additional Perl modules for regression tests: +* Install PostgreSQL development libraries and additional Perl modules for regression tests (optional): ``` -apt-get install postgresql-server-dev-9.4 -cpanm DBI -cpanm DBD:Pg +apt-get install libdbd-pg-perl ``` +### CentOS 6 + +* Install Perl and required modules: +``` +yum install perl-devel +yum install perl-Time-HiRes +yum install perl-Compress-Raw-Zlib +yum install perl-IO-String +yum install perl-parent +yum install perl-JSON +yum install perl-Digest-SHA +``` +* FOR MULTI-THREADING ONLY: Install additional required Perl modules using CPAN (will be removed in next release): +``` +yum install gcc +yum install perl-CPAN +curl -L http://cpanmin.us | perl - --sudo App::cpanminus + +cpanm threads +cpanm Thread::Queue + ``` +* Install PostgreSQL development libraries and additional Perl modules for regression tests (optional): +``` +yum install perl-DBI +yum install perl-DBD-Pg +``` +CAVEAT: You must run regression tests with --log-force since file sizes do no currently match up with the test logs. + +* Install the versions of PostgreSQL that you want to test: + +Install package definitions (for each version you need): +``` +sudo rpm -ivh http://yum.postgresql.org/8.4/redhat/rhel-6-x86_64/pgdg-centos-8.4-3.noarch.rpm +sudo rpm -ivh http://yum.postgresql.org/9.0/redhat/rhel-6-x86_64/pgdg-centos90-9.0-5.noarch.rpm +sudo rpm -ivh http://yum.postgresql.org/9.1/redhat/rhel-6-x86_64/pgdg-centos91-9.1-4.noarch.rpm +sudo rpm -ivh http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm +sudo rpm -ivh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm +sudo rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm +``` + +Install packages (for each version you need): +``` +yum install postgresqlXX-server +``` +CAVEAT: Installing 8.4 with the 9.X series appears to break libpq. + +### Regression Test Setup + +* Create the backrest user + +The backrest user must be created on the same system and in the same group as the user you will use for testing (which can be any user you prefer). For example: +``` +adduser -g backrest +``` +* Setup password-less SSH login between the test user and the backrest user + +The test user should be able to `ssh backrest@127.0.0.1` and the backrest user should be able to `ssh @127.0.0.1` without requiring any passwords. This article (http://archive.oreilly.com/pub/h/66) has details on how to accomplish this. Do the logons both ways at the command line before running regression tests. + +* Give group read and execute permissions to `~/backrest/test`: + +Usually this can be accomplished by running the following as the test user: +``` +chmod 750 ~ +``` +* Running regression: + +Running the full regression suite is generally not necessary. Run the following first: +``` +./test.pl --module=backup --module-test=full --db-version=all --thread-max=<# threads> +``` +This will run full backup/restore regression with a variety of options on all installed versions of PostgreSQL. If you are only interested in one version then modify the `db-version` setting to X.X (e.g. 9.4). `--thread-max` can be omitted if you are running single-threaded. + +If there are errors in this test then run full regression to help isolate problems: +``` +./test.pl --db-version=all --thread-max=<# threads> +``` +Report regression test failures at https://github.com/pgmasters/backrest/issues. + + ## Operation ### General Options @@ -766,6 +842,20 @@ example: db-path=/data/db ## Release Notes +### v0.77: CentOS/RHEL 6 support and protocol improvements + +* Removed pg_backrest_remote and added the functionality to pg_backrest as remote command. + +* Added file and directory syncs to the File object for additional safety during backup/restore and archiving. Suggested by Andres Freund. + +* Support for Perl 5.10.1 and OpenSSH 5.3 which are default for CentOS/RHEL 6. Found by Eric Radman. + +* Improved error message when backup is run without archive_command set and without --no-archive-check specified. Found by Eric Radman. + +* Moved version number out of the VERSION file to Version.pm to better support packaging. Suggested by Michael Renner. + +* Replaced IPC::System::Simple and Net::OpenSSH with IPC::Open3 to eliminate CPAN dependency for multiple distros. + ### v0.75: New repository format, info command and experimental 9.5 support * IMPORTANT NOTE: This flag day release breaks compatibility with older versions of PgBackRest. The manifest format, on-disk structure, and the binary names have all changed. You must create a new repository to hold backups for this version of PgBackRest and keep your older repository for a time in case you need to do a restore. The `pg_backrest.conf` file has not changed but you'll need to change any references to `pg_backrest.pl` in cron (or elsewhere) to `pg_backrest` (without the `.pl` extension). diff --git a/VERSION b/VERSION deleted file mode 100644 index 39c64a9f2..000000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.75 diff --git a/bin/pg_backrest b/bin/pg_backrest index 0f9115531..a5614a5b9 100755 --- a/bin/pg_backrest +++ b/bin/pg_backrest @@ -13,6 +13,7 @@ use Carp qw(confess); $SIG{__DIE__} = sub { Carp::confess @_ }; use File::Basename qw(dirname); +use Scalar::Util qw(blessed); use lib dirname($0) . '/../lib'; use BackRest::Backup; @@ -23,7 +24,8 @@ use BackRest::Exception; use BackRest::File; use BackRest::Info; use BackRest::Lock; -use BackRest::Remote qw(DB BACKUP NONE); +use BackRest::Protocol qw(DB BACKUP NONE); +use BackRest::Remote; use BackRest::Restore; use BackRest::ThreadGroup; use BackRest::Utility; @@ -38,9 +40,9 @@ pg_backrest.pl - Simple Postgres Backup and Restore =head1 SYNOPSIS -pg_backrest.pl [options] [operation] +pg_backrest.pl [options] [command] - Operations: + Commands: archive-get retrieve an archive file from backup archive-push push an archive file to backup backup backup a cluster @@ -49,7 +51,6 @@ pg_backrest.pl [options] [operation] General Options: --stanza stanza (cluster) to operate on - (currently required for all operations) --config alternate path for pg_backrest.conf (defaults to /etc/pg_backrest.conf) --version display version and exit @@ -108,7 +109,7 @@ sub safe_exit &log(DEBUG, "safe exit called, terminating threads"); my $iTotal = threadGroupDestroy(); - remoteDestroy(); + protocolDestroy(); if (defined($iExitCode)) { @@ -132,6 +133,29 @@ eval ################################################################################################################################ configLoad(); + ################################################################################################################################ + # Process remote commands + ################################################################################################################################ + if (commandTest(CMD_REMOTE)) + { + # Turn all logging off + log_level_set(OFF, OFF); + + # Create the remote object + my $oRemote = new BackRest::Remote + ( + undef, # Host + undef, # User + 'remote', # Command + optionGet(OPTION_BUFFER_SIZE), + optionGet(OPTION_COMPRESS_LEVEL), + optionGet(OPTION_COMPRESS_LEVEL_NETWORK) + ); + + # Process remote requests + safe_exit($oRemote->process()); + } + # Set the log levels log_level_set(optionGet(OPTION_LOG_LEVEL_FILE), optionGet(OPTION_LOG_LEVEL_CONSOLE)); @@ -141,7 +165,7 @@ eval ################################################################################################################################ # Process archive commands ################################################################################################################################ - if (operationTest(OP_ARCHIVE_PUSH) || operationTest(OP_ARCHIVE_GET)) + if (commandTest(CMD_ARCHIVE_PUSH) || commandTest(CMD_ARCHIVE_GET)) { safe_exit(new BackRest::Archive()->process()); } @@ -149,20 +173,20 @@ eval ################################################################################################################################ # Process info command ################################################################################################################################ - if (operationTest(OP_INFO)) + if (commandTest(CMD_INFO)) { safe_exit(new BackRest::Info()->info()); } ################################################################################################################################ - # Acquire the operation lock + # Acquire the command lock ################################################################################################################################ - lockAcquire(operationGet()); + lockAcquire(commandGet()); ################################################################################################################################ # Open the log file ################################################################################################################################ - log_file_set(optionGet(OPTION_REPO_PATH) . '/log/' . optionGet(OPTION_STANZA) . '-' . lc(operationGet())); + log_file_set(optionGet(OPTION_REPO_PATH) . '/log/' . optionGet(OPTION_STANZA) . '-' . lc(commandGet())); ################################################################################################################################ # Create the thread group that will be used for parallel processing @@ -177,17 +201,17 @@ eval optionGet(OPTION_STANZA), optionRemoteTypeTest(BACKUP) ? optionGet(OPTION_REPO_REMOTE_PATH) : optionGet(OPTION_REPO_PATH), optionRemoteType(), - optionRemote() + protocolGet() ); ################################################################################################################################ # RESTORE ################################################################################################################################ - if (operationTest(OP_RESTORE)) + if (commandTest(CMD_RESTORE)) { if (optionRemoteTypeTest(DB)) { - confess &log(ASSERT, 'restore operation must be performed locally on the db server'); + confess &log(ASSERT, 'restore command must be performed locally on the db server'); } # Do the restore @@ -217,27 +241,20 @@ eval ################################################################################################################################ # GET MORE CONFIG INFO ################################################################################################################################ - # Make sure backup and expire operations happen on the backup side + # Make sure backup and expire command happen on the backup side if (optionRemoteTypeTest(BACKUP)) { - confess &log(ERROR, 'backup and expire operations must run on the backup host'); + confess &log(ERROR, 'backup and expire commands must run on the backup host'); } # Initialize the db object my $oDb; - if (operationTest(OP_BACKUP)) + if (commandTest(CMD_BACKUP)) { - $oDb = new BackRest::Db - ( - !optionGet(OPTION_NO_START_STOP), - optionGet(OPTION_DB_PATH), - optionGet(OPTION_COMMAND_PSQL), - optionGet(OPTION_DB_HOST, false), - optionGet(OPTION_DB_USER, optionTest(OPTION_DB_HOST)) - ); + $oDb = new BackRest::Db(); - # Run backup_init - parameters required for backup and restore operations + # Run backup_init - parameters required for backup and restore commands backup_init ( $oDb, @@ -255,17 +272,17 @@ eval ################################################################################################################################ # BACKUP ################################################################################################################################ - if (operationTest(OP_BACKUP)) + if (commandTest(CMD_BACKUP)) { backup(optionGet(OPTION_DB_PATH), optionGet(OPTION_START_FAST)); - operationSet(OP_EXPIRE); + commandSet(CMD_EXPIRE); } ################################################################################################################################ # EXPIRE ################################################################################################################################ - if (operationTest(OP_EXPIRE)) + if (commandTest(CMD_EXPIRE)) { if (!defined($oDb)) { @@ -289,7 +306,7 @@ eval # Cleanup backup (should be removed when backup becomes an object) backup_cleanup(); - # Release the operation lock + # Release the command lock lockRelease(); safe_exit(0); @@ -303,7 +320,7 @@ if ($@) my $oMessage = $@; # If a backrest exception then return the code - don't confess - if ($oMessage->isa('BackRest::Exception')) + if (blessed($oMessage) && $oMessage->isa('BackRest::Exception')) { safe_exit($oMessage->code()); } diff --git a/bin/pg_backrest_remote b/bin/pg_backrest_remote deleted file mode 100755 index 2952f1d25..000000000 --- a/bin/pg_backrest_remote +++ /dev/null @@ -1,252 +0,0 @@ -#!/usr/bin/perl -#################################################################################################################################### -# pg_backrest_remote.pl - Simple Postgres Backup and Restore Remote -#################################################################################################################################### - -#################################################################################################################################### -# Perl includes -#################################################################################################################################### -use strict; -use warnings FATAL => qw(all); -use Carp qw(confess); - -use File::Basename; -use Getopt::Long; -use JSON::PP; - -use lib dirname($0) . '/../lib'; -use BackRest::Archive; -use BackRest::Db; -use BackRest::Exception; -use BackRest::File; -use BackRest::Info; -use BackRest::Remote; -use BackRest::Utility; - -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant -{ - OP_NOOP => 'noop', - OP_EXIT => 'exit' -}; - -#################################################################################################################################### -# PARAM_GET - helper function that returns the param or an error if required and it does not exist -#################################################################################################################################### -sub param_get -{ - my $oParamHashRef = shift; - my $strParam = shift; - my $bRequired = shift; - - my $strValue = ${$oParamHashRef}{$strParam}; - - if (!defined($strValue) && (!defined($bRequired) || $bRequired)) - { - confess "${strParam} must be defined"; - } - - return $strValue; -} - -#################################################################################################################################### -# START MAIN -#################################################################################################################################### -# Turn off logging -log_level_set(OFF, OFF); - -# Create the remote object -my $oRemote = new BackRest::Remote -( - undef, # Host - undef, # User - 'remote' # Command -); - -# Create the file object -my $oFile = new BackRest::File -( - $oRemote->stanza(), - $oRemote->repoPath(), - undef, - $oRemote, -); - -# Create objects -my $oArchive = new BackRest::Archive(); -my $oInfo = new BackRest::Info(); -my $oJSON = JSON::PP->new(); -my $oDb = new BackRest::Db(false); - -# Command string -my $strCommand = OP_NOOP; - -# Loop until the exit command is received -while ($strCommand ne OP_EXIT) -{ - my %oParamHash; - - $strCommand = $oRemote->command_read(\%oParamHash); - - eval - { - # Copy file - if ($strCommand eq OP_FILE_COPY || - $strCommand eq OP_FILE_COPY_IN || - $strCommand eq OP_FILE_COPY_OUT) - { - my $bResult; - my $strChecksum; - my $iFileSize; - - # Copy a file locally - if ($strCommand eq OP_FILE_COPY) - { - ($bResult, $strChecksum, $iFileSize) = - $oFile->copy(PATH_ABSOLUTE, param_get(\%oParamHash, 'source_file'), - PATH_ABSOLUTE, param_get(\%oParamHash, 'destination_file'), - param_get(\%oParamHash, 'source_compressed'), - param_get(\%oParamHash, 'destination_compress'), - param_get(\%oParamHash, 'ignore_missing_source', false), - undef, - param_get(\%oParamHash, 'mode', false), - param_get(\%oParamHash, 'destination_path_create') ? 'Y' : 'N', - param_get(\%oParamHash, 'user', false), - param_get(\%oParamHash, 'group', false), - param_get(\%oParamHash, 'append_checksum', false)); - } - # Copy a file from STDIN - elsif ($strCommand eq OP_FILE_COPY_IN) - { - ($bResult, $strChecksum, $iFileSize) = - $oFile->copy(PIPE_STDIN, undef, - PATH_ABSOLUTE, param_get(\%oParamHash, 'destination_file'), - param_get(\%oParamHash, 'source_compressed'), - param_get(\%oParamHash, 'destination_compress'), - undef, undef, - param_get(\%oParamHash, 'mode', false), - param_get(\%oParamHash, 'destination_path_create'), - param_get(\%oParamHash, 'user', false), - param_get(\%oParamHash, 'group', false), - param_get(\%oParamHash, 'append_checksum', false)); - } - # Copy a file to STDOUT - elsif ($strCommand eq OP_FILE_COPY_OUT) - { - ($bResult, $strChecksum, $iFileSize) = - $oFile->copy(PATH_ABSOLUTE, param_get(\%oParamHash, 'source_file'), - PIPE_STDOUT, undef, - param_get(\%oParamHash, 'source_compressed'), - param_get(\%oParamHash, 'destination_compress')); - } - - $oRemote->output_write(($bResult ? 'Y' : 'N') . " " . (defined($strChecksum) ? $strChecksum : '?') . " " . - (defined($iFileSize) ? $iFileSize : '?')); - } - # List files in a path - elsif ($strCommand eq OP_FILE_LIST) - { - my $strOutput; - - foreach my $strFile ($oFile->list(PATH_ABSOLUTE, param_get(\%oParamHash, 'path'), - param_get(\%oParamHash, 'expression', false), - param_get(\%oParamHash, 'sort_order'), - param_get(\%oParamHash, 'ignore_missing'))) - { - if (defined($strOutput)) - { - $strOutput .= "\n"; - } - - $strOutput .= $strFile; - } - - $oRemote->output_write($strOutput); - } - # Create a path - elsif ($strCommand eq OP_FILE_PATH_CREATE) - { - $oFile->path_create(PATH_ABSOLUTE, param_get(\%oParamHash, 'path'), param_get(\%oParamHash, 'mode', false)); - $oRemote->output_write(); - } - # Check if a file/path exists - elsif ($strCommand eq OP_FILE_EXISTS) - { - $oRemote->output_write($oFile->exists(PATH_ABSOLUTE, param_get(\%oParamHash, 'path')) ? 'Y' : 'N'); - } - # Wait - elsif ($strCommand eq OP_FILE_WAIT) - { - $oRemote->output_write($oFile->wait(PATH_ABSOLUTE)); - } - # Generate a manifest - elsif ($strCommand eq OP_FILE_MANIFEST) - { - my %oManifestHash; - - $oFile->manifest(PATH_ABSOLUTE, param_get(\%oParamHash, 'path'), \%oManifestHash); - - my $strOutput = "name\ttype\tuser\tgroup\tmode\tmodification_time\tinode\tsize\tlink_destination"; - - foreach my $strName (sort(keys $oManifestHash{name})) - { - $strOutput .= "\n${strName}\t" . - $oManifestHash{name}{"${strName}"}{type} . "\t" . - (defined($oManifestHash{name}{"${strName}"}{user}) ? $oManifestHash{name}{"${strName}"}{user} : "") . "\t" . - (defined($oManifestHash{name}{"${strName}"}{group}) ? $oManifestHash{name}{"${strName}"}{group} : "") . "\t" . - (defined($oManifestHash{name}{"${strName}"}{mode}) ? $oManifestHash{name}{"${strName}"}{mode} : "") . "\t" . - (defined($oManifestHash{name}{"${strName}"}{modification_time}) ? - $oManifestHash{name}{"${strName}"}{modification_time} : "") . "\t" . - (defined($oManifestHash{name}{"${strName}"}{inode}) ? $oManifestHash{name}{"${strName}"}{inode} : "") . "\t" . - (defined($oManifestHash{name}{"${strName}"}{size}) ? $oManifestHash{name}{"${strName}"}{size} : "") . "\t" . - (defined($oManifestHash{name}{"${strName}"}{link_destination}) ? - $oManifestHash{name}{"${strName}"}{link_destination} : ""); - } - - $oRemote->output_write($strOutput); - } - # Archive push checks - elsif ($strCommand eq OP_ARCHIVE_PUSH_CHECK) - { - my ($strArchiveId, $strChecksum) = $oArchive->pushCheck($oFile, - param_get(\%oParamHash, 'wal-segment'), - undef, - param_get(\%oParamHash, 'db-version'), - param_get(\%oParamHash, 'db-sys-id')); - - $oRemote->output_write("${strArchiveId}\t" . (defined($strChecksum) ? $strChecksum : 'Y')); - } - elsif ($strCommand eq OP_ARCHIVE_GET_CHECK) - { - $oRemote->output_write($oArchive->getCheck($oFile)); - } - # Info list stanza - elsif ($strCommand eq OP_INFO_LIST_STANZA) - { - $oRemote->output_write( - $oJSON->encode( - $oInfo->listStanza($oFile, - param_get(\%oParamHash, 'stanza', false)))); - } - elsif ($strCommand eq OP_DB_INFO) - { - my ($strDbVersion, $iControlVersion, $iCatalogVersion, $ullDbSysId) = - $oDb->info($oFile, param_get(\%oParamHash, 'db-path')); - - $oRemote->output_write("${strDbVersion}\t${iControlVersion}\t${iCatalogVersion}\t${ullDbSysId}"); - } - # Continue if noop or exit - elsif ($strCommand ne OP_NOOP && $strCommand ne OP_EXIT) - { - confess "invalid command: ${strCommand}"; - } - }; - - # Process errors - if ($@) - { - $oRemote->error_write($@); - } -} diff --git a/doc/doc.xml b/doc/doc.xml index 71af4171e..0feaffd79 100644 --- a/doc/doc.xml +++ b/doc/doc.xml @@ -15,11 +15,12 @@
  • In-stream compression/decompression
  • Archiving and retrieval of logs for replicas/restores built in
  • Async archiving for very busy systems (including space limits)
  • -
  • Backup directories are consistent Postgres clusters (when hardlinks are on and compression is off)
  • +
  • Backup directories are consistent clusters (when hardlinks are on and compression is off)
  • Tablespace support
  • Restore delta option
  • Restore using timestamp/size or checksum
  • Restore remapping base/tablespaces
  • +
  • Support for >= 8.3
  • Instead of relying on traditional backup tools like tar and rsync, implements all backup features internally and uses a custom protocol for communicating with remote systems. Removing reliance on tar and rsync allows for better solutions to database-specific backup issues. The custom remote protocol limits the types of connections that are required to perform a backup which increases security. @@ -27,7 +28,7 @@ - is written entirely in Perl and uses some non-standard modules that must be installed from CPAN. + is written entirely in Perl and uses some non-standard modules that must be installed from CPAN. All examples below are for 9.3 but should be easily adaptable to any recent version. @@ -40,7 +41,6 @@ apt-get install ssh apt-get install git - apt-get install cpanminus * Install Postgres (instructions from http://www.postgresql.org/download/linux/ubuntu/) @@ -55,10 +55,9 @@ apt-get install postgresql-9.3 - * Install required Perl modules: + * FOR MULTI-THREADING ONLY: Install additional required Perl modules using CPAN (will be removed in next release): - cpanm Net::OpenSSH - cpanm IPC::System::Simple + apt-get install cpanminus cpanm threads (update this package when thread-max > 1) cpanm Thread::Queue (update this package when thread-max > 1) @@ -70,12 +69,89 @@ can be installed anywhere but it's best (though not required) to install it in the same location on all systems. - * Install development libraries and additional Perl modules for regression tests: + * Install development libraries and additional Perl modules for regression tests (optional): - apt-get install postgresql-server-dev-9.4 - cpanm DBI - cpanm DBD:Pg - + apt-get install libdbd-pg-perl + + + + + * Install Perl and required modules: + + yum install perl-devel + yum install perl-Time-HiRes + yum install perl-Compress-Raw-Zlib + yum install perl-IO-String + yum install perl-parent + yum install perl-JSON + yum install perl-Digest-SHA + + * FOR MULTI-THREADING ONLY: Install additional required Perl modules using CPAN (will be removed in next release): + + yum install gcc + yum install perl-CPAN + curl -L http://cpanmin.us | perl - --sudo App::cpanminus + + cpanm threads + cpanm Thread::Queue + + * Install development libraries and additional Perl modules for regression tests (optional): + + yum install perl-DBI + yum install perl-DBD-Pg + + CAVEAT: You must run regression tests with --log-force since file sizes do no currently match up with the test logs. + + * Install the versions of PostgreSQL that you want to test: + + Install package definitions (for each version you need): + + sudo rpm -ivh http://yum.postgresql.org/8.4/redhat/rhel-6-x86_64/pgdg-centos-8.4-3.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.0/redhat/rhel-6-x86_64/pgdg-centos90-9.0-5.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.1/redhat/rhel-6-x86_64/pgdg-centos91-9.1-4.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm + + + Install packages (for each version you need): + + yum install postgresqlXX-server + + CAVEAT: Installing 8.4 with the 9.X series appears to break libpq. + + + + * Create the backrest user + + The backrest user must be created on the same system and in the same group as the user you will use for testing (which can be any user you prefer). For example: + + adduser -g <test-user-group> backrest + + * Setup password-less SSH login between the test user and the backrest user + + The test user should be able to `ssh backrest@127.0.0.1` and the backrest user should be able to `ssh <testuser>@127.0.0.1` without requiring any passwords. This article (http://archive.oreilly.com/pub/h/66) has details on how to accomplish this. Do the logons both ways at the command line before running regression tests. + + * Give group read and execute permissions to ~/backrest/test: + + Usually this can be accomplished by running the following as the test user: + + chmod 750 ~ + + * Running regression: + + Running the full regression suite is generally not necessary. Run the following first: + + ./test.pl --module=backup --module-test=full --db-version=all --thread-max=<# threads> + + This will run full backup/restore regression with a variety of options on all installed versions of . If you are only interested in one version then modify the db-version setting to X.X (e.g. 9.4). --thread-max can be omitted if you are running single-threaded. + + If there are errors in this test then run full regression to help isolate problems: + + ./test.pl --db-version=all --thread-max=<# threads> + + Report regression test failures at https://github.com/pgmasters/backrest/issues. + @@ -721,6 +797,29 @@ Run a full backup on the db stanza. --type can + + + + Removed pg_backrest_remote and added the functionality to pg_backrest as remote command. + + + Added file and directory syncs to the File object for additional safety during backup/restore and archiving. Suggested by Andres Freund. + + + Support for Perl 5.10.1 and OpenSSH 5.3 which are default for CentOS/RHEL 6. Found by Eric Radman. + + + Improved error message when backup is run without archive_command set and without --no-archive-check specified. Found by Eric Radman. + + + Moved version number out of the VERSION file to Version.pm to better support packaging. Suggested by Michael Renner. + + + Replaced IPC::System::Simple and Net::OpenSSH with IPC::Open3 to eliminate CPAN dependency for multiple distros. + + + + diff --git a/lib/BackRest/Archive.pm b/lib/BackRest/Archive.pm index 7d32ee6c7..27805c377 100644 --- a/lib/BackRest/Archive.pm +++ b/lib/BackRest/Archive.pm @@ -18,7 +18,7 @@ use BackRest::Exception; use BackRest::File; use BackRest::Ini; use BackRest::Lock; -use BackRest::Remote; +use BackRest::Protocol; use BackRest::Utility; #################################################################################################################################### @@ -55,19 +55,19 @@ sub process my $self = shift; # Process push - if (operationTest(OP_ARCHIVE_PUSH)) + if (commandTest(CMD_ARCHIVE_PUSH)) { return $self->pushProcess(); } # Process get - if (operationTest(OP_ARCHIVE_GET)) + if (commandTest(CMD_ARCHIVE_GET)) { return $self->getProcess(); } - # Error if any other operation is found - confess &log(ASSERT, "Archive->process() called with invalid operation: " . operationGet()); + # Error if any other command is found + confess &log(ASSERT, "Archive->process() called with invalid command: " . commandGet()); } ################################################################################################################################ @@ -275,7 +275,7 @@ sub get optionGet(OPTION_STANZA), optionRemoteTypeTest(BACKUP) ? optionGet(OPTION_REPO_REMOTE_PATH) : optionGet(OPTION_REPO_PATH), optionRemoteType(), - optionRemote() + protocolGet() ); # If the destination file path is not absolute then it is relative to the db data path @@ -327,16 +327,15 @@ sub getCheck my $self = shift; my $oFile = shift; - # &log(DEBUG, OP_ARCHIVE_GET_CHECK . "()"); my $strArchiveId; if ($oFile->is_remote(PATH_BACKUP_ARCHIVE)) { - $strArchiveId = $oFile->{oRemote}->command_execute(OP_ARCHIVE_GET_CHECK, undef, true); + $strArchiveId = $oFile->{oProtocol}->command_execute(OP_ARCHIVE_GET_CHECK, undef, true); } else { - $strArchiveId = (new BackRest::ArchiveInfo($oFile->path_get(PATH_BACKUP_ARCHIVE)))->archiveId(); + $strArchiveId = (new BackRest::ArchiveInfo($oFile->path_get(PATH_BACKUP_ARCHIVE), true))->archiveId(); } # Set operation and debug strings @@ -352,16 +351,16 @@ sub pushProcess { my $self = shift; - # Make sure the archive push operation happens on the db side + # Make sure the archive push command happens on the db side if (optionRemoteTypeTest(DB)) { - confess &log(ERROR, OP_ARCHIVE_PUSH . ' operation must run on the db host'); + confess &log(ERROR, CMD_ARCHIVE_PUSH . ' operation must run on the db host'); } # Load the archive object use BackRest::Archive; - # If an archive section has been defined, use that instead of the backup section when operation is OP_ARCHIVE_PUSH + # If an archive section has been defined, use that instead of the backup section when command is CMD_ARCHIVE_PUSH my $bArchiveAsync = optionGet(OPTION_ARCHIVE_ASYNC); my $strArchivePath = optionGet(OPTION_REPO_PATH); @@ -418,7 +417,7 @@ sub pushProcess } # Create a lock file to make sure async archive-push does not run more than once - if (!lockAcquire(operationGet(), false)) + if (!lockAcquire(commandGet(), false)) { &log(DEBUG, 'another async archive-push process is already running - exiting'); return 0; @@ -427,9 +426,6 @@ sub pushProcess # Open the log file log_file_set(optionGet(OPTION_REPO_PATH) . '/log/' . optionGet(OPTION_STANZA) . '-archive-async'); - # Build the basic command string that will be used to modify the command during processing - my $strCommand = $^X . ' ' . $0 . " --stanza=" . optionGet(OPTION_STANZA); - # Call the archive_xfer function and continue to loop as long as there are files to process my $iLogTotal; @@ -466,7 +462,7 @@ sub push optionGet(OPTION_STANZA), $bAsync || optionRemoteTypeTest(NONE) ? optionGet(OPTION_REPO_PATH) : optionGet(OPTION_REPO_REMOTE_PATH), $bAsync ? NONE : optionRemoteType(), - optionRemote($bAsync) + protocolGet($bAsync) ); # If the source file path is not absolute then it is relative to the data path @@ -558,10 +554,10 @@ sub pushCheck $oParamHash{'db-sys-id'} = $ullDbSysId; # Output remote trace info - &log(TRACE, "${strOperation}: remote (" . $oFile->{oRemote}->command_param_string(\%oParamHash) . ')'); + &log(TRACE, "${strOperation}: remote (" . $oFile->{oProtocol}->command_param_string(\%oParamHash) . ')'); # Execute the command - my $strResult = $oFile->{oRemote}->command_execute($strOperation, \%oParamHash, true); + my $strResult = $oFile->{oProtocol}->command_execute($strOperation, \%oParamHash, true); $strArchiveId = (split("\t", $strResult))[0]; $strChecksum = (split("\t", $strResult))[1]; @@ -624,7 +620,7 @@ sub xfer optionGet(OPTION_STANZA), optionGet(OPTION_REPO_PATH), NONE, - optionRemote(true) + protocolGet(true) ); # Load the archive manifest - all the files that need to be pushed @@ -636,7 +632,7 @@ sub xfer my $lFileSize = 0; my $lFileTotal = 0; - foreach my $strFile (sort(keys $oManifestHash{name})) + foreach my $strFile (sort(keys(%{$oManifestHash{name}}))) { if ($strFile =~ "^[0-F]{24}(-[0-f]{40})(\\.$oFile->{strCompressExtension}){0,1}\$" || $strFile =~ /^[0-F]{8}\.history$/ || $strFile =~ /^[0-F]{24}\.[0-F]{8}\.backup$/) @@ -665,7 +661,7 @@ sub xfer optionGet(OPTION_STANZA), optionGet(OPTION_REPO_REMOTE_PATH), optionRemoteType(), - optionRemote() + protocolGet() ); } @@ -738,7 +734,7 @@ sub xfer unlink($strArchiveFile) or confess &log(ERROR, "copied ${strArchiveFile} to archive successfully but unable to remove it locally. " . 'This file will need to be cleaned up manually. If the problem persists, check if ' . - OP_ARCHIVE_PUSH . ' is being run with different permissions in different contexts.'); + CMD_ARCHIVE_PUSH . ' is being run with different permissions in different contexts.'); # Remove the copied segment from the total size $lFileSize -= $oManifestHash{name}{$strFile}{size}; diff --git a/lib/BackRest/ArchiveInfo.pm b/lib/BackRest/ArchiveInfo.pm index eb3dbd420..c6b41b13b 100644 --- a/lib/BackRest/ArchiveInfo.pm +++ b/lib/BackRest/ArchiveInfo.pm @@ -56,13 +56,22 @@ sub new { my $class = shift; # Class name my $strArchiveClusterPath = shift; # Backup cluster path + my $bRequired = shift; # Is archive info required? - &log(DEBUG, OP_ARCHIVE_INFO_NEW . "(): archiveClusterPath = ${strArchiveClusterPath}"); + logDebug(OP_ARCHIVE_INFO_NEW, DEBUG_CALL, undef, {archiveClusterPath => $strArchiveClusterPath}); # Build the archive info path/file name my $strArchiveInfoFile = "${strArchiveClusterPath}/" . ARCHIVE_INFO_FILE; my $bExists = -e $strArchiveInfoFile ? true : false; + if (!$bExists && defined($bRequired) && $bRequired) + { + confess &log(ERROR, ARCHIVE_INFO_FILE . " does not exist but is required to get WAL segments\n" . + "HINT: Is archive_command configured in postgresql.conf?\n" . + "HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving" . + " scheme.", ERROR_FILE_MISSING); + } + # Init object and store variables my $self = $class->SUPER::new($strArchiveInfoFile, $bExists); diff --git a/lib/BackRest/Backup.pm b/lib/BackRest/Backup.pm index bd52c807c..4f39432ba 100644 --- a/lib/BackRest/Backup.pm +++ b/lib/BackRest/Backup.pm @@ -112,7 +112,7 @@ sub backup_file_not_in_manifest my @stryFile; - foreach my $strName (sort(keys $oFileHash{name})) + foreach my $strName (sort(keys(%{$oFileHash{name}}))) { # Ignore certain files that will never be in the manifest if ($strName eq FILE_MANIFEST || @@ -418,7 +418,7 @@ sub backup_file $oyBackupQueue[@oyBackupQueue] = Thread::Queue->new(); } - foreach my $strFileKey (sort {$b cmp $a} (keys $oFileCopyMap{$strPathKey})) + foreach my $strFileKey (sort {$b cmp $a} (keys(%{$oFileCopyMap{$strPathKey}}))) { my $oFileCopy = $oFileCopyMap{$strPathKey}{$strFileKey}; @@ -734,7 +734,7 @@ sub backup &log(DEBUG, "retrieving archive logs ${strArchiveStart}:${strArchiveStop}"); my $oArchive = new BackRest::Archive(); my $strArchiveId = $oArchive->getCheck($oFile); - my @stryArchive = $oArchive->range($strArchiveStart, $strArchiveStop, $oDb->db_version_get() < 9.3); + my @stryArchive = $oArchive->range($strArchiveStart, $strArchiveStop, $oDb->versionGet() < 9.3); foreach my $strArchive (@stryArchive) { diff --git a/lib/BackRest/BackupInfo.pm b/lib/BackRest/BackupInfo.pm index 4d5071a8e..a5cd90a15 100644 --- a/lib/BackRest/BackupInfo.pm +++ b/lib/BackRest/BackupInfo.pm @@ -116,8 +116,6 @@ sub new # Init object and store variables my $self = $class->SUPER::new($strBackupInfoFile, $bExists); - $self->set(INI_SECTION_BACKREST, INI_KEY_VERSION, undef, version_get()); - $self->{bExists} = $bExists; $self->{strBackupClusterPath} = $strBackupClusterPath; @@ -311,7 +309,7 @@ sub backupAdd if (!$oBackupManifest->test(MANIFEST_SECTION_BACKUP, MANIFEST_KEY_TYPE, undef, BACKUP_TYPE_FULL)) { - my @stryReference = sort(keys($oReferenceHash)); + my @stryReference = sort(keys(%$oReferenceHash)); $self->set(INFO_BACKUP_SECTION_BACKUP_CURRENT, $strBackupLabel, INFO_BACKUP_KEY_PRIOR, $oBackupManifest->get(MANIFEST_SECTION_BACKUP, MANIFEST_KEY_PRIOR)); diff --git a/lib/BackRest/Config.pm b/lib/BackRest/Config.pm index f64df0c4a..7c1407214 100644 --- a/lib/BackRest/Config.pm +++ b/lib/BackRest/Config.pm @@ -21,9 +21,9 @@ use BackRest::Utility; #################################################################################################################################### # Export functions #################################################################################################################################### -our @EXPORT = qw(configLoad optionGet optionTest optionRuleGet optionRequired optionDefault operationGet operationTest - operationSet operationWrite optionRemoteType optionRemoteTypeTest optionRemote optionRemoteTest - remoteDestroy); +our @EXPORT = qw(configLoad optionGet optionTest optionRuleGet optionRequired optionDefault commandGet commandTest + commandSet commandWrite optionRemoteType optionRemoteTypeTest protocolGet optionRemoteTest + protocolDestroy); #################################################################################################################################### # DB/BACKUP Constants @@ -38,19 +38,22 @@ use constant push @EXPORT, qw(DB BACKUP NONE); #################################################################################################################################### -# Operation constants - basic operations that are allowed in backrest +# Command constants - basic commands that are allowed in backrest #################################################################################################################################### -use constant -{ - OP_ARCHIVE_GET => 'archive-get', - OP_ARCHIVE_PUSH => 'archive-push', - OP_BACKUP => 'backup', - OP_INFO => 'info', - OP_RESTORE => 'restore', - OP_EXPIRE => 'expire' -}; - -push @EXPORT, qw(OP_ARCHIVE_GET OP_ARCHIVE_PUSH OP_BACKUP OP_INFO OP_RESTORE OP_EXPIRE); +use constant CMD_ARCHIVE_GET => 'archive-get'; + push @EXPORT, qw(CMD_ARCHIVE_GET); +use constant CMD_ARCHIVE_PUSH => 'archive-push'; + push @EXPORT, qw(CMD_ARCHIVE_PUSH); +use constant CMD_BACKUP => 'backup'; + push @EXPORT, qw(CMD_BACKUP); +use constant CMD_INFO => 'info'; + push @EXPORT, qw(CMD_INFO); +use constant CMD_REMOTE => 'remote'; + push @EXPORT, qw(CMD_REMOTE); +use constant CMD_RESTORE => 'restore'; + push @EXPORT, qw(CMD_RESTORE); +use constant CMD_EXPIRE => 'expire'; + push @EXPORT, qw(CMD_EXPIRE); #################################################################################################################################### # BACKUP Type Constants @@ -67,8 +70,10 @@ push @EXPORT, qw(BACKUP_TYPE_FULL BACKUP_TYPE_DIFF BACKUP_TYPE_INCR); #################################################################################################################################### # INFO Output Constants #################################################################################################################################### -use constant INFO_OUTPUT_TEXT => 'text'; push @EXPORT, qw(INFO_OUTPUT_TEXT); -use constant INFO_OUTPUT_JSON => 'json'; push @EXPORT, qw(INFO_OUTPUT_JSON); +use constant INFO_OUTPUT_TEXT => 'text'; + push @EXPORT, qw(INFO_OUTPUT_TEXT); +use constant INFO_OUTPUT_JSON => 'json'; + push @EXPORT, qw(INFO_OUTPUT_JSON); #################################################################################################################################### # SOURCE Constants @@ -240,7 +245,7 @@ use constant OPTION_DEFAULT_ARCHIVE_ASYNC => false, OPTION_DEFAULT_COMMAND_PSQL => '/usr/bin/psql -X', - OPTION_DEFAULT_COMMAND_REMOTE => dirname(abs_path($0)) . '/pg_backrest_remote', + OPTION_DEFAULT_COMMAND_REMOTE => abs_path($0), OPTION_DEFAULT_BACKUP_ARCHIVE_CHECK => true, OPTION_DEFAULT_BACKUP_ARCHIVE_COPY => false, @@ -300,7 +305,7 @@ use constant OPTION_RULE_DEPEND_VALUE => 'depend-value', OPTION_RULE_HINT => 'hint', OPTION_RULE_NEGATE => 'negate', - OPTION_RULE_OPERATION => 'operation', + OPTION_RULE_COMMAND => 'command', OPTION_RULE_REQUIRED => 'required', OPTION_RULE_SECTION => 'section', OPTION_RULE_SECTION_INHERIT => 'section-inherit', @@ -308,7 +313,7 @@ use constant }; push @EXPORT, qw(OPTION_RULE_ALLOW_LIST OPTION_RULE_ALLOW_RANGE OPTION_RULE_DEFAULT OPTION_RULE_DEPEND OPTION_RULE_DEPEND_OPTION - OPTION_RULE_DEPEND_LIST OPTION_RULE_DEPEND_VALUE OPTION_RULE_NEGATE OPTION_RULE_OPERATION OPTION_RULE_REQUIRED + OPTION_RULE_DEPEND_LIST OPTION_RULE_DEPEND_VALUE OPTION_RULE_NEGATE OPTION_RULE_COMMAND OPTION_RULE_REQUIRED OPTION_RULE_SECTION OPTION_RULE_SECTION_INHERIT OPTION_RULE_TYPE); #################################################################################################################################### @@ -342,9 +347,9 @@ my %oOptionRule = &OPTION_DELTA => { &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RESTORE_DELTA, } @@ -354,14 +359,14 @@ my %oOptionRule = &OPTION_FORCE => { &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RESTORE_FORCE, }, - &OP_BACKUP => + &CMD_BACKUP => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_FORCE, &OPTION_RULE_DEPEND => @@ -376,9 +381,9 @@ my %oOptionRule = &OPTION_NO_START_STOP => { &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => + &CMD_BACKUP => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_NO_START_STOP } @@ -388,9 +393,9 @@ my %oOptionRule = &OPTION_SET => { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RESTORE_SET, } @@ -400,25 +405,29 @@ my %oOptionRule = &OPTION_STANZA => { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => + &CMD_ARCHIVE_GET => { &OPTION_RULE_REQUIRED => true }, - &OP_ARCHIVE_PUSH => + &CMD_ARCHIVE_PUSH => { &OPTION_RULE_REQUIRED => true }, - &OP_BACKUP => + &CMD_BACKUP => { &OPTION_RULE_REQUIRED => true }, - &OP_EXPIRE => + &CMD_EXPIRE => { &OPTION_RULE_REQUIRED => true }, - &OP_RESTORE => + &CMD_REMOTE => + { + &OPTION_RULE_REQUIRED => false + }, + &CMD_RESTORE => { &OPTION_RULE_REQUIRED => true } @@ -428,9 +437,9 @@ my %oOptionRule = &OPTION_TARGET => { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_DEPEND => { @@ -449,9 +458,9 @@ my %oOptionRule = &OPTION_TARGET_EXCLUSIVE => { &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RESTORE_TARGET_EXCLUSIVE, &OPTION_RULE_DEPEND => @@ -470,9 +479,9 @@ my %oOptionRule = &OPTION_TARGET_RESUME => { &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RESTORE_TARGET_RESUME, &OPTION_RULE_DEPEND => @@ -492,9 +501,9 @@ my %oOptionRule = &OPTION_TARGET_TIMELINE => { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_REQUIRED => false, &OPTION_RULE_DEPEND => @@ -515,9 +524,9 @@ my %oOptionRule = &OPTION_TYPE => { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => + &CMD_BACKUP => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_TYPE, &OPTION_RULE_ALLOW_LIST => @@ -528,7 +537,7 @@ my %oOptionRule = } }, - &OP_RESTORE => + &CMD_RESTORE => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RESTORE_TYPE, &OPTION_RULE_ALLOW_LIST => @@ -547,9 +556,9 @@ my %oOptionRule = &OPTION_OUTPUT => { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_INFO => + &CMD_INFO => { &OPTION_RULE_DEFAULT => OPTION_DEFAULT_INFO_OUTPUT, &OPTION_RULE_ALLOW_LIST => @@ -568,13 +577,13 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_COMMAND_REMOTE, &OPTION_RULE_SECTION => CONFIG_SECTION_COMMAND, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_BACKUP => true, - &OP_INFO => true, - &OP_RESTORE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_INFO => true, + &CMD_RESTORE => true } }, @@ -583,9 +592,10 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_COMMAND_PSQL, &OPTION_RULE_SECTION => CONFIG_SECTION_COMMAND, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true, + &CMD_REMOTE => true } }, @@ -593,9 +603,10 @@ my %oOptionRule = { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_SECTION => CONFIG_SECTION_COMMAND, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true, + &CMD_REMOTE => true }, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_DEPEND => @@ -609,9 +620,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_ARCHIVE_ASYNC, &OPTION_RULE_SECTION => CONFIG_SECTION_ARCHIVE, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_PUSH => true + &CMD_ARCHIVE_PUSH => true } }, @@ -620,9 +631,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_STANZA, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true } }, @@ -630,9 +641,9 @@ my %oOptionRule = { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_SECTION => CONFIG_SECTION_STANZA, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true }, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_DEPEND => @@ -646,12 +657,12 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_BACKUP, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_INFO => true, - &OP_RESTORE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_INFO => true, + &CMD_RESTORE => true }, }, @@ -659,12 +670,12 @@ my %oOptionRule = { &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_SECTION => CONFIG_SECTION_BACKUP, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_INFO => true, - &OP_RESTORE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_INFO => true, + &CMD_RESTORE => true }, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_DEPEND => @@ -678,14 +689,14 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_REPO_PATH, &OPTION_RULE_SECTION => CONFIG_SECTION_GENERAL, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_BACKUP => true, - &OP_INFO => true, - &OP_RESTORE => true, - &OP_EXPIRE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_INFO => true, + &CMD_RESTORE => true, + &CMD_EXPIRE => true }, }, @@ -694,12 +705,13 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_GENERAL, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_INFO => true, - &OP_RESTORE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_INFO => true, + &CMD_REMOTE => true, + &CMD_RESTORE => true }, }, @@ -708,17 +720,17 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_STRING, &OPTION_RULE_SECTION => CONFIG_SECTION_STANZA, &OPTION_RULE_HINT => "Does this stanza exist?", - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => + &CMD_ARCHIVE_GET => { &OPTION_RULE_REQUIRED => false }, - &OP_ARCHIVE_PUSH => + &CMD_ARCHIVE_PUSH => { &OPTION_RULE_REQUIRED => false }, - &OP_BACKUP => true + &CMD_BACKUP => true }, }, @@ -736,9 +748,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_INTEGER, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_ARCHIVE, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_PUSH => true + &CMD_ARCHIVE_PUSH => true } }, @@ -747,9 +759,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_ARCHIVE_CHECK, &OPTION_RULE_SECTION => true, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => + &CMD_BACKUP => { &OPTION_RULE_DEPEND => { @@ -765,9 +777,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_ARCHIVE_COPY, &OPTION_RULE_SECTION => true, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => + &CMD_BACKUP => { &OPTION_RULE_DEPEND => { @@ -784,12 +796,12 @@ my %oOptionRule = &OPTION_RULE_DEFAULT => OPTION_DEFAULT_COMPRESS, &OPTION_RULE_SECTION => true, &OPTION_RULE_SECTION_INHERIT => CONFIG_SECTION_GENERAL, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_BACKUP => true, - &OP_RESTORE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_RESTORE => true } }, @@ -800,13 +812,14 @@ my %oOptionRule = &OPTION_RULE_SECTION => true, &OPTION_RULE_SECTION_INHERIT => CONFIG_SECTION_GENERAL, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_COMPRESS_LEVEL_MIN, OPTION_DEFAULT_COMPRESS_LEVEL_MAX], - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_BACKUP => true, - &OP_INFO => true, - &OP_RESTORE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_INFO => true, + &CMD_REMOTE => true, + &CMD_RESTORE => true } }, @@ -817,13 +830,14 @@ my %oOptionRule = &OPTION_RULE_SECTION => true, &OPTION_RULE_SECTION_INHERIT => CONFIG_SECTION_GENERAL, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK_MIN, OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK_MAX], - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_ARCHIVE_GET => true, - &OP_ARCHIVE_PUSH => true, - &OP_BACKUP => true, - &OP_INFO => true, - &OP_RESTORE => true + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_INFO => true, + &CMD_REMOTE => true, + &CMD_RESTORE => true } }, @@ -832,9 +846,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_HARDLINK, &OPTION_RULE_SECTION => true, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true } }, @@ -851,6 +865,15 @@ my %oOptionRule = lc(INFO) => true, lc(DEBUG) => true, lc(TRACE) => true + }, + &OPTION_RULE_COMMAND => + { + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_EXPIRE => true, + &CMD_INFO => true, + &CMD_RESTORE => true } }, @@ -867,6 +890,15 @@ my %oOptionRule = lc(INFO) => true, lc(DEBUG) => true, lc(TRACE) => true + }, + &OPTION_RULE_COMMAND => + { + &CMD_ARCHIVE_GET => true, + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_EXPIRE => true, + &CMD_INFO => true, + &CMD_RESTORE => true } }, @@ -875,9 +907,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RESTORE_TABLESPACE, &OPTION_RULE_SECTION => true, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => true + &CMD_RESTORE => true } }, @@ -886,9 +918,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_HASH, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_RESTORE_TABLESPACE_MAP, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => 1 + &CMD_RESTORE => 1 }, }, @@ -897,9 +929,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_HASH, &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_RESTORE_RECOVERY_SETTING, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_RESTORE => 1 + &CMD_RESTORE => 1 }, &OPTION_RULE_DEPEND => { @@ -920,10 +952,10 @@ my %oOptionRule = &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_RETENTION_MIN, OPTION_DEFAULT_RETENTION_MAX], - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true, - &OP_EXPIRE => true + &CMD_BACKUP => true, + &CMD_EXPIRE => true } }, @@ -933,10 +965,10 @@ my %oOptionRule = &OPTION_RULE_REQUIRED => true, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_RETENTION_ARCHIVE_TYPE, &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true, - &OP_EXPIRE => true + &CMD_BACKUP => true, + &CMD_EXPIRE => true }, &OPTION_RULE_ALLOW_LIST => { @@ -956,10 +988,10 @@ my %oOptionRule = &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_RETENTION_MIN, OPTION_DEFAULT_RETENTION_MAX], - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true, - &OP_EXPIRE => true + &CMD_BACKUP => true, + &CMD_EXPIRE => true } }, @@ -969,10 +1001,10 @@ my %oOptionRule = &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => CONFIG_SECTION_EXPIRE, &OPTION_RULE_ALLOW_RANGE => [OPTION_DEFAULT_RETENTION_MIN, OPTION_DEFAULT_RETENTION_MAX], - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true, - &OP_EXPIRE => true + &CMD_BACKUP => true, + &CMD_EXPIRE => true } }, @@ -981,9 +1013,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_INTEGER, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_MANIFEST_SAVE_THRESHOLD, &OPTION_RULE_SECTION => true, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true } }, @@ -992,9 +1024,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_RESUME, &OPTION_RULE_SECTION => true, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true } }, @@ -1003,9 +1035,9 @@ my %oOptionRule = &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, &OPTION_RULE_DEFAULT => OPTION_DEFAULT_BACKUP_START_FAST, &OPTION_RULE_SECTION => true, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true + &CMD_BACKUP => true } }, @@ -1015,10 +1047,10 @@ my %oOptionRule = &OPTION_RULE_DEFAULT => OPTION_DEFAULT_THREAD_MAX, &OPTION_RULE_SECTION => true, &OPTION_RULE_SECTION_INHERIT => CONFIG_SECTION_GENERAL, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true, - &OP_RESTORE => true + &CMD_BACKUP => true, + &CMD_RESTORE => true } }, @@ -1028,10 +1060,10 @@ my %oOptionRule = &OPTION_RULE_REQUIRED => false, &OPTION_RULE_SECTION => true, &OPTION_RULE_SECTION_INHERIT => CONFIG_SECTION_GENERAL, - &OPTION_RULE_OPERATION => + &OPTION_RULE_COMMAND => { - &OP_BACKUP => true, - &OP_RESTORE => true + &CMD_BACKUP => true, + &CMD_RESTORE => true } }, @@ -1069,9 +1101,9 @@ my %oOptionRule = # Global variables #################################################################################################################################### my %oOption; # Option hash -my $strOperation; # Operation (backup, archive-get, ...) +my $strCommand; # Command (backup, archive-get, ...) my $strRemoteType; # Remote type (DB, BACKUP, NONE) -my $oRemote; # Global remote object that is created on first request (NOT THREADSAFE!) +my $oProtocol; # Global remote object that is created on first request (NOT THREADSAFE!) #################################################################################################################################### # configLoad @@ -1126,14 +1158,14 @@ sub configLoad if (!GetOptions(\%oOptionTest, %oOptionAllow)) { - syswrite(*STDOUT, "\npg_backrest " . version_get() . "\n\n"); + syswrite(*STDOUT, "\npg_backrest " . BACKREST_VERSION . "\n\n"); pod2usage(2); }; # Display version and exit if requested if (defined($oOptionTest{&OPTION_VERSION}) || defined($oOptionTest{&OPTION_HELP})) { - syswrite(*STDOUT, 'pg_backrest ' . version_get() . "\n"); + syswrite(*STDOUT, 'pg_backrest ' . BACKREST_VERSION . "\n"); if (!defined($oOptionTest{&OPTION_HELP})) { @@ -1161,6 +1193,7 @@ sub configLoad # Set repo-remote-path to repo-path if it is not set if (optionTest(OPTION_REPO_PATH) && !optionTest(OPTION_REPO_REMOTE_PATH)) { + $oOption{&OPTION_REPO_REMOTE_PATH}{source} = $oOption{&OPTION_REPO_PATH}{source}; $oOption{&OPTION_REPO_REMOTE_PATH}{value} = optionGet(OPTION_REPO_PATH); } @@ -1189,40 +1222,41 @@ sub configLoad #################################################################################################################################### # optionValid # -# Make sure the command-line options are valid based on the operation. +# Make sure the command-line options are valid based on the command. #################################################################################################################################### sub optionValid { my $oOptionTest = shift; - # Check that the operation is present and valid - $strOperation = $ARGV[0]; + # Check that the command is present and valid + $strCommand = $ARGV[0]; - if (!defined($strOperation)) + if (!defined($strCommand)) { - confess &log(ERROR, "operation must be specified", ERROR_OPERATION_REQUIRED); + confess &log(ERROR, "command must be specified", ERROR_COMMAND_REQUIRED); } - if ($strOperation ne OP_ARCHIVE_GET && - $strOperation ne OP_ARCHIVE_PUSH && - $strOperation ne OP_BACKUP && - $strOperation ne OP_INFO && - $strOperation ne OP_RESTORE && - $strOperation ne OP_EXPIRE) + if ($strCommand ne CMD_ARCHIVE_GET && + $strCommand ne CMD_ARCHIVE_PUSH && + $strCommand ne CMD_BACKUP && + $strCommand ne CMD_INFO && + $strCommand ne CMD_REMOTE && + $strCommand ne CMD_RESTORE && + $strCommand ne CMD_EXPIRE) { - confess &log(ERROR, "invalid operation ${strOperation}", ERROR_OPERATION_INVALID); + confess &log(ERROR, "invalid command ${strCommand}", ERROR_COMMAND_INVALID); } - # Set the operation section - because of the various archive commands this is not always the operation - my $strOperationSection; + # Set the command section - because of the various archive commands this is not always the command + my $strCommandSection; - if (operationTest(OP_ARCHIVE_GET) || operationTest(OP_ARCHIVE_PUSH)) + if (commandTest(CMD_ARCHIVE_GET) || commandTest(CMD_ARCHIVE_PUSH)) { - $strOperationSection = CONFIG_SECTION_ARCHIVE; + $strCommandSection = CONFIG_SECTION_ARCHIVE; } else { - $strOperationSection = $strOperation; + $strCommandSection = $strCommand; } # Hash to store contents of the config file. The file will be loaded one the config dependency is resolved unless all options @@ -1269,13 +1303,13 @@ sub optionValid } } - # If the operation has rules store them for later evaluation - my $oOperationRule = optionOperationRule($strOption, $strOperation); + # If the command has rules store them for later evaluation + my $oCommandRule = optionCommandRule($strOption, $strCommand); - # Check dependency for the operation then for the option + # Check dependency for the command then for the option my $bDependResolved = true; - my $oDepend = defined($oOperationRule) ? $$oOperationRule{&OPTION_RULE_DEPEND} : - $oOptionRule{$strOption}{&OPTION_RULE_DEPEND}; + my $oDepend = defined($oCommandRule) ? $$oCommandRule{&OPTION_RULE_DEPEND} : + $oOptionRule{$strOption}{&OPTION_RULE_DEPEND}; my $strDependOption; my $strDependValue; my $strDependType; @@ -1350,7 +1384,7 @@ sub optionValid # Get the section that the value should be in my $strSection = defined($oOptionRule{$strOption}{&OPTION_RULE_SECTION}) ? ($oOptionRule{$strOption}{&OPTION_RULE_SECTION} eq '1' ? - $strOperationSection : $oOptionRule{$strOption}{&OPTION_RULE_SECTION}) : undef; + $strCommandSection : $oOptionRule{$strOption}{&OPTION_RULE_SECTION}) : undef; # Only look in the stanza section when $strSection = true if ($strSection eq CONFIG_SECTION_STANZA) @@ -1463,7 +1497,7 @@ sub optionValid { my @oyValue; - foreach my $strValue (sort(keys($$oDepend{&OPTION_RULE_DEPEND_LIST}))) + foreach my $strValue (sort(keys(%{$$oDepend{&OPTION_RULE_DEPEND_LIST}}))) { push(@oyValue, "'${strValue}'"); } @@ -1501,17 +1535,17 @@ sub optionValid or confess &log(ERROR, "'${strValue}' is not valid for '${strOption}' option", ERROR_OPTION_INVALID_VALUE); } - # Process an allow list for the operation then for the option - my $oAllow = defined($oOperationRule) ? $$oOperationRule{&OPTION_RULE_ALLOW_LIST} : - $oOptionRule{$strOption}{&OPTION_RULE_ALLOW_LIST}; + # Process an allow list for the command then for the option + my $oAllow = defined($oCommandRule) ? $$oCommandRule{&OPTION_RULE_ALLOW_LIST} : + $oOptionRule{$strOption}{&OPTION_RULE_ALLOW_LIST}; if (defined($oAllow) && !defined($$oAllow{$strValue})) { confess &log(ERROR, "'${strValue}' is not valid for '${strOption}' option", ERROR_OPTION_INVALID_VALUE); } - # Process an allow range for the operation then for the option - $oAllow = defined($oOperationRule) ? $$oOperationRule{&OPTION_RULE_ALLOW_RANGE} : + # Process an allow range for the command then for the option + $oAllow = defined($oCommandRule) ? $$oCommandRule{&OPTION_RULE_ALLOW_RANGE} : $oOptionRule{$strOption}{&OPTION_RULE_ALLOW_RANGE}; if (defined($oAllow) && ($strValue < $$oAllow[0] || $strValue > $$oAllow[1])) @@ -1558,14 +1592,14 @@ sub optionValid } # Else try to set a default elsif ($bDependResolved && - (!defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}) || - defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}{$strOperation}))) + (!defined($oOptionRule{$strOption}{&OPTION_RULE_COMMAND}) || + defined($oOptionRule{$strOption}{&OPTION_RULE_COMMAND}{$strCommand}))) { # Source is default for this option $oOption{$strOption}{source} = SOURCE_DEFAULT; - # Check for default in operation then option - my $strDefault = optionDefault($strOption, $strOperation); + # Check for default in command then option + my $strDefault = optionDefault($strOption, $strCommand); # If default is defined if (defined($strDefault)) @@ -1574,9 +1608,9 @@ sub optionValid $oOption{$strOption}{value} = $strDefault if !$bNegate; } # Else check required - elsif (optionRequired($strOption, $strOperation)) + elsif (optionRequired($strOption, $strCommand)) { - confess &log(ERROR, "${strOperation} operation requires option: ${strOption}" . + confess &log(ERROR, "${strCommand} command requires option: ${strOption}" . (defined($oOptionRule{$strOption}{&OPTION_RULE_HINT}) ? "\nHINT: " . $oOptionRule{$strOption}{&OPTION_RULE_HINT} : ''), ERROR_OPTION_REQUIRED); @@ -1589,21 +1623,21 @@ sub optionValid } #################################################################################################################################### -# optionOperationRule +# optionCommandRule # -# Returns the option rules based on the operation. +# Returns the option rules based on the command. #################################################################################################################################### -sub optionOperationRule +sub optionCommandRule { my $strOption = shift; - my $strOperation = shift; + my $strCommand = shift; - if (defined($strOperation)) + if (defined($strCommand)) { - return defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}) && - defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}{$strOperation}) && - ref($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}{$strOperation}) eq 'HASH' ? - $oOptionRule{$strOption}{&OPTION_RULE_OPERATION}{$strOperation} : undef; + return defined($oOptionRule{$strOption}{&OPTION_RULE_COMMAND}) && + defined($oOptionRule{$strOption}{&OPTION_RULE_COMMAND}{$strCommand}) && + ref($oOptionRule{$strOption}{&OPTION_RULE_COMMAND}{$strCommand}) eq 'HASH' ? + $oOptionRule{$strOption}{&OPTION_RULE_COMMAND}{$strCommand} : undef; } return undef; @@ -1612,19 +1646,19 @@ sub optionOperationRule #################################################################################################################################### # optionRequired # -# Is the option required for this operation? +# Is the option required for this command? #################################################################################################################################### sub optionRequired { my $strOption = shift; - my $strOperation = shift; + my $strCommand = shift; - # Get the operation rule - my $oOperationRule = optionOperationRule($strOption, $strOperation); + # Get the command rule + my $oCommandRule = optionCommandRule($strOption, $strCommand); - # Check for required in operation then option - my $bRequired = defined($oOperationRule) ? $$oOperationRule{&OPTION_RULE_REQUIRED} : - $oOptionRule{$strOption}{&OPTION_RULE_REQUIRED}; + # Check for required in command then option + my $bRequired = defined($oCommandRule) ? $$oCommandRule{&OPTION_RULE_REQUIRED} : + $oOptionRule{$strOption}{&OPTION_RULE_REQUIRED}; # Return required return !defined($bRequired) || $bRequired; @@ -1634,55 +1668,55 @@ sub optionRequired #################################################################################################################################### # optionDefault # -# Does the option have a default for this operation? +# Does the option have a default for this command? #################################################################################################################################### sub optionDefault { my $strOption = shift; - my $strOperation = shift; + my $strCommand = shift; - # Get the operation rule - my $oOperationRule = optionOperationRule($strOption, $strOperation); + # Get the command rule + my $oCommandRule = optionCommandRule($strOption, $strCommand); - # Check for default in operation - my $strDefault = defined($oOperationRule) ? $$oOperationRule{&OPTION_RULE_DEFAULT} : undef; + # Check for default in command + my $strDefault = defined($oCommandRule) ? $$oCommandRule{&OPTION_RULE_DEFAULT} : undef; # If defined return, else try to grab the global default return defined($strDefault) ? $strDefault : $oOptionRule{$strOption}{&OPTION_RULE_DEFAULT}; } #################################################################################################################################### -# operationGet +# commandGet # -# Get the current operation. +# Get the current command. #################################################################################################################################### -sub operationGet +sub commandGet { - return $strOperation; + return $strCommand; } #################################################################################################################################### -# operationTest +# commandTest # -# Test the current operation. +# Test the current command. #################################################################################################################################### -sub operationTest +sub commandTest { - my $strOperationTest = shift; + my $strCommandTest = shift; - return $strOperationTest eq $strOperation; + return $strCommandTest eq $strCommand; } #################################################################################################################################### -# operationSet +# commandSet # -# Set current operation (usually for triggering follow-on operations). +# Set current command (usually for triggering follow-on commands). #################################################################################################################################### -sub operationSet +sub commandSet { my $strValue = shift; - $strOperation = $strValue; + $strCommand = $strValue; } #################################################################################################################################### @@ -1704,41 +1738,66 @@ sub optionGet } #################################################################################################################################### -# operationWrite +# commandWrite # -# Using the options that were passed to the current operations, write the command string for another operation. For example, this +# Using the options that were passed to the current command, write the command string for another command. For example, this # can be used to write the archive-get command for recovery.conf during a restore. #################################################################################################################################### -sub operationWrite +sub commandWrite { - my $strNewOperation = shift; + my $strNewCommand = shift; + my $bIncludeConfig = shift; + my $strCommandString = shift; - my $strCommand = abs_path($0); + $strCommandString = defined($strCommandString) ? $strCommandString : abs_path($0); + + # If config setting are included then also set --no-config + $bIncludeConfig = defined($bIncludeConfig) ? $bIncludeConfig : false; + + if ($bIncludeConfig) + { + $strCommandString .= ' --no-config'; + } foreach my $strOption (sort(keys(%oOption))) { - if ((!defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}) || - defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}{$strNewOperation})) && - $oOption{$strOption}{source} eq SOURCE_PARAM) - { - my $strParam = "--${strOption}=$oOption{$strOption}{value}"; + next if ($bIncludeConfig && $strOption eq OPTION_CONFIG); - if (index($oOption{$strOption}{value}, " ") != -1) + # &log(WARN, "option ${strOption} = " . (defined($oOption{$strOption}{source}) ? $oOption{$strOption}{source} : 'undef') . + # ", " . (defined($oOption{$strOption}{value}) ? $oOption{$strOption}{value} : 'undef')); + + if ((!defined($oOptionRule{$strOption}{&OPTION_RULE_COMMAND}) || + defined($oOptionRule{$strOption}{&OPTION_RULE_COMMAND}{$strNewCommand})) && + defined($oOption{$strOption}{value}) && + ($bIncludeConfig ? $oOption{$strOption}{source} ne SOURCE_DEFAULT : $oOption{$strOption}{source} eq SOURCE_PARAM)) + { + my $strParam; + + if ($oOptionRule{$strOption}{&OPTION_RULE_TYPE} eq OPTION_TYPE_BOOLEAN) { - $strCommand .= " \"${strParam}\""; + $strParam = '--' . ($oOption{$strOption}{value} ? '' : 'no-') . $strOption; } else { - $strCommand .= " ${strParam}"; + $strParam = "--${strOption}=$oOption{$strOption}{value}"; + } + + if (index($oOption{$strOption}{value}, " ") != -1) + { + $strCommandString .= " \"${strParam}\""; + } + else + { + $strCommandString .= " ${strParam}"; } } } - $strCommand .= " ${strNewOperation}"; + $strCommandString .= " ${strNewCommand}"; } #################################################################################################################################### -# commandWrite +# optionTest # # Test a option value. #################################################################################################################################### @@ -1778,13 +1837,13 @@ sub optionRemoteTypeTest } #################################################################################################################################### -# optionRemote +# protocolGet # -# Get the remote object or create it if does not exist. Shared remotes are used because they create an SSH connection to the remote -# host and the number of these connections should be minimized. A remote can be shared without a single thread - for new threads -# clone() should be called on the shared remote. +# Get the protocol object or create it if does not exist. Shared protocol objects are used because they create an SSH connection +# to the remote host and the number of these connections should be minimized. A protocol object can be shared within a single +# thread - for new threads clone() should be called on the shared protocol object. #################################################################################################################################### -sub optionRemote +sub protocolGet { my $bForceLocal = shift; my $bStore = shift; @@ -1792,52 +1851,50 @@ sub optionRemote # If force local or remote = NONE then create a local remote and return it if ((defined($bForceLocal) && $bForceLocal) || optionRemoteTypeTest(NONE)) { - return new BackRest::Remote + return new BackRest::Protocol ( - undef, undef, undef, undef, undef, + undef, false, undef, optionGet(OPTION_BUFFER_SIZE), - operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL), - operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK) + commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL), + commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK) ); } # Return the remote if is already defined - if (defined($oRemote)) + if (defined($oProtocol)) { - return $oRemote; + return $oProtocol; } # Return the remote when required - my $oRemoteTemp = new BackRest::Remote + my $oProtocolTemp = new BackRest::Remote ( optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_HOST) : optionGet(OPTION_BACKUP_HOST), optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_USER) : optionGet(OPTION_BACKUP_USER), - optionGet(OPTION_COMMAND_REMOTE), - optionGet(OPTION_STANZA, false), - optionGet(OPTION_REPO_REMOTE_PATH), + commandWrite(CMD_REMOTE, true, optionGet(OPTION_COMMAND_REMOTE)), optionGet(OPTION_BUFFER_SIZE), - operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL), - operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK) + commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL), + commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK) ); if ($bStore) { - $oRemote = $oRemoteTemp; + $oProtocol = $oProtocolTemp; } - return $oRemoteTemp; + return $oProtocolTemp; } #################################################################################################################################### -# remoteDestroy +# protocolDestroy # -# Undefine the remote if it is stored locally. +# Undefine the protocol if it is stored locally. #################################################################################################################################### -sub remoteDestroy +sub protocolDestroy { - if (defined($oRemote)) + if (defined($oProtocol)) { - undef($oRemote); + undef($oProtocol); } } diff --git a/lib/BackRest/Db.pm b/lib/BackRest/Db.pm index 80ae8b4ba..aa47beaf6 100644 --- a/lib/BackRest/Db.pm +++ b/lib/BackRest/Db.pm @@ -9,27 +9,31 @@ use Carp qw(confess); use Exporter qw(import); use Fcntl qw(O_RDONLY); -use File::Basename; -use IPC::System::Simple qw(capture); -use Net::OpenSSH; +use File::Basename qw(dirname); use lib dirname($0); use BackRest::Config; use BackRest::Exception; use BackRest::File; +use BackRest::Open3; use BackRest::Utility; #################################################################################################################################### # Operation constants #################################################################################################################################### -use constant OP_DB => 'Db'; +use constant OP_DB => 'Db'; -use constant OP_DB_INFO => OP_DB . "->info"; our @EXPORT = qw(OP_DB_INFO); +use constant OP_DB_INFO => OP_DB . "->info"; + our @EXPORT = qw(OP_DB_INFO); +use constant OP_DB_EXECUTE_SQL => OP_DB . "->executeSql"; + push @EXPORT, qw(OP_DB_EXECUTE_SQL); +use constant OP_DB_VERSION_GET => OP_DB . "->versionGet"; #################################################################################################################################### # Postmaster process Id file #################################################################################################################################### -use constant FILE_POSTMASTER_PID => 'postmaster.pid'; push @EXPORT, qw(FILE_POSTMASTER_PID); +use constant FILE_POSTMASTER_PID => 'postmaster.pid'; + push @EXPORT, qw(FILE_POSTMASTER_PID); #################################################################################################################################### # CONSTRUCTOR @@ -37,52 +41,14 @@ use constant FILE_POSTMASTER_PID => 'postmaster.pid'; push @EXPORT sub new { my $class = shift; # Class name - my $bStartStop = shift; # Will start/stop be called? - my $strDbPath = shift; # Database path - my $strCommandPsql = shift; # PSQL command - my $strDbHost = shift; # Database host name - my $strDbUser = shift; # Database user name (generally postgres) # Create the class hash my $self = {}; bless $self, $class; - # Initialize variables - $self->{bStartStop} = $bStartStop; - $self->{strDbPath} = $strDbPath; - $self->{strCommandPsql} = $strCommandPsql; - $self->{strDbHost} = $strDbHost; - $self->{strDbUser} = $strDbUser; - - # Connect SSH object if db host is defined - if ($self->{bStartStop} && defined($self->{strDbHost}) && !defined($self->{oDbSSH})) - { - my $strOptionSSHRequestTTY = 'RequestTTY=yes'; - - &log(TRACE, "connecting to database ssh host $self->{strDbHost}"); - - # !!! This could be improved by redirecting stderr to a file to get a better error message - $self->{oDbSSH} = Net::OpenSSH->new($self->{strDbHost}, user => $self->{strDbUser}, - master_opts => [-o => $strOptionSSHRequestTTY]); - $self->{oDbSSH}->error and confess &log(ERROR, "unable to connect to $self->{strDbHost}: " . $self->{oDbSSH}->error); - } - return $self; } -#################################################################################################################################### -# IS_REMOTE -# -# Determine whether database operations are remote. -#################################################################################################################################### -sub is_remote -{ - my $self = shift; - - # If the SSH object is defined then db is remote - return defined($self->{oDbSSH}) ? true : false; -} - #################################################################################################################################### # versionSupport # @@ -98,32 +64,34 @@ sub versionSupport push @EXPORT, qw(versionSupport); #################################################################################################################################### -# PSQL_EXECUTE +# executeSql #################################################################################################################################### -sub psql_execute +sub executeSql { my $self = shift; - my $strScript = shift; # psql script to execute + my $strScript = shift; # psql script to execute (must be on a single line) + + logDebug(OP_DB_EXECUTE_SQL, DEBUG_CALL, undef, {isRemote => optionRemoteTypeTest(DB), script => $strScript}); # Get the user-defined command for psql - my $strCommand = $self->{strCommandPsql} . " -c \"${strScript}\" postgres"; + my $strCommand = optionGet(OPTION_COMMAND_PSQL) . " -c \"${strScript}\" postgres"; my $strResult; - # !!! Need to capture error output with open3 and log it - # Run remotely - if ($self->is_remote()) + if (optionRemoteTypeTest(DB)) { - &log(TRACE, "psql execute: remote ${strScript}"); + # Build param hash + my %oParamHash; - $strResult = $self->{oDbSSH}->capture($strCommand) - or confess &log(ERROR, "unable to execute remote psql command '${strCommand}'"); + $oParamHash{'script'} = $strScript; + + # Execute the command + $strResult = protocolGet()->command_execute(OP_DB_EXECUTE_SQL, \%oParamHash, true); } # Else run locally else { - &log(TRACE, "psql execute: ${strScript}"); - $strResult = capture($strCommand) or confess &log(ERROR, "unable to execute local psql command '${strCommand}'"); + $strResult = (new BackRest::Open3($strCommand))->capture(); } return $strResult; @@ -138,7 +106,7 @@ sub tablespace_map_get my $oHashRef = {}; - data_hash_build($oHashRef, "oid\tname\n" . $self->psql_execute( + data_hash_build($oHashRef, "oid\tname\n" . $self->executeSql( 'copy (select oid, spcname from pg_tablespace) to stdout'), "\t"); return $oHashRef; @@ -153,9 +121,7 @@ sub info my $oFile = shift; my $strDbPath = shift; - # Set operation and debug strings - &log(DEBUG, OP_DB_INFO . "(): isRemote = " . ($oFile->is_remote(PATH_DB_ABSOLUTE) ? 'true' : 'false') . - ", dbPath = ${strDbPath}"); + logDebug(OP_DB_INFO, DEBUG_CALL, undef, {isRemote => $oFile->is_remote(PATH_DB_ABSOLUTE), dbPath => $strDbPath}); # Database info my $iCatalogVersion; @@ -171,10 +137,10 @@ sub info $oParamHash{'db-path'} = ${strDbPath}; # Output remote trace info - &log(TRACE, OP_DB_INFO . ": remote (" . $oFile->{oRemote}->command_param_string(\%oParamHash) . ')'); + &log(TRACE, OP_DB_INFO . ": remote (" . $oFile->{oProtocol}->command_param_string(\%oParamHash) . ')'); # Execute the command - my $strResult = $oFile->{oRemote}->command_execute(OP_DB_INFO, \%oParamHash, true); + my $strResult = $oFile->{oProtocol}->command_execute(OP_DB_INFO, \%oParamHash, true); # Split the result into return values my @stryToken = split(/\t/, $strResult); @@ -220,7 +186,7 @@ sub info { $strDbVersion = '9.4'; } - # Leave 9.5 catalog version out until it stabilizes (then move 9.5 to the top of if list) + # Leave 9.5 catalog version out until it stabilizes (then move 9.5 to the top of the list) elsif ($iControlVersion == 942) # && $iCatalogVersion == 201505311) { $strDbVersion = '9.5'; @@ -276,9 +242,9 @@ sub info } #################################################################################################################################### -# DB_VERSION_GET +# versionGet #################################################################################################################################### -sub db_version_get +sub versionGet { my $self = shift; @@ -288,9 +254,7 @@ sub db_version_get } $self->{fVersion} = - trim($self->psql_execute("copy (select (regexp_matches(split_part(version(), ' ', 2), '^[0-9]+\.[0-9]+'))[1]) to stdout")); - - &log(DEBUG, "database version is $self->{fVersion}"); + trim($self->executeSql("copy (select (regexp_matches(split_part(version(), ' ', 2), '^[0-9]+\.[0-9]+'))[1]) to stdout")); my $strVersionSupport = versionSupport(); @@ -299,6 +263,8 @@ sub db_version_get confess &log(ERROR, "unsupported Postgres version ${$strVersionSupport}[0]", ERROR_VERSION_NOT_SUPPORTED); } + logDebug(OP_DB_VERSION_GET, DEBUG_RESULT, {dbVersion => $self->{fVersion}}); + return $self->{fVersion}; } @@ -311,7 +277,7 @@ sub backup_start my $strLabel = shift; my $bStartFast = shift; - $self->db_version_get(); + $self->versionGet(); if ($self->{fVersion} < 8.4 && $bStartFast) { @@ -322,7 +288,7 @@ sub backup_start &log(INFO, "executing pg_start_backup() with label \"${strLabel}\": backup will begin after " . ($bStartFast ? "the requested immediate checkpoint" : "the next regular checkpoint") . " completes"); - my @stryField = split("\t", trim($self->psql_execute("set client_min_messages = 'warning';" . + my @stryField = split("\t", trim($self->executeSql("set client_min_messages = 'warning';" . "copy (select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), " . "pg_xlogfile_name(xlog) from pg_start_backup('${strLabel}'" . ($bStartFast ? ', true' : '') . ') as xlog) to stdout'))); @@ -339,8 +305,9 @@ sub backup_stop &log(INFO, 'executing pg_stop_backup() and waiting for all WAL segments to be archived'); - my @stryField = split("\t", trim($self->psql_execute("set client_min_messages = 'warning';" . - "copy (select to_char(clock_timestamp(), 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(xlog) from pg_stop_backup() as xlog) to stdout"))); + my @stryField = split("\t", trim($self->executeSql("set client_min_messages = 'warning';" . + "copy (select to_char(clock_timestamp(), 'YYYY-MM-DD HH24:MI:SS.US TZ')," . + " pg_xlogfile_name(xlog) from pg_stop_backup() as xlog) to stdout"))); return $stryField[1], $stryField[0]; } diff --git a/lib/BackRest/Exception.pm b/lib/BackRest/Exception.pm index a50bdb408..a7c82c8a1 100644 --- a/lib/BackRest/Exception.pm +++ b/lib/BackRest/Exception.pm @@ -19,7 +19,7 @@ use constant ERROR_CONFIG => 102, ERROR_FILE_INVALID => 103, ERROR_FORMAT => 104, - ERROR_OPERATION_REQUIRED => 105, + ERROR_COMMAND_REQUIRED => 105, ERROR_OPTION_INVALID => 106, ERROR_OPTION_INVALID_VALUE => 107, ERROR_OPTION_INVALID_RANGE => 108, @@ -37,20 +37,26 @@ use constant ERROR_ARCHIVE_DUPLICATE => 120, ERROR_VERSION_NOT_SUPPORTED => 121, ERROR_PATH_CREATE => 122, - ERROR_OPERATION_INVALID => 123, + ERROR_COMMAND_INVALID => 123, ERROR_HOST_CONNECT => 124, ERROR_LOCK_ACQUIRE => 125, ERROR_BACKUP_MISMATCH => 126, + ERROR_FILE_SYNC => 127, + ERROR_PATH_OPEN => 128, + ERROR_PATH_SYNC => 129, + ERROR_FILE_MISSING => 130, + ERROR_DB_CONNECT => 132, ERROR_UNKNOWN => 199 }; -our @EXPORT = qw(ERROR_ASSERT ERROR_CHECKSUM ERROR_CONFIG ERROR_FILE_INVALID ERROR_FORMAT ERROR_OPERATION_REQUIRED +our @EXPORT = qw(ERROR_ASSERT ERROR_CHECKSUM ERROR_CONFIG ERROR_FILE_INVALID ERROR_FORMAT ERROR_COMMAND_REQUIRED ERROR_OPTION_INVALID ERROR_OPTION_INVALID_VALUE ERROR_OPTION_INVALID_RANGE ERROR_OPTION_INVALID_PAIR ERROR_OPTION_DUPLICATE_KEY ERROR_OPTION_NEGATE ERROR_OPTION_REQUIRED ERROR_POSTMASTER_RUNNING ERROR_PROTOCOL ERROR_RESTORE_PATH_NOT_EMPTY ERROR_FILE_OPEN ERROR_FILE_READ ERROR_PARAM_REQUIRED ERROR_ARCHIVE_MISMATCH - ERROR_ARCHIVE_DUPLICATE ERROR_VERSION_NOT_SUPPORTED ERROR_PATH_CREATE ERROR_OPERATION_INVALID ERROR_HOST_CONNECT - ERROR_UNKNOWN ERROR_LOCK_ACQUIRE ERROR_BACKUP_MISMATCH); + ERROR_ARCHIVE_DUPLICATE ERROR_VERSION_NOT_SUPPORTED ERROR_PATH_CREATE ERROR_COMMAND_INVALID ERROR_HOST_CONNECT + ERROR_UNKNOWN ERROR_LOCK_ACQUIRE ERROR_BACKUP_MISMATCH ERROR_FILE_SYNC ERROR_PATH_OPEN ERROR_PATH_SYNC + ERROR_FILE_MISSING ERROR_DB_CONNECT); #################################################################################################################################### # CONSTRUCTOR diff --git a/lib/BackRest/File.pm b/lib/BackRest/File.pm index fcac7293f..f960088bd 100644 --- a/lib/BackRest/File.pm +++ b/lib/BackRest/File.pm @@ -14,12 +14,14 @@ use File::Basename qw(dirname basename); use File::Copy qw(cp); use File::Path qw(make_path remove_tree); use File::stat; -use Net::OpenSSH; +use IO::Handle; +use Scalar::Util qw(blessed); use lib dirname($0) . '/../lib'; use BackRest::Config; use BackRest::Exception; -use BackRest::Remote; +use BackRest::FileCommon; +use BackRest::Protocol; use BackRest::Utility; #################################################################################################################################### @@ -76,19 +78,21 @@ push @EXPORT, qw(PIPE_STDIN PIPE_STDOUT PIPE_STDERR); #################################################################################################################################### use constant { - OP_FILE_OWNER => 'File->owner', - OP_FILE_WAIT => 'File->wait', - OP_FILE_LIST => 'File->list', - OP_FILE_EXISTS => 'File->exists', - OP_FILE_HASH => 'File->hash', - OP_FILE_REMOVE => 'File->remove', - OP_FILE_MANIFEST => 'File->manifest', - OP_FILE_COMPRESS => 'File->compress', - OP_FILE_MOVE => 'File->move', - OP_FILE_COPY => 'File->copy', - OP_FILE_COPY_OUT => 'File->copy_out', - OP_FILE_COPY_IN => 'File->copy_in', - OP_FILE_PATH_CREATE => 'File->path_create', + OP_FILE_OWNER => 'File->owner', + OP_FILE_WAIT => 'File->wait', + OP_FILE_LIST => 'File->list', + OP_FILE_EXISTS => 'File->exists', + OP_FILE_HASH => 'File->hash', + OP_FILE_REMOVE => 'File->remove', + OP_FILE_MANIFEST => 'File->manifest', + OP_FILE_COMPRESS => 'File->compress', + OP_FILE_MOVE => 'File->move', + OP_FILE_COPY => 'File->copy', + OP_FILE_COPY_OUT => 'File->copy_out', + OP_FILE_COPY_IN => 'File->copy_in', + OP_FILE_PATH_CREATE => 'File->path_create', + OP_FILE_PATH_SYNC => 'File->pathSync', + OP_FILE_PATH_SYNC_STATIC => 'File::filePathSync', OP_FILE_LINK_CREATE => 'File->link_create' }; @@ -104,7 +108,7 @@ sub new my $strStanza = shift; my $strBackupPath = shift; my $strRemote = shift; - my $oRemote = shift; + my $oProtocol = shift; my $strDefaultPathMode = shift; my $strDefaultFileMode = shift; my $iThreadIdx = shift; @@ -124,13 +128,13 @@ sub new $self->{strStanza} = $strStanza; $self->{strBackupPath} = $strBackupPath; $self->{strRemote} = $strRemote; - $self->{oRemote} = $oRemote; + $self->{oProtocol} = $oProtocol; $self->{iThreadIdx} = $iThreadIdx; # Remote object must be set - if (!defined($self->{oRemote})) + if (!defined($self->{oProtocol})) { - confess &log(ASSERT, 'oRemote must be defined'); + confess &log(ASSERT, 'oProtocol must be defined'); } # If remote is defined check parameters and open session @@ -154,9 +158,9 @@ sub DEMOLISH { my $self = shift; - if (defined($self->{oRemote})) + if (defined($self->{oProtocol})) { - $self->{oRemote} = undef; + $self->{oProtocol} = undef; } } @@ -173,7 +177,7 @@ sub clone $self->{strStanza}, $self->{strBackupPath}, $self->{strRemote}, - defined($self->{oRemote}) ? $self->{oRemote}->clone() : undef, + defined($self->{oProtocol}) ? $self->{oProtocol}->clone() : undef, $self->{strDefaultPathMode}, $self->{strDefaultFileMode}, $iThreadIdx @@ -454,6 +458,22 @@ sub link_create } } +#################################################################################################################################### +# pathSync +# +# Sync a directory. +#################################################################################################################################### +sub pathSync +{ + my $self = shift; + my $strPathType = shift; + my $strPath = shift; + + logTrace(OP_FILE_PATH_SYNC, DEBUG_CALL, undef, {pathType => $strPathType, path => $strPath}); + + filePathSync($self->path_get($strPathType, $strPath eq '.' ? undef : $strPath)); +} + #################################################################################################################################### # MOVE # @@ -526,6 +546,8 @@ sub move } } } + + $self->pathSync($strDestinationPathType, dirname($strDestinationFile)); } } @@ -598,12 +620,12 @@ sub path_create } # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oRemote}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - $self->{oRemote}->command_execute($strOperation, \%oParamHash, false, $strDebug); + $self->{oProtocol}->command_execute($strOperation, \%oParamHash, false, $strDebug); } else { @@ -667,12 +689,12 @@ sub exists $oParamHash{path} = $strPathOp; # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oRemote}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - return $self->{oRemote}->command_execute($strOperation, \%oParamHash, true, $strDebug) eq 'Y'; + return $self->{oProtocol}->command_execute($strOperation, \%oParamHash, true, $strDebug) eq 'Y'; } # Run locally else @@ -837,7 +859,7 @@ sub hash_size if ($bCompressed) { ($strHash, $iSize) = - $self->{oRemote}->binary_xfer($hFile, undef, 'in', true, false, false); + $self->{oProtocol}->binary_xfer($hFile, undef, 'in', true, false, false); } else { @@ -975,12 +997,12 @@ sub list } # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oRemote}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - my $strOutput = $self->{oRemote}->command_execute($strOperation, \%oParamHash, false, $strDebug); + my $strOutput = $self->{oProtocol}->command_execute($strOperation, \%oParamHash, false, $strDebug); if (defined($strOutput)) { @@ -1071,7 +1093,7 @@ sub wait &log(TRACE, "${strOperation}: remote"); # Execute the command - $lTimeBegin = $self->{oRemote}->command_execute($strOperation, undef, true, $strDebug); + $lTimeBegin = $self->{oProtocol}->command_execute($strOperation, undef, true, $strDebug); } # Run locally else @@ -1113,12 +1135,12 @@ sub manifest $oParamHash{path} = $strPathOp; # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oRemote}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - data_hash_build($oManifestHashRef, $self->{oRemote}->command_execute($strOperation, \%oParamHash, true, $strDebug), "\t"); + data_hash_build($oManifestHashRef, $self->{oProtocol}->command_execute($strOperation, \%oParamHash, true, $strDebug), "\t"); } # Run locally else @@ -1388,7 +1410,7 @@ sub copy { if ($strDestinationPathType eq PIPE_STDOUT) { - $self->{oRemote}->write_line(*STDOUT, 'block -1'); + $self->{oProtocol}->write_line(*STDOUT, 'block -1'); } confess &log(ERROR, $strError, $iErrorCode); @@ -1460,7 +1482,7 @@ sub copy $oParamHash{source_compressed} = $bSourceCompressed; $oParamHash{destination_compress} = $bDestinationCompress; - $hIn = $self->{oRemote}->{hOut}; + $hIn = $self->{oProtocol}->{hOut}; } } # Else if source is local and destination is remote @@ -1501,7 +1523,7 @@ sub copy $oParamHash{append_checksum} = true; } - $hOut = $self->{oRemote}->{hIn}; + $hOut = $self->{oProtocol}->{hIn}; } } # Else source and destination are remote @@ -1544,7 +1566,7 @@ sub copy # Build debug string if (%oParamHash) { - my $strRemote = 'remote (' . $self->{oRemote}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); @@ -1553,14 +1575,14 @@ sub copy # If an operation is defined then write it if (%oParamHash) { - $self->{oRemote}->command_write($strOperation, \%oParamHash); + $self->{oProtocol}->command_write($strOperation, \%oParamHash); } # Transfer the file (skip this for copies where both sides are remote) if ($strOperation ne OP_FILE_COPY) { ($strChecksum, $iFileSize) = - $self->{oRemote}->binary_xfer($hIn, $hOut, $strRemote, $bSourceCompressed, $bDestinationCompress); + $self->{oProtocol}->binary_xfer($hIn, $hOut, $strRemote, $bSourceCompressed, $bDestinationCompress); } # If this is the controlling process then wait for OK from remote @@ -1571,7 +1593,7 @@ sub copy eval { - $strOutput = $self->{oRemote}->output_read(true, $strDebug, true); + $strOutput = $self->{oProtocol}->output_read(true, $strDebug, true); # Check the result of the remote call if (substr($strOutput, 0, 1) eq 'Y') @@ -1621,7 +1643,7 @@ sub copy # We'll ignore this error if the source file was missing and missing file exception was returned # and bIgnoreMissingSource is set - if ($bIgnoreMissingSource && $strRemote eq 'in' && $oMessage->isa('BackRest::Exception') && + if ($bIgnoreMissingSource && $strRemote eq 'in' && blessed($oMessage) && $oMessage->isa('BackRest::Exception') && $oMessage->code() == COMMAND_ERR_FILE_MISSING) { close($hDestinationFile) or confess &log(ERROR, "cannot close file ${strDestinationTmpOp}"); @@ -1641,37 +1663,41 @@ sub copy if (!$bSourceCompressed && $bDestinationCompress) { ($strChecksum, $iFileSize) = - $self->{oRemote}->binary_xfer($hSourceFile, $hDestinationFile, 'out', false, true, false); + $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'out', false, true, false); } # If the source is compressed and the destination is not then decompress elsif ($bSourceCompressed && !$bDestinationCompress) { ($strChecksum, $iFileSize) = - $self->{oRemote}->binary_xfer($hSourceFile, $hDestinationFile, 'in', true, false, false); + $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'in', true, false, false); } # Else both side are compressed, so copy capturing checksum elsif ($bSourceCompressed) { ($strChecksum, $iFileSize) = - $self->{oRemote}->binary_xfer($hSourceFile, $hDestinationFile, 'out', true, true, false); + $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'out', true, true, false); } else { ($strChecksum, $iFileSize) = - $self->{oRemote}->binary_xfer($hSourceFile, $hDestinationFile, 'in', false, true, false); + $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'in', false, true, false); } } - # Close the source file (if open) + # Close the source file (if local) if (defined($hSourceFile)) { close($hSourceFile) or confess &log(ERROR, "cannot close file ${strSourceOp}"); } - # Close the destination file (if open) + # Sync and close the destination file (if local) if (defined($hDestinationFile)) { - close($hDestinationFile) or confess &log(ERROR, "cannot close file ${strDestinationTmpOp}"); + $hDestinationFile->sync() + or confess &log(ERROR, "unable to sync ${strDestinationTmpOp}", ERROR_FILE_SYNC); + + close($hDestinationFile) + or confess &log(ERROR, "cannot close file ${strDestinationTmpOp}"); } # Checksum and file size should be set if the destination is not remote diff --git a/lib/BackRest/FileCommon.pm b/lib/BackRest/FileCommon.pm new file mode 100644 index 000000000..c0c4e8cc3 --- /dev/null +++ b/lib/BackRest/FileCommon.pm @@ -0,0 +1,47 @@ +#################################################################################################################################### +# FILE COMMON MODULE +#################################################################################################################################### +package BackRest::FileCommon; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use Exporter qw(import); +use File::Basename qw(dirname); +use IO::Handle; + +use lib dirname($0) . '/../lib'; +use BackRest::Exception; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_FILE_BASE => 'FileBase'; + +use constant OP_FILE_BASE_PATH_SYNC => OP_FILE_BASE . '::filePathSync'; + +#################################################################################################################################### +# filePathSync +# +# Sync a directory. +#################################################################################################################################### +sub filePathSync +{ + my $strPath = shift; + + logTrace(OP_FILE_BASE_PATH_SYNC, DEBUG_CALL, undef, {path => $strPath}); + + open(my $hPath, "<", $strPath) + or confess &log(ERROR, "unable to open ${strPath}", ERROR_PATH_OPEN); + open(my $hPathDup, ">&", $hPath) + or confess &log(ERROR, "unable to duplicate handle for ${strPath}", ERROR_PATH_OPEN); + + $hPathDup->sync + or confess &log(ERROR, "unable to sync ${strPath}", ERROR_PATH_SYNC); +} + +our @EXPORT = qw(filePathSync); + +1; diff --git a/lib/BackRest/Info.pm b/lib/BackRest/Info.pm index 465d482fb..a50031b8a 100644 --- a/lib/BackRest/Info.pm +++ b/lib/BackRest/Info.pm @@ -97,7 +97,7 @@ sub info $strStanza, optionRemoteTypeTest(BACKUP) ? optionGet(OPTION_REPO_REMOTE_PATH) : optionGet(OPTION_REPO_PATH), optionRemoteTypeTest(BACKUP) ? BACKUP : NONE, - optionRemote(!optionRemoteTypeTest(BACKUP)) + protocolGet(!optionRemoteTypeTest(BACKUP)) ); # Get the stanza list with all info @@ -171,10 +171,10 @@ sub listStanza } # Trace the remote parameters - &log(TRACE, "${strOperation}: remote (" . $oFile->{oRemote}->command_param_string($oParamHash) . ')'); + &log(TRACE, "${strOperation}: remote (" . $oFile->{oProtocol}->command_param_string($oParamHash) . ')'); # Execute the command - my $strStanzaList = $oFile->{oRemote}->command_execute($strOperation, $oParamHash, true); + my $strStanzaList = $oFile->{oProtocol}->command_execute($strOperation, $oParamHash, true); # Trace the remote response &log(TRACE, "${strOperation}: remote json response (${strStanzaList})"); @@ -184,7 +184,7 @@ sub listStanza } else { - my @stryStanza = $oFile->list(PATH_BACKUP, OP_BACKUP, undef, undef, true); + my @stryStanza = $oFile->list(PATH_BACKUP, CMD_BACKUP, undef, undef, true); foreach my $strStanzaFound (@stryStanza) { @@ -250,7 +250,7 @@ sub listBackup my $strStanza = shift; # Load or build backup.info - my $oBackupInfo = new BackRest::BackupInfo($oFile->path_get(PATH_BACKUP, OP_BACKUP . "/${strStanza}")); + my $oBackupInfo = new BackRest::BackupInfo($oFile->path_get(PATH_BACKUP, CMD_BACKUP . "/${strStanza}")); # Build the db list my @oyDbList; diff --git a/lib/BackRest/Ini.pm b/lib/BackRest/Ini.pm index 0c154931d..bc9447cde 100644 --- a/lib/BackRest/Ini.pm +++ b/lib/BackRest/Ini.pm @@ -9,12 +9,15 @@ use Carp qw(confess); use Exporter qw(import); use File::Basename qw(dirname basename); +use IO::Handle; use JSON::PP; use Storable qw(dclone); use lib dirname($0); use BackRest::Exception; +use BackRest::FileCommon; use BackRest::Utility; +use BackRest::Version; #################################################################################################################################### # Operation constants @@ -23,6 +26,14 @@ use constant OP_INI => 'Ini'; use constant OP_INI_SET => OP_INI . "->set"; +#################################################################################################################################### +# Version and Format Constants +#################################################################################################################################### +use constant BACKREST_VERSION => "$VERSION"; + our @EXPORT = qw(BACKREST_VERSION); +use constant BACKREST_FORMAT => "$FORMAT"; + push @EXPORT, qw(BACKREST_FORMAT); + #################################################################################################################################### # Boolean constants #################################################################################################################################### @@ -33,7 +44,7 @@ use constant INI_FALSE => JSON::PP: # Ini control constants #################################################################################################################################### use constant INI_SECTION_BACKREST => 'backrest'; - our @EXPORT = qw(INI_SECTION_BACKREST); + push @EXPORT, qw(INI_SECTION_BACKREST); use constant INI_KEY_CHECKSUM => 'backrest-checksum'; push @EXPORT, qw(INI_KEY_CHECKSUM); @@ -86,16 +97,16 @@ sub new # Make sure that the format is current, otherwise error my $iFormat = $self->get(INI_SECTION_BACKREST, INI_KEY_FORMAT, undef, false, 0); - if ($iFormat != FORMAT) + if ($iFormat != BACKREST_FORMAT) { - confess &log(ERROR, "format of ${strFileName} is ${iFormat} but " . FORMAT . ' is required by this version of ' . - 'PgBackRest.', ERROR_FORMAT); + confess &log(ERROR, "format of ${strFileName} is ${iFormat} but " . BACKREST_FORMAT . ' is required by this ' . + ' version of PgBackRest.', ERROR_FORMAT); } } else { - $self->setNumeric(INI_SECTION_BACKREST, INI_KEY_FORMAT, undef, FORMAT); - $self->set(INI_SECTION_BACKREST, INI_KEY_VERSION, undef, version_get()); + $self->setNumeric(INI_SECTION_BACKREST, INI_KEY_FORMAT, undef, BACKREST_FORMAT); + $self->set(INI_SECTION_BACKREST, INI_KEY_VERSION, undef, BACKREST_VERSION); } return $self; @@ -218,7 +229,7 @@ sub iniSave $bRelaxed = defined($bRelaxed) ? $bRelaxed : false; # Write the INI file - foreach my $strSection (sort(keys $oContent)) + foreach my $strSection (sort(keys(%$oContent))) { # Add a linefeed between sections if (!$bFirst) @@ -244,7 +255,7 @@ sub iniSave or confess "unable to write section ${strSection}: $!"; # Iterate through all keys in the section - foreach my $strKey (sort(keys ${$oContent}{"${strSection}"})) + foreach my $strKey (sort(keys(%{${$oContent}{"${strSection}"}}))) { # Skip comments if ($strKey eq INI_COMMENT) @@ -272,6 +283,9 @@ sub iniSave $bFirst = false; } + # Sync and close ini file + $hFile->sync(); + filePathSync(dirname($strFileName)); close($hFile); } @@ -290,7 +304,7 @@ sub hash # Caculate the checksum my $oChecksumContent = dclone($self->{oContent}); - foreach my $strSection (keys($oChecksumContent)) + foreach my $strSection (keys(%$oChecksumContent)) { delete(${$oChecksumContent}{$strSection}{&INI_COMMENT}); } @@ -522,14 +536,14 @@ sub keys { if ($self->test($strSection, $strKey)) { - return sort(keys $self->get($strSection, $strKey)); + return sort(keys(%{$self->get($strSection, $strKey)})); } my @stryEmptyArray; return @stryEmptyArray; } - return sort(keys $self->{oContent}); + return sort(keys(%{$self->{oContent}})); } #################################################################################################################################### diff --git a/lib/BackRest/Manifest.pm b/lib/BackRest/Manifest.pm index e3e673333..d4ce1cc8f 100644 --- a/lib/BackRest/Manifest.pm +++ b/lib/BackRest/Manifest.pm @@ -375,7 +375,7 @@ sub build my %oTablespaceManifestHash; $oFile->manifest(PATH_DB_ABSOLUTE, $strDbClusterPath . '/' . PATH_PG_TBLSPC, \%oTablespaceManifestHash); - foreach my $strName (sort(CORE::keys $oTablespaceManifestHash{name})) + foreach my $strName (sort(CORE::keys(%{$oTablespaceManifestHash{name}}))) { if ($strName eq '.' or $strName eq '..') { @@ -401,7 +401,7 @@ sub build $self->set(MANIFEST_SECTION_BACKUP_PATH, $strLevel, MANIFEST_SUBKEY_PATH, $strDbClusterPath); # Loop though all paths/files/links in the manifest - foreach my $strName (sort(CORE::keys $oManifestHash{name})) + foreach my $strName (sort(CORE::keys(%{$oManifestHash{name}}))) { # Skip certain files during backup if (($strName =~ /^pg\_xlog\/.*/ && !$bNoStartStop) || # pg_xlog/ - this will be reconstructed diff --git a/lib/BackRest/Open3.pm b/lib/BackRest/Open3.pm new file mode 100644 index 000000000..b3fa9cb77 --- /dev/null +++ b/lib/BackRest/Open3.pm @@ -0,0 +1,122 @@ +#################################################################################################################################### +# OPEN3 MODULE +#################################################################################################################################### +package BackRest::Open3; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use File::Basename qw(dirname); +use IO::Select; +use IPC::Open3; +use POSIX ':sys_wait_h'; + +use lib dirname($0) . '/../lib'; +use BackRest::Exception; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_OPEN3 => 'Open3'; + +use constant OP_OPEN3_NEW => OP_OPEN3 . "->new"; + +#################################################################################################################################### +# CONSTRUCTOR +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + my $strCommand = shift; # Command to execute + + # Debug + logDebug(OP_OPEN3_NEW, DEBUG_CALL, undef, {command => $strCommand}); + + # Create the class hash + my $self = {}; + bless $self, $class; + + # Store the command + defined($strCommand) + or confess &log(ASSERT, 'strCommand parameter is required'); + + $self->{strCommand} = $strCommand; + + return $self; +} + +#################################################################################################################################### +# run +#################################################################################################################################### +sub run +{ + my $self = shift; + my $bInput = shift; + + # Execute the command + if (defined($bInput) && $bInput) + { + $self->{pId} = open3($self->{hIn}, $self->{hOut}, $self->{hError}, $self->{strCommand}); + } + else + { + $self->{pId} = open3(undef, $self->{hOut}, $self->{hError}, $self->{strCommand}); + } + + # Create select objects + $self->{oErrorSelect} = IO::Select->new(); + $self->{oErrorSelect}->add($self->{hError}); + $self->{oOutSelect} = IO::Select->new(); + $self->{oOutSelect}->add($self->{hOut}); +} + +#################################################################################################################################### +# capture +#################################################################################################################################### +sub capture +{ + my $self = shift; + + # Run the command without input + $self->run(false); + + # While the process is running drain the stdout and stderr streams + my $strLine; + + while(waitpid($self->{pId}, WNOHANG) == 0) + { + # Drain the stderr stream + if ($self->{oErrorSelect}->can_read(.1)) + { + while ($strLine = readline($self->{hError})) + { + $self->{strErrorLog} .= $strLine; + } + } + + # Drain the stdout stream + if ($self->{oOutSelect}->can_read(.1)) + { + while ($strLine = readline($self->{hOut})) + { + $self->{strOutLog} .= $strLine; + } + } + } + + # Check the exit status and output an error if needed + my $iExitStatus = ${^CHILD_ERROR_NATIVE} >> 8; + + # Check exit status and output error + if ($iExitStatus != 0) + { + confess &log(ERROR, "unable to execute '$self->{strCommand}' (returned ${iExitStatus})" . + (defined($self->{strErrorLog}) ? "\n$self->{strErrorLog}" : '')); + } + + return $self->{strOutLog}; +} + +1; diff --git a/lib/BackRest/Protocol.pm b/lib/BackRest/Protocol.pm new file mode 100644 index 000000000..1cd12040e --- /dev/null +++ b/lib/BackRest/Protocol.pm @@ -0,0 +1,1212 @@ +#################################################################################################################################### +# PROTOCOL MODULE +#################################################################################################################################### +package BackRest::Protocol; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END); +use File::Basename qw(dirname); +use IO::String qw(); +use IPC::Open3; +use POSIX qw(:sys_wait_h); +use Scalar::Util qw(blessed); + +use lib dirname($0) . '/../lib'; +use BackRest::Config; +use BackRest::Exception; +use BackRest::Ini; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_PROTOCOL => 'Protocol'; + +use constant OP_PROTOCOL_NEW => OP_PROTOCOL . "->new"; +use constant OP_PROTOCOL_COMMAND_WRITE => OP_PROTOCOL . "->commandWrite"; + +#################################################################################################################################### +# CONSTRUCTOR +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + my $strName = shift; # Name of the protocol + my $bBackend = shift; # Is the the backend side of the protocol? + my $strCommand = shift; # Command to execute on remote ('remote' if this is the remote) + my $iBlockSize = shift; # Buffer size + my $iCompressLevel = shift; # Set compression level + my $iCompressLevelNetwork = shift; # Set compression level for network only compression + my $strHost = shift; # Host to connect to for remote (optional as this can also be used on the remote) + my $strUser = shift; # User to connect to for remote (must be set if strHost is set) + + # Debug + logDebug(OP_PROTOCOL_NEW, DEBUG_CALL, undef, + {name => $strName, isBackend => $bBackend, command => $strCommand, host => $strHost, user => $strUser, + blockSize => $iBlockSize, compressLevel => $iCompressLevel, compressLevelNetwork => $iCompressLevelNetwork}, + defined($strHost) ? DEBUG : TRACE); + + # Create the class hash + my $self = {}; + bless $self, $class; + + # Create the greeting that will be used to check versions with the remote + if (defined($strName)) + { + $self->{strName} = $strName; + $self->{strGreeting} = 'PG_BACKREST_' . uc($strName) . ' ' . BACKREST_VERSION; + } + + $self->{bBackend} = $bBackend; + + # Set default block size + $self->{iBlockSize} = $iBlockSize; + + if (!defined($self->{iBlockSize})) + { + confess &log(ASSERT, 'iBlockSize must be set'); + } + + # Set compress levels + $self->{iCompressLevel} = $iCompressLevel; + + if (!defined($self->{iCompressLevel})) + { + confess &log(ASSERT, 'iCompressLevel must be set'); + } + + $self->{iCompressLevelNetwork} = $iCompressLevelNetwork; + + if (!defined($self->{iCompressLevelNetwork})) + { + confess &log(ASSERT, 'iCompressLevelNetwork must be set'); + } + + if ($bBackend) + { + # Write the greeting so master process knows who we are + $self->greeting_write(); + } + elsif (defined($strCommand)) + { + # If host is defined then make a connnection + if (defined($strHost)) + { + # User must be defined + if (!defined($strUser)) + { + confess &log(ASSERT, 'strUser must be defined'); + } + + # Command must be defined + if (!defined($strCommand)) + { + confess &log(ASSERT, 'strCommand must be defined'); + } + + $self->{strHost} = $strHost; + $self->{strUser} = $strUser; + $self->{strCommand} = $strCommand; + + # Generate remote command + my $strCommandSSH = "ssh -o Compression=no ${strUser}\@${strHost} '" . $self->{strCommand} . "'"; + + &log(TRACE, 'connecting to remote ssh host ' . $self->{strHost}); + + # Open the remote command and read the greeting to make sure it worked + $self->{pId} = open3($self->{hIn}, $self->{hOut}, $self->{hErr}, $strCommandSSH); + $self->greeting_read(); + + &log(TRACE, 'connected to remote ssh host ' . $self->{strHost}); + } + else + { + confess &log(ASSERT, 'local operation not yet supported'); + } + } + + return $self; +} + +#################################################################################################################################### +# DESTROY +#################################################################################################################################### +sub DESTROY +{ + my $self = shift; + + # Only send the exit command if the process is running + if (defined($self->{pId})) + { + &log(TRACE, "sending exit command to process"); + $self->command_write('exit'); + + # &log(TRACE, "waiting for remote process"); + # if (!$self->wait_pid(5, false)) + # { + # &log(TRACE, "killed remote process"); + # kill('KILL', $self->{pId}); + # } + } +} + +#################################################################################################################################### +# CLONE +#################################################################################################################################### +sub clone +{ + my $self = shift; + + return BackRest::Protocol->new + ( + $self->{strName}, + $self->{bBackend}, + $self->{strCommand}, + $self->{iBlockSize}, + $self->{iCompressLevel}, + $self->{iCompressLevelNetwork}, + $self->{strHost}, + $self->{strUser} + ); +} + +#################################################################################################################################### +# GREETING_READ +# +# Read the greeting and make sure it is as expected. +#################################################################################################################################### +sub greeting_read +{ + my $self = shift; + + # Make sure that the remote is running the right version + my $strLine = $self->read_line($self->{hOut}); + + if ($strLine ne $self->{strGreeting}) + { + kill 'KILL', $self->{pId}; + waitpid($self->{pId}, 0); + + undef($self->{pId}); + + confess &log(ERROR, "protocol version mismatch: ${strLine}", ERROR_HOST_CONNECT); + } +} + +#################################################################################################################################### +# GREETING_WRITE +# +# Send a greeting to the master process. +#################################################################################################################################### +sub greeting_write +{ + my $self = shift; + + $self->write_line(*STDOUT, $self->{strGreeting}); +} + +#################################################################################################################################### +# STRING_WRITE +# +# Write a string. +#################################################################################################################################### +sub string_write +{ + my $self = shift; + my $hOut = shift; + my $strBuffer = shift; + + $strBuffer =~ s/\n/\n\./g; + + if (!syswrite($hOut, '.' . $strBuffer)) + { + confess 'unable to write string'; + } +} + +#################################################################################################################################### +# PIPE_TO_STRING Function +# +# Copies data from a file handle into a string. +#################################################################################################################################### +sub pipe_to_string +{ + my $self = shift; + my $hOut = shift; + + my $strBuffer; + my $hString = IO::String->new($strBuffer); + $self->binary_xfer($hOut, $hString); + + return $strBuffer; +} + +#################################################################################################################################### +# ERROR_WRITE +# +# Write errors with error codes in protocol format, otherwise write to stderr and exit with error. +#################################################################################################################################### +sub error_write +{ + my $self = shift; + my $oMessage = shift; + + my $iCode; + my $strMessage; + + if (blessed($oMessage)) + { + if ($oMessage->isa('BackRest::Exception')) + { + $iCode = $oMessage->code(); + $strMessage = $oMessage->message(); + } + else + { + syswrite(*STDERR, 'unknown error object: ' . $oMessage); + exit 1; + } + } + else + { + syswrite(*STDERR, $oMessage); + exit 1; + } + + if (defined($strMessage)) + { + $self->string_write(*STDOUT, trim($strMessage)); + } + + if (!syswrite(*STDOUT, "\nERROR" . (defined($iCode) ? " $iCode" : '') . "\n")) + { + confess 'unable to write error'; + } +} + +#################################################################################################################################### +# READ_LINE +# +# Read a line. +#################################################################################################################################### +sub read_line +{ + my $self = shift; + my $hIn = shift; + my $bError = shift; + + my $strLine; + my $strChar; + my $iByteIn; + + while (1) + { + $iByteIn = sysread($hIn, $strChar, 1); + + if (!defined($iByteIn) || $iByteIn != 1) + { + $self->wait_pid(); + + if (defined($bError) and !$bError) + { + return undef; + } + + confess &log(ERROR, 'unable to read 1 byte' . (defined($!) ? ': ' . $! : '')); + } + + if ($strChar eq "\n") + { + last; + } + + $strLine .= $strChar; + } + + return $strLine; +} + +#################################################################################################################################### +# WRITE_LINE +# +# Write a line data +#################################################################################################################################### +sub write_line +{ + my $self = shift; + my $hOut = shift; + my $strBuffer = shift; + + my $iLineOut = syswrite($hOut, (defined($strBuffer) ? $strBuffer : '') . "\n"); + + if (!defined($iLineOut) || $iLineOut != (defined($strBuffer) ? length($strBuffer) : 0) + 1) + { + confess &log(ERROR, "unable to write ${strBuffer}: $!", ERROR_PROTOCOL); + } +} + +#################################################################################################################################### +# WAIT_PID +# +# See if the remote process has terminated unexpectedly. +#################################################################################################################################### +sub wait_pid +{ + my $self = shift; + my $fWaitTime = shift; + my $bReportError = shift; + + # Record the start time and set initial sleep interval + my $oWait = waitInit($fWaitTime); + + if (defined($self->{pId})) + { + do + { + my $iResult = waitpid($self->{pId}, WNOHANG); + + if (defined($fWaitTime)) + { + confess &log(TRACE, "waitpid result = $iResult"); + } + + # If there is no such process + if ($iResult == -1) + { + return true; + } + + if ($iResult > 0) + { + if (!defined($bReportError) || $bReportError) + { + my $strError = 'no error on stderr'; + + if (!defined($self->{hErr})) + { + $strError = 'no error captured because stderr is already closed'; + } + else + { + $strError = $self->pipe_to_string($self->{hErr}); + } + + $self->{pId} = undef; + $self->{hIn} = undef; + $self->{hOut} = undef; + $self->{hErr} = undef; + + confess &log(ERROR, "remote process terminated: ${strError}"); + } + + return true; + } + + &log(TRACE, "waiting for pid"); + } + while (waitMore($oWait)); + } + + return false; +} + +#################################################################################################################################### +# BLOCK_READ +# +# Read a block from the protocol layer. +#################################################################################################################################### +sub block_read +{ + my $self = shift; + my $hIn = shift; + my $strBlockRef = shift; + my $bProtocol = shift; + + my $iBlockSize; + my $strMessage; + + if ($bProtocol) + { + # Read the block header and make sure it's valid + my $strBlockHeader = $self->read_line($hIn); + + if ($strBlockHeader !~ /^block -{0,1}[0-9]+( .*){0,1}$/) + { + $self->wait_pid(); + confess "unable to read block header ${strBlockHeader}"; + } + + # Get block size from the header + my @stryToken = split(/ /, $strBlockHeader); + $iBlockSize = $stryToken[1]; + $strMessage = $stryToken[2]; + + # If block size is 0 or an error code then undef the buffer + if ($iBlockSize <= 0) + { + undef($$strBlockRef); + } + # Else read the block + else + { + my $iBlockRead = 0; + my $iBlockIn = 0; + my $iOffset = defined($$strBlockRef) ? length($$strBlockRef) : 0; + + # !!! Would be nice to modify this with a non-blocking read + # http://docstore.mik.ua/orelly/perl/cookbook/ch07_15.htm + + # Read as many chunks as it takes to get the full block + while ($iBlockRead != $iBlockSize) + { + $iBlockIn = sysread($hIn, $$strBlockRef, $iBlockSize - $iBlockRead, $iBlockRead + $iOffset); + + if (!defined($iBlockIn)) + { + my $strError = $!; + + $self->wait_pid(); + confess "only read ${iBlockRead}/${iBlockSize} block bytes from remote" . + (defined($strError) ? ": ${strError}" : ''); + } + + $iBlockRead += $iBlockIn; + } + } + } + else + { + $iBlockSize = $self->stream_read($hIn, $strBlockRef, $self->{iBlockSize}, + defined($$strBlockRef) ? length($$strBlockRef) : 0); + } + + # Return the block size + return $iBlockSize, $strMessage; +} + +#################################################################################################################################### +# BLOCK_WRITE +# +# Write a block to the protocol layer. +#################################################################################################################################### +sub block_write +{ + my $self = shift; + my $hOut = shift; + my $tBlockRef = shift; + my $iBlockSize = shift; + my $bProtocol = shift; + my $strMessage = shift; + + # If block size is not defined, get it from buffer length + $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); + + # Write block header to the protocol stream + if ($bProtocol) + { + $self->write_line($hOut, "block ${iBlockSize}" . (defined($strMessage) ? " ${strMessage}" : '')); + } + + # Write block if size > 0 + if ($iBlockSize > 0) + { + $self->stream_write($hOut, $tBlockRef, $iBlockSize); + } +} + +#################################################################################################################################### +# STREAM_READ +# +# Read data from a stream. +#################################################################################################################################### +sub stream_read +{ + my $self = shift; + my $hIn = shift; + my $tBlockRef = shift; + my $iBlockSize = shift; + my $bOffset = shift; + + # Read a block from the stream + my $iBlockIn = sysread($hIn, $$tBlockRef, $iBlockSize, $bOffset ? length($$tBlockRef) : false); + + if (!defined($iBlockIn)) + { + $self->wait_pid(); + confess &log(ERROR, 'unable to read'); + } + + return $iBlockIn; +} + +#################################################################################################################################### +# STREAM_WRITE +# +# Write data to a stream. +#################################################################################################################################### +sub stream_write +{ + my $self = shift; + my $hOut = shift; + my $tBlockRef = shift; + my $iBlockSize = shift; + + # If block size is not defined, get it from buffer length + $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); + + # Write the block + my $iBlockOut = syswrite($hOut, $$tBlockRef, $iBlockSize); + + # Report any errors + if (!defined($iBlockOut) || $iBlockOut != $iBlockSize) + { + my $strError = $!; + + $self->wait_pid(); + confess "unable to write ${iBlockSize} bytes" . (defined($strError) ? ': ' . $strError : ''); + } +} + +#################################################################################################################################### +# BINARY_XFER +# +# Copies data from one file handle to another, optionally compressing or decompressing the data in stream. If $strRemote != none +# then one side is a protocol stream, though this can be controlled with the bProtocol param. +#################################################################################################################################### +sub binary_xfer +{ + my $self = shift; + my $hIn = shift; + my $hOut = shift; + my $strRemote = shift; + my $bSourceCompressed = shift; + my $bDestinationCompress = shift; + my $bProtocol = shift; + + # The input stream must be defined (output is optional) + if (!defined($hIn)) + { + confess &log(ASSERT, 'hIn is not defined'); + } + + # If no remote is defined then set to none + if (!defined($strRemote)) + { + $strRemote = 'none'; + } + # Only set compression defaults when remote is defined + else + { + $bSourceCompressed = defined($bSourceCompressed) ? $bSourceCompressed : false; + $bDestinationCompress = defined($bDestinationCompress) ? $bDestinationCompress : false; + } + + # Default protocol to true + $bProtocol = defined($bProtocol) ? $bProtocol : true; + my $strMessage = undef; + + # Checksum and size + my $strChecksum = undef; + my $iFileSize = undef; + + # Read from the protocol stream + if ($strRemote eq 'in') + { + # If the destination should not be compressed then decompress + if (!$bDestinationCompress) + { + my $iBlockSize; + my $tCompressedBuffer; + my $tUncompressedBuffer; + my $iUncompressedBufferSize; + + # Initialize SHA + my $oSHA; + + if (!$bProtocol) + { + $oSHA = Digest::SHA->new('sha1'); + } + + # Initialize inflate object and check for errors + my ($oZLib, $iZLibStatus) = + new Compress::Raw::Zlib::Inflate(WindowBits => 15 & $bSourceCompressed ? WANT_GZIP : 0, + Bufsize => $self->{iBlockSize}, LimitOutput => 1); + + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); + } + + # Read all input + do + { + # Read a block from the input stream + ($iBlockSize, $strMessage) = $self->block_read($hIn, \$tCompressedBuffer, $bProtocol); + + # Process protocol messages + if (defined($strMessage) && $strMessage eq 'nochecksum') + { + $oSHA = Digest::SHA->new('sha1'); + undef($strMessage); + } + + # If the block contains data, decompress it + if ($iBlockSize > 0) + { + # Keep looping while there is more to decompress + do + { + # Decompress data + $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); + $iUncompressedBufferSize = length($tUncompressedBuffer); + + # If status is ok, write the data + if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) + { + if ($iUncompressedBufferSize > 0) + { + # Add data to checksum + if (defined($oSHA)) + { + $oSHA->add($tUncompressedBuffer); + } + + # Write data if hOut is defined + if (defined($hOut)) + { + $self->stream_write($hOut, \$tUncompressedBuffer, $iUncompressedBufferSize); + } + } + } + # Else error, exit so it can be handled + else + { + $iBlockSize = 0; + last; + } + } + while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); + } + } + while ($iBlockSize > 0); + + # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) + if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) + { + confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); + } + + # Get checksum and total uncompressed bytes written + if (defined($oSHA)) + { + $strChecksum = $oSHA->hexdigest(); + $iFileSize = $oZLib->total_out(); + }; + } + # If the destination should be compressed then just write out the already compressed stream + else + { + my $iBlockSize; + my $tBuffer; + + # Initialize checksum and size + my $oSHA; + + if (!$bProtocol) + { + $oSHA = Digest::SHA->new('sha1'); + $iFileSize = 0; + } + + do + { + # Read a block from the protocol stream + ($iBlockSize, $strMessage) = $self->block_read($hIn, \$tBuffer, $bProtocol); + + # If the block contains data, write it + if ($iBlockSize > 0) + { + # Add data to checksum and size + if (!$bProtocol) + { + $oSHA->add($tBuffer); + $iFileSize += $iBlockSize; + } + + $self->stream_write($hOut, \$tBuffer, $iBlockSize); + undef($tBuffer); + } + } + while ($iBlockSize > 0); + + # Get checksum + if (!$bProtocol) + { + $strChecksum = $oSHA->hexdigest(); + }; + } + } + # Read from file input stream + else + { + # If source is not already compressed then compress it + if ($strRemote eq 'out' && !$bSourceCompressed) + { + my $iBlockSize; + my $tCompressedBuffer; + my $iCompressedBufferSize; + my $tUncompressedBuffer; + + # Initialize message to indicate that a checksum will be sent + if ($bProtocol && defined($hOut)) + { + $strMessage = 'checksum'; + } + + # Initialize checksum + my $oSHA = Digest::SHA->new('sha1'); + + # Initialize inflate object and check for errors + my ($oZLib, $iZLibStatus) = + new Compress::Raw::Zlib::Deflate(WindowBits => 15 & $bDestinationCompress ? WANT_GZIP : 0, + Level => $bDestinationCompress ? $self->{iCompressLevel} : + $self->{iCompressLevelNetwork}, + Bufsize => $self->{iBlockSize}, AppendOutput => 1); + + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable create a deflate object: ${iZLibStatus}"); + } + + do + { + # Read a block from the stream + $iBlockSize = $self->stream_read($hIn, \$tUncompressedBuffer, $self->{iBlockSize}); + + # If block size > 0 then compress + if ($iBlockSize > 0) + { + # Update checksum and filesize + $oSHA->add($tUncompressedBuffer); + + # Compress the data + $iZLibStatus = $oZLib->deflate($tUncompressedBuffer, $tCompressedBuffer); + $iCompressedBufferSize = length($tCompressedBuffer); + + # If compression was successful + if ($iZLibStatus == Z_OK) + { + # The compressed data is larger than block size, then write + if ($iCompressedBufferSize > $self->{iBlockSize}) + { + $self->block_write($hOut, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); + undef($tCompressedBuffer); + undef($strMessage); + } + } + # Else if error + else + { + $iBlockSize = 0; + } + } + } + while ($iBlockSize > 0); + + # If good so far flush out the last bytes + if ($iZLibStatus == Z_OK) + { + $iZLibStatus = $oZLib->flush($tCompressedBuffer); + } + + # Make sure the compression succeeded + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable to deflate stream: ${iZLibStatus}"); + } + + # Get checksum and total uncompressed bytes written + $strChecksum = $oSHA->hexdigest(); + $iFileSize = $oZLib->total_in(); + + # Write out the last block + if (defined($hOut)) + { + $iCompressedBufferSize = length($tCompressedBuffer); + + if ($iCompressedBufferSize > 0) + { + $self->block_write($hOut, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); + undef($strMessage); + } + + $self->block_write($hOut, undef, 0, $bProtocol, "${strChecksum}-${iFileSize}"); + } + } + # If source is already compressed or transfer is not compressed then just read the stream + else + { + my $iBlockSize; + my $tBuffer; + my $tCompressedBuffer; + my $tUncompressedBuffer; + my $iUncompressedBufferSize; + my $oSHA; + my $oZLib; + my $iZLibStatus; + + # If the destination will be compressed setup deflate + if ($bDestinationCompress) + { + if ($bProtocol) + { + $strMessage = 'checksum'; + } + + # Initialize checksum and size + $oSHA = Digest::SHA->new('sha1'); + $iFileSize = 0; + + # Initialize inflate object and check for errors + ($oZLib, $iZLibStatus) = + new Compress::Raw::Zlib::Inflate(WindowBits => WANT_GZIP, Bufsize => $self->{iBlockSize}, LimitOutput => 1); + + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); + } + } + # Initialize message to indicate that a checksum will not be sent + elsif ($bProtocol) + { + $strMessage = 'nochecksum'; + } + + # Read input + do + { + $iBlockSize = $self->stream_read($hIn, \$tBuffer, $self->{iBlockSize}); + + # Write a block if size > 0 + if ($iBlockSize > 0) + { + $self->block_write($hOut, \$tBuffer, $iBlockSize, $bProtocol, $strMessage); + undef($strMessage); + } + + # Decompress the buffer to calculate checksum/size + if ($bDestinationCompress) + { + # If the block contains data, decompress it + if ($iBlockSize > 0) + { + # Copy file buffer to compressed buffer + if (defined($tCompressedBuffer)) + { + $tCompressedBuffer .= $tBuffer; + } + else + { + $tCompressedBuffer = $tBuffer; + } + + # Keep looping while there is more to decompress + do + { + # Decompress data + $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); + $iUncompressedBufferSize = length($tUncompressedBuffer); + + # If status is ok, write the data + if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) + { + if ($iUncompressedBufferSize > 0) + { + $oSHA->add($tUncompressedBuffer); + $iFileSize += $iUncompressedBufferSize; + } + } + # Else error, exit so it can be handled + else + { + $iBlockSize = 0; + } + } + while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); + } + } + } + while ($iBlockSize > 0); + + # Check decompression get checksum + if ($bDestinationCompress) + { + # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) + if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) + { + confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); + } + + # Get checksum + $strChecksum = $oSHA->hexdigest(); + + # Set protocol message + if ($bProtocol) + { + $strMessage = "${strChecksum}-${iFileSize}"; + } + } + + # If protocol write + if ($bProtocol) + { + # Write 0 block to indicate end of stream + $self->block_write($hOut, undef, 0, $bProtocol, $strMessage); + } + } + } + + # If message is defined the the checksum and size should be in it + if (defined($strMessage)) + { + my @stryToken = split(/-/, $strMessage); + $strChecksum = $stryToken[0]; + $iFileSize = $stryToken[1]; + } + + # Return the checksum and size if they are available + return $strChecksum, $iFileSize; +} + +#################################################################################################################################### +# OUTPUT_READ +# +# Read output from the remote process. +#################################################################################################################################### +sub output_read +{ + my $self = shift; + my $bOutputRequired = shift; + my $strErrorPrefix = shift; + my $bSuppressLog = shift; + + my $strLine; + my $strOutput; + my $bError = false; + my $iErrorCode; + my $strError; + + # Read output lines + while ($strLine = $self->read_line($self->{hOut}, false)) + { + if ($strLine =~ /^ERROR.*/) + { + $bError = true; + + $iErrorCode = (split(' ', $strLine))[1]; + + last; + } + + if ($strLine =~ /^OK$/) + { + last; + } + + $strOutput .= (defined($strOutput) ? "\n" : '') . substr($strLine, 1); + } + + # Check if the process has exited abnormally + $self->wait_pid(); + + # Raise any errors + if ($bError) + { + confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . + (defined($strOutput) ? "${strOutput}" : ''), $iErrorCode, $bSuppressLog); + } + + # If output is required and there is no output, raise exception + if (defined($bOutputRequired) && $bOutputRequired && !defined($strOutput)) + { + confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . 'output is not defined'); + } + + # Return output + return $strOutput; +} + +#################################################################################################################################### +# OUTPUT_WRITE +# +# Write output for the master process. +#################################################################################################################################### +sub output_write +{ + my $self = shift; + my $strOutput = shift; + + if (defined($strOutput)) + { + $self->string_write(*STDOUT, "${strOutput}"); + + if (!syswrite(*STDOUT, "\n")) + { + confess 'unable to write output'; + } + } + + if (!syswrite(*STDOUT, "OK\n")) + { + confess 'unable to write output'; + } +} + +#################################################################################################################################### +# COMMAND_PARAM_STRING +# +# Output command parameters in the hash as a string (used for debugging). +#################################################################################################################################### +sub command_param_string +{ + my $self = shift; + my $oParamHashRef = shift; + + my $strParamList = ''; + + if (defined($oParamHashRef)) + { + foreach my $strParam (sort(keys(%$oParamHashRef))) + { + $strParamList .= (defined($strParamList) ? ',' : '') . "${strParam}=" . + (defined(${$oParamHashRef}{"${strParam}"}) ? ${$oParamHashRef}{"${strParam}"} : '[undef]'); + } + } + + return $strParamList; +} + +#################################################################################################################################### +# COMMAND_READ +# +# Read command sent by the master process. +#################################################################################################################################### +sub command_read +{ + my $self = shift; + my $oParamHashRef = shift; + + my $strLine; + my $strCommand; + + while ($strLine = $self->read_line(*STDIN)) + { + if (!defined($strCommand)) + { + if ($strLine =~ /:$/) + { + $strCommand = substr($strLine, 0, length($strLine) - 1); + } + else + { + $strCommand = $strLine; + last; + } + } + else + { + if ($strLine eq 'end') + { + last; + } + + my $iPos = index($strLine, '='); + + if ($iPos == -1) + { + confess "param \"${strLine}\" is missing = character"; + } + + my $strParam = substr($strLine, 0, $iPos); + my $strValue = substr($strLine, $iPos + 1); + + ${$oParamHashRef}{"${strParam}"} = ${strValue}; + } + } + + return $strCommand; +} + +#################################################################################################################################### +# COMMAND_WRITE +# +# Send command to remote process. +#################################################################################################################################### +sub command_write +{ + my $self = shift; + my $strCommand = shift; + my $oParamRef = shift; + + logTrace(OP_PROTOCOL_COMMAND_WRITE, DEBUG_CALL, $strCommand, $oParamRef); + + my $strOutput = $strCommand; + + if (defined($oParamRef)) + { + $strOutput = "${strCommand}:\n"; + + foreach my $strParam (sort(keys(%$oParamRef))) + { + if ($strParam =~ /=/) + { + confess &log(ASSERT, "param \"${strParam}\" cannot contain = character"); + } + + my $strValue = ${$oParamRef}{"${strParam}"}; + + if ($strParam =~ /\n\$/) + { + confess &log(ASSERT, "param \"${strParam}\" value cannot end with LF"); + } + + if (defined(${strValue})) + { + $strOutput .= "${strParam}=${strValue}\n"; + } + } + + $strOutput .= 'end'; + } + + if (!syswrite($self->{hIn}, "${strOutput}\n")) + { + confess 'unable to write command'; + } + + logTrace(OP_PROTOCOL_COMMAND_WRITE, DEBUG_RESULT, $strOutput); +} + +#################################################################################################################################### +# COMMAND_EXECUTE +# +# Send command to remote process and wait for output. +#################################################################################################################################### +sub command_execute +{ + my $self = shift; + my $strCommand = shift; + my $oParamRef = shift; + my $bOutputRequired = shift; + my $strErrorPrefix = shift; + + $self->command_write($strCommand, $oParamRef); + + return $self->output_read($bOutputRequired, $strErrorPrefix); +} + +1; diff --git a/lib/BackRest/Remote.pm b/lib/BackRest/Remote.pm index 601b77d74..dba579ede 100644 --- a/lib/BackRest/Remote.pm +++ b/lib/BackRest/Remote.pm @@ -2,6 +2,7 @@ # REMOTE MODULE #################################################################################################################################### package BackRest::Remote; +use parent 'BackRest::Protocol'; use strict; use warnings FATAL => qw(all); @@ -9,15 +10,36 @@ use Carp qw(confess); use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END); use File::Basename qw(dirname); + use IO::String qw(); -use Net::OpenSSH qw(); use POSIX qw(:sys_wait_h); use Scalar::Util qw(blessed); use lib dirname($0) . '/../lib'; -use BackRest::Config qw(optionGet OPTION_STANZA OPTION_REPO_REMOTE_PATH); -use BackRest::Exception qw(ERROR_PROTOCOL ERROR_HOST_CONNECT); -use BackRest::Utility qw(log version_get trim TRACE ERROR ASSERT DEBUG true false waitInit waitMore); +use BackRest::Archive; +use BackRest::Config; +use BackRest::Db; +use BackRest::Exception; +use BackRest::File; +use BackRest::Info; +use BackRest::Protocol; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_REMOTE => 'Remote'; + +use constant OP_REMOTE_NEW => OP_REMOTE . "->new"; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant +{ + OP_NOOP => 'noop', + OP_EXIT => 'exit' +}; #################################################################################################################################### # CONSTRUCTOR @@ -28,1248 +50,239 @@ sub new my $strHost = shift; # Host to connect to for remote (optional as this can also be used on the remote) my $strUser = shift; # User to connect to for remote (must be set if strHost is set) my $strCommand = shift; # Command to execute on remote ('remote' if this is the remote) - my $strStanza = shift; # Stanza - my $strRepoPath = shift; # Remote Repository Path my $iBlockSize = shift; # Buffer size my $iCompressLevel = shift; # Set compression level my $iCompressLevelNetwork = shift; # Set compression level for network only compression # Debug - &log(defined($strHost) ? DEBUG : TRACE, 'Remote->new: ' . - 'host = ' . (defined($strHost) ? $strHost : '[undef]') . - ', user = ' . (defined($strUser) ? $strUser : '[undef]') . - ', stanza = ' . (defined($strStanza) ? $strStanza : '[undef]') . - ', remote-repo-path = ' . (defined($strRepoPath) ? $strRepoPath : '[undef]') . - ', command = ' . (defined($strCommand) ? $strCommand : '[undef]')); + logDebug(OP_REMOTE_NEW, DEBUG_CALL, undef, + {host => $strHost, user => $strUser, command => $strCommand}, + defined($strHost) ? DEBUG : TRACE); - # Create the class hash - my $self = {}; - bless $self, $class; - - # Create the greeting that will be used to check versions with the remote - $self->{strGreeting} = 'PG_BACKREST_REMOTE ' . version_get(); - - # Set stanza and repo path - $self->{strStanza} = $strStanza; - $self->{strRepoPath} = $strRepoPath; - - # Set default block size - $self->{iBlockSize} = $iBlockSize; - - # Set compress levels - $self->{iCompressLevel} = $iCompressLevel; - $self->{iCompressLevelNetwork} = $iCompressLevelNetwork; - - # If host is defined then make a connnection - if (defined($strHost)) - { - # User must be defined - if (!defined($strUser)) - { - confess &log(ASSERT, 'strUser must be defined'); - } - - # Command must be defined - if (!defined($strCommand)) - { - confess &log(ASSERT, 'strCommand must be defined'); - } - - $self->{strHost} = $strHost; - $self->{strUser} = $strUser; - $self->{strCommand} = $strCommand; - - # Set SSH Options - my $strOptionSSHRequestTTY = 'RequestTTY=yes'; - my $strOptionSSHCompression = 'Compression=no'; - - &log(TRACE, 'connecting to remote ssh host ' . $self->{strHost}); - - # Make SSH connection - $self->{oSSH} = Net::OpenSSH->new($self->{strHost}, timeout => 600, user => $self->{strUser}, - master_opts => [-o => $strOptionSSHCompression, -o => $strOptionSSHRequestTTY]); - - $self->{oSSH}->error and confess &log(ERROR, "unable to connect to $self->{strHost}: " . $self->{oSSH}->error, ERROR_HOST_CONNECT); - &log(TRACE, 'connected to remote ssh host ' . $self->{strHost}); - - # Execute remote command - ($self->{hIn}, $self->{hOut}, $self->{hErr}, $self->{pId}) = $self->{oSSH}->open3($self->{strCommand}); - - $self->greeting_read(); - $self->setting_write($self->{strStanza}, $self->{strRepoPath}, - $self->{iBlockSize}, $self->{iCompressLevel}, $self->{iCompressLevelNetwork}); - } - elsif (defined($strCommand) && $strCommand eq 'remote') - { - # Write the greeting so master process knows who we are - $self->greeting_write(); - - # Read settings from master - ($self->{strStanza}, $self->{strRepoPath}, $self->{iBlockSize}, $self->{iCompressLevel}, - $self->{iCompressLevelNetwork}) = $self->setting_read(); - } - - # Check block size - if (!defined($self->{iBlockSize})) - { - confess &log(ASSERT, 'iBlockSize must be set'); - } - - # Check compress levels - if (!defined($self->{iCompressLevel})) - { - confess &log(ASSERT, 'iCompressLevel must be set'); - } - - if (!defined($self->{iCompressLevelNetwork})) - { - confess &log(ASSERT, 'iCompressLevelNetwork must be set'); - } + # Init object and store variables + my $self = $class->SUPER::new(CMD_REMOTE, !defined($strHost), $strCommand, $iBlockSize, $iCompressLevel, $iCompressLevelNetwork, + $strHost, $strUser); return $self; } - #################################################################################################################################### -# DESTROY +# paramGet +# +# Helper function that returns the param or an error if required and it does not exist. #################################################################################################################################### -sub DESTROY +sub paramGet { - my $self = shift; + my $oParamHashRef = shift; + my $strParam = shift; + my $bRequired = shift; - # Only send the exit command if the process is running - if (defined($self->{pId})) + my $strValue = ${$oParamHashRef}{$strParam}; + + if (!defined($strValue) && (!defined($bRequired) || $bRequired)) { - &log(TRACE, "sending exit command to process"); - $self->command_write('exit'); - - # &log(TRACE, "waiting for remote process"); - # if (!$self->wait_pid(5, false)) - # { - # &log(TRACE, "killed remote process"); - # kill('KILL', $self->{pId}); - # } + confess "${strParam} must be defined"; } + + return $strValue; } #################################################################################################################################### -# repoPath +# process #################################################################################################################################### -sub repoPath +sub process { my $self = shift; - return $self->{strRepoPath}; -} - -#################################################################################################################################### -# stanza -#################################################################################################################################### -sub stanza -{ - my $self = shift; - - return $self->{strStanza}; -} - -#################################################################################################################################### -# CLONE -#################################################################################################################################### -sub clone -{ - my $self = shift; - - return BackRest::Remote->new + # Create the file object + my $oFile = new BackRest::File ( - $self->{strHost}, - $self->{strUser}, - $self->{strCommand}, - $self->{strStanza}, - $self->{strRepoPath}, - $self->{iBlockSize}, - $self->{iCompressLevel}, - $self->{iCompressLevelNetwork} + optionGet(OPTION_STANZA, false), + optionGet(OPTION_REPO_REMOTE_PATH, false), + undef, + $self, ); -} -#################################################################################################################################### -# GREETING_READ -# -# Read the greeting and make sure it is as expected. -#################################################################################################################################### -sub greeting_read -{ - my $self = shift; + # Create objects + my $oArchive = new BackRest::Archive(); + my $oInfo = new BackRest::Info(); + my $oJSON = JSON::PP->new(); + my $oDb = new BackRest::Db(); - # Make sure that the remote is running the right version - if ($self->read_line($self->{hOut}) ne $self->{strGreeting}) + # Command string + my $strCommand = OP_NOOP; + + # Loop until the exit command is received + while ($strCommand ne OP_EXIT) { - confess &log(ERROR, 'remote version mismatch'); - } -} + my %oParamHash; -#################################################################################################################################### -# GREETING_WRITE -# -# Send a greeting to the master process. -#################################################################################################################################### -sub greeting_write -{ - my $self = shift; + $strCommand = $self->command_read(\%oParamHash); - $self->write_line(*STDOUT, $self->{strGreeting}); -} - -#################################################################################################################################### -# SETTING_READ -# -# Read the settings from the master process. -#################################################################################################################################### -sub setting_read -{ - my $self = shift; - - # Get Stanza - my $strStanza = $self->read_line(*STDIN); - - # Get Repo Path - my $strRepoPath = $self->read_line(*STDIN); - - # Tokenize the settings - my @stryToken = split(/ /, $self->read_line(*STDIN)); - - # Make sure there are the correct number of tokens - if (@stryToken != 4) - { - confess &log(ASSERT, 'settings token count is invalid', ERROR_PROTOCOL); - } - - # Check for the setting token just to be sure - if ($stryToken[0] ne 'setting') - { - confess &log(ASSERT, 'settings token 0 must be \'setting\''); - } - - # Return the settings - return $strStanza, $strRepoPath, $stryToken[1], $stryToken[2], $stryToken[3]; -} - -#################################################################################################################################### -# SETTING_WRITE -# -# Send settings to the remote process. -#################################################################################################################################### -sub setting_write -{ - my $self = shift; - my $strStanza = shift; # Database stanza - my $strRepoPath = shift; # Path to the repository on the remote - my $iBlockSize = shift; # Optionally, set the block size (defaults to DEFAULT_BLOCK_SIZE) - my $iCompressLevel = shift; # Set compression level - my $iCompressLevelNetwork = shift; # Set compression level for network only compression - - $self->write_line($self->{hIn}, $strStanza); - $self->write_line($self->{hIn}, $strRepoPath); - $self->write_line($self->{hIn}, "setting ${iBlockSize} ${iCompressLevel} ${iCompressLevelNetwork}"); -} - -#################################################################################################################################### -# STRING_WRITE -# -# Write a string. -#################################################################################################################################### -sub string_write -{ - my $self = shift; - my $hOut = shift; - my $strBuffer = shift; - - $strBuffer =~ s/\n/\n\./g; - - if (!syswrite($hOut, '.' . $strBuffer)) - { - confess 'unable to write string'; - } -} - -#################################################################################################################################### -# PIPE_TO_STRING Function -# -# Copies data from a file handle into a string. -#################################################################################################################################### -sub pipe_to_string -{ - my $self = shift; - my $hOut = shift; - - my $strBuffer; - my $hString = IO::String->new($strBuffer); - $self->binary_xfer($hOut, $hString); - - return $strBuffer; -} - -#################################################################################################################################### -# ERROR_WRITE -# -# Write errors with error codes in protocol format, otherwise write to stderr and exit with error. -#################################################################################################################################### -sub error_write -{ - my $self = shift; - my $oMessage = shift; - - my $iCode; - my $strMessage; - - if (blessed($oMessage)) - { - if ($oMessage->isa('BackRest::Exception')) + eval { - $iCode = $oMessage->code(); - $strMessage = $oMessage->message(); - } - else - { - syswrite(*STDERR, 'unknown error object: ' . $oMessage); - exit 1; - } - } - else - { - syswrite(*STDERR, $oMessage); - exit 1; - } - - if (defined($strMessage)) - { - $self->string_write(*STDOUT, trim($strMessage)); - } - - if (!syswrite(*STDOUT, "\nERROR" . (defined($iCode) ? " $iCode" : '') . "\n")) - { - confess 'unable to write error'; - } -} - -#################################################################################################################################### -# READ_LINE -# -# Read a line. -#################################################################################################################################### -sub read_line -{ - my $self = shift; - my $hIn = shift; - my $bError = shift; - - my $strLine; - my $strChar; - my $iByteIn; - - while (1) - { - $iByteIn = sysread($hIn, $strChar, 1); - - if (!defined($iByteIn) || $iByteIn != 1) - { - $self->wait_pid(); - - if (defined($bError) and !$bError) + # Copy file + if ($strCommand eq OP_FILE_COPY || + $strCommand eq OP_FILE_COPY_IN || + $strCommand eq OP_FILE_COPY_OUT) { - return undef; - } + my $bResult; + my $strChecksum; + my $iFileSize; - confess &log(ERROR, 'unable to read 1 byte' . (defined($!) ? ': ' . $! : '')); - } - - if ($strChar eq "\n") - { - last; - } - - $strLine .= $strChar; - } - - return $strLine; -} - -#################################################################################################################################### -# WRITE_LINE -# -# Write a line data -#################################################################################################################################### -sub write_line -{ - my $self = shift; - my $hOut = shift; - my $strBuffer = shift; - - my $iLineOut = syswrite($hOut, (defined($strBuffer) ? $strBuffer : '') . "\n"); - - if (!defined($iLineOut) || $iLineOut != (defined($strBuffer) ? length($strBuffer) : 0) + 1) - { - confess &log(ERROR, "unable to write ${strBuffer}: $!", ERROR_PROTOCOL); - } -} - -#################################################################################################################################### -# WAIT_PID -# -# See if the remote process has terminated unexpectedly. -#################################################################################################################################### -sub wait_pid -{ - my $self = shift; - my $fWaitTime = shift; - my $bReportError = shift; - - # Record the start time and set initial sleep interval - my $oWait = waitInit($fWaitTime); - - if (defined($self->{pId})) - { - do - { - my $iResult = waitpid($self->{pId}, WNOHANG); - - if (defined($fWaitTime)) - { - confess &log(TRACE, "waitpid result = $iResult"); - } - - # If there is no such process - if ($iResult == -1) - { - return true; - } - - if ($iResult > 0) - { - if (!defined($bReportError) || $bReportError) + # Copy a file locally + if ($strCommand eq OP_FILE_COPY) { - my $strError = 'no error on stderr'; + ($bResult, $strChecksum, $iFileSize) = + $oFile->copy(PATH_ABSOLUTE, paramGet(\%oParamHash, 'source_file'), + PATH_ABSOLUTE, paramGet(\%oParamHash, 'destination_file'), + paramGet(\%oParamHash, 'source_compressed'), + paramGet(\%oParamHash, 'destination_compress'), + paramGet(\%oParamHash, 'ignore_missing_source', false), + undef, + paramGet(\%oParamHash, 'mode', false), + paramGet(\%oParamHash, 'destination_path_create') ? 'Y' : 'N', + paramGet(\%oParamHash, 'user', false), + paramGet(\%oParamHash, 'group', false), + paramGet(\%oParamHash, 'append_checksum', false)); + } + # Copy a file from STDIN + elsif ($strCommand eq OP_FILE_COPY_IN) + { + ($bResult, $strChecksum, $iFileSize) = + $oFile->copy(PIPE_STDIN, undef, + PATH_ABSOLUTE, paramGet(\%oParamHash, 'destination_file'), + paramGet(\%oParamHash, 'source_compressed'), + paramGet(\%oParamHash, 'destination_compress'), + undef, undef, + paramGet(\%oParamHash, 'mode', false), + paramGet(\%oParamHash, 'destination_path_create'), + paramGet(\%oParamHash, 'user', false), + paramGet(\%oParamHash, 'group', false), + paramGet(\%oParamHash, 'append_checksum', false)); + } + # Copy a file to STDOUT + elsif ($strCommand eq OP_FILE_COPY_OUT) + { + ($bResult, $strChecksum, $iFileSize) = + $oFile->copy(PATH_ABSOLUTE, paramGet(\%oParamHash, 'source_file'), + PIPE_STDOUT, undef, + paramGet(\%oParamHash, 'source_compressed'), + paramGet(\%oParamHash, 'destination_compress')); + } - if (!defined($self->{hErr})) + $self->output_write(($bResult ? 'Y' : 'N') . " " . (defined($strChecksum) ? $strChecksum : '?') . " " . + (defined($iFileSize) ? $iFileSize : '?')); + } + # List files in a path + elsif ($strCommand eq OP_FILE_LIST) + { + my $strOutput; + + foreach my $strFile ($oFile->list(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path'), + paramGet(\%oParamHash, 'expression', false), + paramGet(\%oParamHash, 'sort_order'), + paramGet(\%oParamHash, 'ignore_missing'))) + { + if (defined($strOutput)) { - $strError = 'no error captured because stderr is already closed'; - } - else - { - $strError = $self->pipe_to_string($self->{hErr}); + $strOutput .= "\n"; } - $self->{pId} = undef; - $self->{hIn} = undef; - $self->{hOut} = undef; - $self->{hErr} = undef; - - confess &log(ERROR, "remote process terminated: ${strError}"); + $strOutput .= $strFile; } - return true; + $self->output_write($strOutput); } - - &log(TRACE, "waiting for pid"); - } - while (waitMore($oWait)); - } - - return false; -} - -#################################################################################################################################### -# BLOCK_READ -# -# Read a block from the protocol layer. -#################################################################################################################################### -sub block_read -{ - my $self = shift; - my $hIn = shift; - my $strBlockRef = shift; - my $bProtocol = shift; - - my $iBlockSize; - my $strMessage; - - if ($bProtocol) - { - # Read the block header and make sure it's valid - my $strBlockHeader = $self->read_line($hIn); - - if ($strBlockHeader !~ /^block -{0,1}[0-9]+( .*){0,1}$/) - { - $self->wait_pid(); - confess "unable to read block header ${strBlockHeader}"; - } - - # Get block size from the header - my @stryToken = split(/ /, $strBlockHeader); - $iBlockSize = $stryToken[1]; - $strMessage = $stryToken[2]; - - # If block size is 0 or an error code then undef the buffer - if ($iBlockSize <= 0) - { - undef($$strBlockRef); - } - # Else read the block - else - { - my $iBlockRead = 0; - my $iBlockIn = 0; - my $iOffset = defined($$strBlockRef) ? length($$strBlockRef) : 0; - - # !!! Would be nice to modify this with a non-blocking read - # http://docstore.mik.ua/orelly/perl/cookbook/ch07_15.htm - - # Read as many chunks as it takes to get the full block - while ($iBlockRead != $iBlockSize) + # Create a path + elsif ($strCommand eq OP_FILE_PATH_CREATE) { - $iBlockIn = sysread($hIn, $$strBlockRef, $iBlockSize - $iBlockRead, $iBlockRead + $iOffset); + $oFile->path_create(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path'), paramGet(\%oParamHash, 'mode', false)); + $self->output_write(); + } + # Check if a file/path exists + elsif ($strCommand eq OP_FILE_EXISTS) + { + $self->output_write($oFile->exists(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path')) ? 'Y' : 'N'); + } + # Wait + elsif ($strCommand eq OP_FILE_WAIT) + { + $self->output_write($oFile->wait(PATH_ABSOLUTE)); + } + # Generate a manifest + elsif ($strCommand eq OP_FILE_MANIFEST) + { + my %oManifestHash; - if (!defined($iBlockIn)) + $oFile->manifest(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path'), \%oManifestHash); + + my $strOutput = "name\ttype\tuser\tgroup\tmode\tmodification_time\tinode\tsize\tlink_destination"; + + foreach my $strName (sort(keys(%{$oManifestHash{name}}))) { - my $strError = $!; - - $self->wait_pid(); - confess "only read ${iBlockRead}/${iBlockSize} block bytes from remote" . - (defined($strError) ? ": ${strError}" : ''); + $strOutput .= "\n${strName}\t" . + $oManifestHash{name}{"${strName}"}{type} . "\t" . + (defined($oManifestHash{name}{"${strName}"}{user}) ? $oManifestHash{name}{"${strName}"}{user} : "") . "\t" . + (defined($oManifestHash{name}{"${strName}"}{group}) ? $oManifestHash{name}{"${strName}"}{group} : "") . "\t" . + (defined($oManifestHash{name}{"${strName}"}{mode}) ? $oManifestHash{name}{"${strName}"}{mode} : "") . "\t" . + (defined($oManifestHash{name}{"${strName}"}{modification_time}) ? + $oManifestHash{name}{"${strName}"}{modification_time} : "") . "\t" . + (defined($oManifestHash{name}{"${strName}"}{inode}) ? $oManifestHash{name}{"${strName}"}{inode} : "") . "\t" . + (defined($oManifestHash{name}{"${strName}"}{size}) ? $oManifestHash{name}{"${strName}"}{size} : "") . "\t" . + (defined($oManifestHash{name}{"${strName}"}{link_destination}) ? + $oManifestHash{name}{"${strName}"}{link_destination} : ""); } - $iBlockRead += $iBlockIn; + $self->output_write($strOutput); } - } - } - else - { - $iBlockSize = $self->stream_read($hIn, $strBlockRef, $self->{iBlockSize}, - defined($$strBlockRef) ? length($$strBlockRef) : 0); - } + # Archive push checks + elsif ($strCommand eq OP_ARCHIVE_PUSH_CHECK) + { + my ($strArchiveId, $strChecksum) = $oArchive->pushCheck($oFile, + paramGet(\%oParamHash, 'wal-segment'), + undef, + paramGet(\%oParamHash, 'db-version'), + paramGet(\%oParamHash, 'db-sys-id')); - # Return the block size - return $iBlockSize, $strMessage; -} + $self->output_write("${strArchiveId}\t" . (defined($strChecksum) ? $strChecksum : 'Y')); + } + elsif ($strCommand eq OP_ARCHIVE_GET_CHECK) + { + $self->output_write($oArchive->getCheck($oFile)); + } + # Info list stanza + elsif ($strCommand eq OP_INFO_LIST_STANZA) + { + $self->output_write( + $oJSON->encode( + $oInfo->listStanza($oFile, + paramGet(\%oParamHash, 'stanza', false)))); + } + elsif ($strCommand eq OP_DB_INFO) + { + my ($strDbVersion, $iControlVersion, $iCatalogVersion, $ullDbSysId) = + $oDb->info($oFile, paramGet(\%oParamHash, 'db-path')); -#################################################################################################################################### -# BLOCK_WRITE -# -# Write a block to the protocol layer. -#################################################################################################################################### -sub block_write -{ - my $self = shift; - my $hOut = shift; - my $tBlockRef = shift; - my $iBlockSize = shift; - my $bProtocol = shift; - my $strMessage = shift; + $self->output_write("${strDbVersion}\t${iControlVersion}\t${iCatalogVersion}\t${ullDbSysId}"); + } + elsif ($strCommand eq OP_DB_EXECUTE_SQL) + { + $self->output_write($oDb->executeSql(paramGet(\%oParamHash, 'script'))); + } + # Continue if noop or exit + elsif ($strCommand ne OP_NOOP && $strCommand ne OP_EXIT) + { + confess "invalid command: ${strCommand}"; + } + }; - # If block size is not defined, get it from buffer length - $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); - - # Write block header to the protocol stream - if ($bProtocol) - { - $self->write_line($hOut, "block ${iBlockSize}" . (defined($strMessage) ? " ${strMessage}" : '')); - } - - # Write block if size > 0 - if ($iBlockSize > 0) - { - $self->stream_write($hOut, $tBlockRef, $iBlockSize); - } -} - -#################################################################################################################################### -# STREAM_READ -# -# Read data from a stream. -#################################################################################################################################### -sub stream_read -{ - my $self = shift; - my $hIn = shift; - my $tBlockRef = shift; - my $iBlockSize = shift; - my $bOffset = shift; - - # Read a block from the stream - my $iBlockIn = sysread($hIn, $$tBlockRef, $iBlockSize, $bOffset ? length($$tBlockRef) : false); - - if (!defined($iBlockIn)) - { - $self->wait_pid(); - confess &log(ERROR, 'unable to read'); - } - - return $iBlockIn; -} - -#################################################################################################################################### -# STREAM_WRITE -# -# Write data to a stream. -#################################################################################################################################### -sub stream_write -{ - my $self = shift; - my $hOut = shift; - my $tBlockRef = shift; - my $iBlockSize = shift; - - # If block size is not defined, get it from buffer length - $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); - - # Write the block - my $iBlockOut = syswrite($hOut, $$tBlockRef, $iBlockSize); - - # Report any errors - if (!defined($iBlockOut) || $iBlockOut != $iBlockSize) - { - my $strError = $!; - - $self->wait_pid(); - confess "unable to write ${iBlockSize} bytes" . (defined($strError) ? ': ' . $strError : ''); - } -} - -#################################################################################################################################### -# BINARY_XFER -# -# Copies data from one file handle to another, optionally compressing or decompressing the data in stream. If $strRemote != none -# then one side is a protocol stream, though this can be controlled with the bProtocol param. -#################################################################################################################################### -sub binary_xfer -{ - my $self = shift; - my $hIn = shift; - my $hOut = shift; - my $strRemote = shift; - my $bSourceCompressed = shift; - my $bDestinationCompress = shift; - my $bProtocol = shift; - - # The input stream must be defined (output is optional) - if (!defined($hIn)) - { - confess &log(ASSERT, 'hIn is not defined'); - } - - # If no remote is defined then set to none - if (!defined($strRemote)) - { - $strRemote = 'none'; - } - # Only set compression defaults when remote is defined - else - { - $bSourceCompressed = defined($bSourceCompressed) ? $bSourceCompressed : false; - $bDestinationCompress = defined($bDestinationCompress) ? $bDestinationCompress : false; - } - - # Default protocol to true - $bProtocol = defined($bProtocol) ? $bProtocol : true; - my $strMessage = undef; - - # Checksum and size - my $strChecksum = undef; - my $iFileSize = undef; - - # Read from the protocol stream - if ($strRemote eq 'in') - { - # If the destination should not be compressed then decompress - if (!$bDestinationCompress) + # Process errors + if ($@) { - my $iBlockSize; - my $tCompressedBuffer; - my $tUncompressedBuffer; - my $iUncompressedBufferSize; - - # Initialize SHA - my $oSHA; - - if (!$bProtocol) - { - $oSHA = Digest::SHA->new('sha1'); - } - - # Initialize inflate object and check for errors - my ($oZLib, $iZLibStatus) = - new Compress::Raw::Zlib::Inflate(WindowBits => 15 & $bSourceCompressed ? WANT_GZIP : 0, - Bufsize => $self->{iBlockSize}, LimitOutput => 1); - - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); - } - - # Read all input - do - { - # Read a block from the input stream - ($iBlockSize, $strMessage) = $self->block_read($hIn, \$tCompressedBuffer, $bProtocol); - - # Process protocol messages - if (defined($strMessage) && $strMessage eq 'nochecksum') - { - $oSHA = Digest::SHA->new('sha1'); - undef($strMessage); - } - - # If the block contains data, decompress it - if ($iBlockSize > 0) - { - # Keep looping while there is more to decompress - do - { - # Decompress data - $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); - $iUncompressedBufferSize = length($tUncompressedBuffer); - - # If status is ok, write the data - if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) - { - if ($iUncompressedBufferSize > 0) - { - # Add data to checksum - if (defined($oSHA)) - { - $oSHA->add($tUncompressedBuffer); - } - - # Write data if hOut is defined - if (defined($hOut)) - { - $self->stream_write($hOut, \$tUncompressedBuffer, $iUncompressedBufferSize); - } - } - } - # Else error, exit so it can be handled - else - { - $iBlockSize = 0; - last; - } - } - while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); - } - } - while ($iBlockSize > 0); - - # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) - if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) - { - confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); - } - - # Get checksum and total uncompressed bytes written - if (defined($oSHA)) - { - $strChecksum = $oSHA->hexdigest(); - $iFileSize = $oZLib->total_out(); - }; - } - # If the destination should be compressed then just write out the already compressed stream - else - { - my $iBlockSize; - my $tBuffer; - - # Initialize checksum and size - my $oSHA; - - if (!$bProtocol) - { - $oSHA = Digest::SHA->new('sha1'); - $iFileSize = 0; - } - - do - { - # Read a block from the protocol stream - ($iBlockSize, $strMessage) = $self->block_read($hIn, \$tBuffer, $bProtocol); - - # If the block contains data, write it - if ($iBlockSize > 0) - { - # Add data to checksum and size - if (!$bProtocol) - { - $oSHA->add($tBuffer); - $iFileSize += $iBlockSize; - } - - $self->stream_write($hOut, \$tBuffer, $iBlockSize); - undef($tBuffer); - } - } - while ($iBlockSize > 0); - - # Get checksum - if (!$bProtocol) - { - $strChecksum = $oSHA->hexdigest(); - }; + $self->error_write($@); } } - # Read from file input stream - else - { - # If source is not already compressed then compress it - if ($strRemote eq 'out' && !$bSourceCompressed) - { - my $iBlockSize; - my $tCompressedBuffer; - my $iCompressedBufferSize; - my $tUncompressedBuffer; - - # Initialize message to indicate that a checksum will be sent - if ($bProtocol && defined($hOut)) - { - $strMessage = 'checksum'; - } - - # Initialize checksum - my $oSHA = Digest::SHA->new('sha1'); - - # Initialize inflate object and check for errors - my ($oZLib, $iZLibStatus) = - new Compress::Raw::Zlib::Deflate(WindowBits => 15 & $bDestinationCompress ? WANT_GZIP : 0, - Level => $bDestinationCompress ? $self->{iCompressLevel} : - $self->{iCompressLevelNetwork}, - Bufsize => $self->{iBlockSize}, AppendOutput => 1); - - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable create a deflate object: ${iZLibStatus}"); - } - - do - { - # Read a block from the stream - $iBlockSize = $self->stream_read($hIn, \$tUncompressedBuffer, $self->{iBlockSize}); - - # If block size > 0 then compress - if ($iBlockSize > 0) - { - # Update checksum and filesize - $oSHA->add($tUncompressedBuffer); - - # Compress the data - $iZLibStatus = $oZLib->deflate($tUncompressedBuffer, $tCompressedBuffer); - $iCompressedBufferSize = length($tCompressedBuffer); - - # If compression was successful - if ($iZLibStatus == Z_OK) - { - # The compressed data is larger than block size, then write - if ($iCompressedBufferSize > $self->{iBlockSize}) - { - $self->block_write($hOut, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); - undef($tCompressedBuffer); - undef($strMessage); - } - } - # Else if error - else - { - $iBlockSize = 0; - } - } - } - while ($iBlockSize > 0); - - # If good so far flush out the last bytes - if ($iZLibStatus == Z_OK) - { - $iZLibStatus = $oZLib->flush($tCompressedBuffer); - } - - # Make sure the compression succeeded - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable to deflate stream: ${iZLibStatus}"); - } - - # Get checksum and total uncompressed bytes written - $strChecksum = $oSHA->hexdigest(); - $iFileSize = $oZLib->total_in(); - - # Write out the last block - if (defined($hOut)) - { - $iCompressedBufferSize = length($tCompressedBuffer); - - if ($iCompressedBufferSize > 0) - { - $self->block_write($hOut, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); - undef($strMessage); - } - - $self->block_write($hOut, undef, 0, $bProtocol, "${strChecksum}-${iFileSize}"); - } - } - # If source is already compressed or transfer is not compressed then just read the stream - else - { - my $iBlockSize; - my $tBuffer; - my $tCompressedBuffer; - my $tUncompressedBuffer; - my $iUncompressedBufferSize; - my $oSHA; - my $oZLib; - my $iZLibStatus; - - # If the destination will be compressed setup deflate - if ($bDestinationCompress) - { - if ($bProtocol) - { - $strMessage = 'checksum'; - } - - # Initialize checksum and size - $oSHA = Digest::SHA->new('sha1'); - $iFileSize = 0; - - # Initialize inflate object and check for errors - ($oZLib, $iZLibStatus) = - new Compress::Raw::Zlib::Inflate(WindowBits => WANT_GZIP, Bufsize => $self->{iBlockSize}, LimitOutput => 1); - - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); - } - } - # Initialize message to indicate that a checksum will not be sent - elsif ($bProtocol) - { - $strMessage = 'nochecksum'; - } - - # Read input - do - { - $iBlockSize = $self->stream_read($hIn, \$tBuffer, $self->{iBlockSize}); - - # Write a block if size > 0 - if ($iBlockSize > 0) - { - $self->block_write($hOut, \$tBuffer, $iBlockSize, $bProtocol, $strMessage); - undef($strMessage); - } - - # Decompress the buffer to calculate checksum/size - if ($bDestinationCompress) - { - # If the block contains data, decompress it - if ($iBlockSize > 0) - { - # Copy file buffer to compressed buffer - if (defined($tCompressedBuffer)) - { - $tCompressedBuffer .= $tBuffer; - } - else - { - $tCompressedBuffer = $tBuffer; - } - - # Keep looping while there is more to decompress - do - { - # Decompress data - $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); - $iUncompressedBufferSize = length($tUncompressedBuffer); - - # If status is ok, write the data - if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) - { - if ($iUncompressedBufferSize > 0) - { - $oSHA->add($tUncompressedBuffer); - $iFileSize += $iUncompressedBufferSize; - } - } - # Else error, exit so it can be handled - else - { - $iBlockSize = 0; - } - } - while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); - } - } - } - while ($iBlockSize > 0); - - # Check decompression get checksum - if ($bDestinationCompress) - { - # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) - if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) - { - confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); - } - - # Get checksum - $strChecksum = $oSHA->hexdigest(); - - # Set protocol message - if ($bProtocol) - { - $strMessage = "${strChecksum}-${iFileSize}"; - } - } - - # If protocol write - if ($bProtocol) - { - # Write 0 block to indicate end of stream - $self->block_write($hOut, undef, 0, $bProtocol, $strMessage); - } - } - } - - # If message is defined the the checksum and size should be in it - if (defined($strMessage)) - { - my @stryToken = split(/-/, $strMessage); - $strChecksum = $stryToken[0]; - $iFileSize = $stryToken[1]; - } - - # Return the checksum and size if they are available - return $strChecksum, $iFileSize; -} - -#################################################################################################################################### -# OUTPUT_READ -# -# Read output from the remote process. -#################################################################################################################################### -sub output_read -{ - my $self = shift; - my $bOutputRequired = shift; - my $strErrorPrefix = shift; - my $bSuppressLog = shift; - - my $strLine; - my $strOutput; - my $bError = false; - my $iErrorCode; - my $strError; - - # Read output lines - while ($strLine = $self->read_line($self->{hOut}, false)) - { - if ($strLine =~ /^ERROR.*/) - { - $bError = true; - - $iErrorCode = (split(' ', $strLine))[1]; - - last; - } - - if ($strLine =~ /^OK$/) - { - last; - } - - $strOutput .= (defined($strOutput) ? "\n" : '') . substr($strLine, 1); - } - - # Check if the process has exited abnormally - $self->wait_pid(); - - # Raise any errors - if ($bError) - { - confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . - (defined($strOutput) ? "${strOutput}" : ''), $iErrorCode, $bSuppressLog); - } - - # If output is required and there is no output, raise exception - if (defined($bOutputRequired) && $bOutputRequired && !defined($strOutput)) - { - confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . 'output is not defined'); - } - - # Return output - return $strOutput; -} - -#################################################################################################################################### -# OUTPUT_WRITE -# -# Write output for the master process. -#################################################################################################################################### -sub output_write -{ - my $self = shift; - my $strOutput = shift; - - if (defined($strOutput)) - { - $self->string_write(*STDOUT, "${strOutput}"); - - if (!syswrite(*STDOUT, "\n")) - { - confess 'unable to write output'; - } - } - - if (!syswrite(*STDOUT, "OK\n")) - { - confess 'unable to write output'; - } -} - -#################################################################################################################################### -# COMMAND_PARAM_STRING -# -# Output command parameters in the hash as a string (used for debugging). -#################################################################################################################################### -sub command_param_string -{ - my $self = shift; - my $oParamHashRef = shift; - - my $strParamList = ''; - - if (defined($oParamHashRef)) - { - foreach my $strParam (sort(keys $oParamHashRef)) - { - $strParamList .= (defined($strParamList) ? ',' : '') . "${strParam}=" . - (defined(${$oParamHashRef}{"${strParam}"}) ? ${$oParamHashRef}{"${strParam}"} : '[undef]'); - } - } - - return $strParamList; -} - -#################################################################################################################################### -# COMMAND_READ -# -# Read command sent by the master process. -#################################################################################################################################### -sub command_read -{ - my $self = shift; - my $oParamHashRef = shift; - - my $strLine; - my $strCommand; - - while ($strLine = $self->read_line(*STDIN)) - { - if (!defined($strCommand)) - { - if ($strLine =~ /:$/) - { - $strCommand = substr($strLine, 0, length($strLine) - 1); - } - else - { - $strCommand = $strLine; - last; - } - } - else - { - if ($strLine eq 'end') - { - last; - } - - my $iPos = index($strLine, '='); - - if ($iPos == -1) - { - confess "param \"${strLine}\" is missing = character"; - } - - my $strParam = substr($strLine, 0, $iPos); - my $strValue = substr($strLine, $iPos + 1); - - ${$oParamHashRef}{"${strParam}"} = ${strValue}; - } - } - - return $strCommand; -} - -#################################################################################################################################### -# COMMAND_WRITE -# -# Send command to remote process. -#################################################################################################################################### -sub command_write -{ - my $self = shift; - my $strCommand = shift; - my $oParamRef = shift; - - my $strOutput = $strCommand; - - if (defined($oParamRef)) - { - $strOutput = "${strCommand}:\n"; - - foreach my $strParam (sort(keys $oParamRef)) - { - if ($strParam =~ /=/) - { - confess &log(ASSERT, "param \"${strParam}\" cannot contain = character"); - } - - my $strValue = ${$oParamRef}{"${strParam}"}; - - if ($strParam =~ /\n\$/) - { - confess &log(ASSERT, "param \"${strParam}\" value cannot end with LF"); - } - - if (defined(${strValue})) - { - $strOutput .= "${strParam}=${strValue}\n"; - } - } - - $strOutput .= 'end'; - } - - &log(TRACE, "Remote->command_write:\n" . $strOutput); - - if (!syswrite($self->{hIn}, "${strOutput}\n")) - { - confess 'unable to write command'; - } -} - -#################################################################################################################################### -# COMMAND_EXECUTE -# -# Send command to remote process and wait for output. -#################################################################################################################################### -sub command_execute -{ - my $self = shift; - my $strCommand = shift; - my $oParamRef = shift; - my $bOutputRequired = shift; - my $strErrorPrefix = shift; - - $self->command_write($strCommand, $oParamRef); - - return $self->output_read($bOutputRequired, $strErrorPrefix); } 1; diff --git a/lib/BackRest/Restore.pm b/lib/BackRest/Restore.pm index e9c225276..292d56d52 100644 --- a/lib/BackRest/Restore.pm +++ b/lib/BackRest/Restore.pm @@ -157,7 +157,7 @@ sub manifest_ownership_check # Output warning for any invalid owners if (defined($oOwnerHash{$strOwnerType})) { - foreach my $strOwner (sort (keys $oOwnerHash{$strOwnerType})) + foreach my $strOwner (sort (keys(%{$oOwnerHash{$strOwnerType}}))) { if (!$oOwnerHash{$strOwnerType}{$strOwner}) { @@ -241,7 +241,7 @@ sub manifest_load # If tablespaces have been remapped, update the manifest elsif (defined($self->{oRemapRef})) { - foreach my $strTablespaceKey (sort(keys $self->{oRemapRef})) + foreach my $strTablespaceKey (sort(keys(%{$self->{oRemapRef}}))) { my $strRemapPath = ${$self->{oRemapRef}}{$strTablespaceKey}; my $strPathKey = "tablespace/${strTablespaceKey}"; @@ -301,7 +301,7 @@ sub clean my %oPathManifest; $self->{oFile}->manifest(PATH_DB_ABSOLUTE, $strPath, \%oPathManifest); - foreach my $strName (sort {$b cmp $a} (keys $oPathManifest{name})) + foreach my $strName (sort {$b cmp $a} (keys(%{$oPathManifest{name}}))) { # Skip the root path if ($strName eq '.') @@ -519,7 +519,7 @@ sub recovery if (defined($self->{oRecoveryRef})) { - foreach my $strKey (sort(keys $self->{oRecoveryRef})) + foreach my $strKey (sort(keys(%{$self->{oRecoveryRef}}))) { my $strPgKey = $strKey; $strPgKey =~ s/\-/\_/g; @@ -536,7 +536,7 @@ sub recovery # Write the restore command if (!$bRestoreCommandOverride) { - $strRecovery .= "restore_command = '" . operationWrite(OP_ARCHIVE_GET) . " %f \"%p\"'\n"; + $strRecovery .= "restore_command = '" . commandWrite(CMD_ARCHIVE_GET) . " %f \"%p\"'\n"; } # If RECOVERY_TYPE_DEFAULT do not write target options @@ -671,7 +671,7 @@ sub restore { push(@oyRestoreQueue, Thread::Queue->new()); - foreach my $strFileKey (sort {$b cmp $a} (keys $oRestoreHash{$strPathKey})) + foreach my $strFileKey (sort {$b cmp $a} (keys(%{$oRestoreHash{$strPathKey}}))) { $oyRestoreQueue[@oyRestoreQueue - 1]->enqueue($oRestoreHash{$strPathKey}{$strFileKey}); } @@ -706,7 +706,7 @@ sub restore # Restore file in main process foreach my $strPathKey (sort (keys %oRestoreHash)) { - foreach my $strFileKey (sort {$b cmp $a} (keys $oRestoreHash{$strPathKey})) + foreach my $strFileKey (sort {$b cmp $a} (keys(%{$oRestoreHash{$strPathKey}}))) { $lSizeCurrent = restoreFile($oRestoreHash{$strPathKey}{$strFileKey}, $lCopyTimeBegin, $self->{bDelta}, $self->{bForce}, $self->{strBackupPath}, $bSourceCompression, $strCurrentUser, diff --git a/lib/BackRest/ThreadGroup.pm b/lib/BackRest/ThreadGroup.pm index 9c2d5eac9..eaaef0be1 100644 --- a/lib/BackRest/ThreadGroup.pm +++ b/lib/BackRest/ThreadGroup.pm @@ -83,7 +83,7 @@ sub threadGroupThread optionGet(OPTION_STANZA), optionRemoteTypeTest(BACKUP) ? optionGet(OPTION_REPO_REMOTE_PATH) : optionGet(OPTION_REPO_PATH), optionRemoteType(), - optionRemote(undef, false), + protocolGet(undef, false), undef, undef, $iThreadIdx + 1 ); diff --git a/lib/BackRest/Utility.pm b/lib/BackRest/Utility.pm index 11d5e3982..84758173f 100644 --- a/lib/BackRest/Utility.pm +++ b/lib/BackRest/Utility.pm @@ -26,7 +26,7 @@ our @EXPORT = qw(version_get hsleep wait_remainder timestamp_string_get timestamp_file_string_get TRACE DEBUG ERROR ASSERT WARN INFO OFF true false - TEST TEST_ENCLOSE TEST_MANIFEST_BUILD TEST_BACKUP_RESUME TEST_BACKUP_NORESUME FORMAT); + TEST TEST_ENCLOSE TEST_MANIFEST_BUILD TEST_BACKUP_RESUME TEST_BACKUP_NORESUME); # Global constants use constant @@ -62,13 +62,6 @@ $oLogLevelRank{ERROR}{rank} = 2; $oLogLevelRank{ASSERT}{rank} = 1; $oLogLevelRank{OFF}{rank} = 0; -#################################################################################################################################### -# FORMAT Constant -# -# Identified the format of the manifest and file structure. The format is used to determine compatability between versions. -#################################################################################################################################### -use constant FORMAT => 4; - #################################################################################################################################### # TEST Constants and Variables #################################################################################################################################### @@ -86,44 +79,6 @@ use constant my $bTest = false; my $fTestDelay; -#################################################################################################################################### -# VERSION_GET -#################################################################################################################################### -my $strVersion; - -sub version_get -{ - my $hVersion; - - # If version is already stored then return it (should never change during execution) - if (defined($strVersion)) - { - return $strVersion; - } - - # Construct the version file name - my $strVersionFile = abs_path(dirname($0) . '/../VERSION'); - - # Open the file - if (!open($hVersion, '<', $strVersionFile)) - { - confess &log(ASSERT, "unable to open VERSION file: ${strVersionFile}"); - } - - # Read version and trim - if (!($strVersion = readline($hVersion))) - { - confess &log(ASSERT, "unable to read VERSION file: ${strVersionFile}"); - } - - $strVersion = trim($strVersion); - - # Close file - close($hVersion); - - return $strVersion; -} - #################################################################################################################################### # WAIT_REMAINDER - Wait the remainder of the current second #################################################################################################################################### @@ -417,6 +372,74 @@ sub test_check return index($strLog, TEST_ENCLOSE . '-' . $strTest . '-' . TEST_ENCLOSE) != -1; } +#################################################################################################################################### +# logDebug +#################################################################################################################################### +use constant DEBUG_CALL => '()'; + push @EXPORT, qw(DEBUG_CALL); +use constant DEBUG_RESULT => '=>'; + push @EXPORT, qw(DEBUG_RESULT); +use constant DEBUG_MISC => ''; + push @EXPORT, qw(DEBUG_MISC); + +sub logDebug +{ + my $strFunction = shift; + my $strType = shift; + my $strMessage = shift; + my $oParamHash = shift; + my $strLevel = shift; + + $strLevel = defined($strLevel) ? $strLevel : DEBUG; + + if ($oLogLevelRank{$strLevel}{rank} <= $oLogLevelRank{$strLogLevelConsole}{rank} || + $oLogLevelRank{$strLevel}{rank} <= $oLogLevelRank{$strLogLevelFile}{rank}) + { + if (defined($oParamHash)) + { + my $strParamSet; + + foreach my $strParam (sort(keys(%$oParamHash))) + { + if (defined($strParamSet)) + { + $strParamSet .= ', '; + } + + $strParamSet .= "${strParam} = " . + (defined($$oParamHash{$strParam}) ? + ($strParam =~ /^is/ ? ($$oParamHash{$strParam} ? 'true' : 'false'): + $$oParamHash{$strParam}) : '[undef]'); + } + + if (defined($strMessage)) + { + $strMessage = "${strMessage}: ${strParamSet}"; + } + else + { + $strMessage = $strParamSet; + } + } + + &log($strLevel, "${strFunction}${strType}" . (defined($strMessage) ? ": $strMessage" : '')); + } +} + +push @EXPORT, qw(logDebug); + +sub logTrace +{ + my $strFunction = shift; + my $strType = shift; + my $strMessage = shift; + my $oParamHash = shift; + + logDebug($strFunction, $strType, $strMessage, $oParamHash, TRACE); +} + +push @EXPORT, qw(logTrace); + #################################################################################################################################### # LOG - log messages #################################################################################################################################### diff --git a/lib/BackRest/Version.pm b/lib/BackRest/Version.pm new file mode 100644 index 000000000..21196d780 --- /dev/null +++ b/lib/BackRest/Version.pm @@ -0,0 +1,32 @@ +#################################################################################################################################### +# VERSION MODULE +# +# Contains BackRest version and format numbers. +#################################################################################################################################### +package BackRest::Version; + +use strict; +use warnings FATAL => qw(all); + +use Exporter qw(import); + +# BackRest Version Number +# +# Defines the current version of the BackRest executable. The version number is used to track features but does not affect what +# repositories or manifests can be read - that's the job of the format number. +#----------------------------------------------------------------------------------------------------------------------------------- +our # 'our' keyword is on a separate line to make the ExtUtils::MakeMaker parser happy. +$VERSION = '0.77'; + +our @EXPORT = qw($VERSION); + +# Format Format Number +# +# Defines format for info and manifest files as well as on-disk structure. If this number changes then the repository will be +# invalid unless migration functions are written. +#----------------------------------------------------------------------------------------------------------------------------------- +our $FORMAT = 4; + +push @EXPORT, qw($FORMAT); + +1; diff --git a/test/lib/BackRestTest/BackupTest.pm b/test/lib/BackRestTest/BackupTest.pm index 6edbb7e17..00ebb4199 100755 --- a/test/lib/BackRestTest/BackupTest.pm +++ b/test/lib/BackRestTest/BackupTest.pm @@ -27,6 +27,7 @@ use BackRest::Exception; use BackRest::File; use BackRest::Ini; use BackRest::Manifest; +use BackRest::Protocol; use BackRest::Remote; use BackRest::Utility; @@ -53,7 +54,7 @@ sub BackRestTestBackup_PgConnect BackRestTestBackup_PgDisconnect(); # Default - $iWaitSeconds = defined($iWaitSeconds) ? $iWaitSeconds : 30; + $iWaitSeconds = defined($iWaitSeconds) ? $iWaitSeconds : 20; # Record the start time my $lTime = time(); @@ -61,19 +62,13 @@ sub BackRestTestBackup_PgConnect do { # Connect to the db (whether it is local or remote) - eval - { - $hDb = DBI->connect('dbi:Pg:dbname=postgres;port=' . BackRestTestCommon_DbPortGet . - ';host=' . BackRestTestCommon_DbPathGet(), - BackRestTestCommon_UserGet(), - undef, - {AutoCommit => 0, RaiseError => 1}); - }; + $hDb = DBI->connect('dbi:Pg:dbname=postgres;port=' . BackRestTestCommon_DbPortGet . + ';host=' . BackRestTestCommon_DbPathGet(), + BackRestTestCommon_UserGet(), + undef, + {AutoCommit => 0, RaiseError => 0, PrintError => 0}); - if (!$@) - { - return; - } + return if $hDb; # If waiting then sleep before trying again if (defined($iWaitSeconds)) @@ -83,7 +78,8 @@ sub BackRestTestBackup_PgConnect } while ($lTime > time() - $iWaitSeconds); - confess &log(ERROR, "unable to connect to Postgres after ${iWaitSeconds} second(s)"); + confess &log(ERROR, "unable to connect to PostgreSQL after ${iWaitSeconds} second(s):\n" . + $DBI::errstr, ERROR_DB_CONNECT); } #################################################################################################################################### @@ -760,7 +756,7 @@ sub BackRestTestBackup_ManifestReference } # Find all file sections - foreach my $strSectionFile (sort(keys $oManifestRef)) + foreach my $strSectionFile (sort(keys(%$oManifestRef))) { # Skip non-file sections if ($strSectionFile !~ /\:file$/) @@ -768,7 +764,7 @@ sub BackRestTestBackup_ManifestReference next; } - foreach my $strFile (sort(keys ${$oManifestRef}{$strSectionFile})) + foreach my $strFile (sort(keys(%{${$oManifestRef}{$strSectionFile}}))) { if (!defined($strReference)) { @@ -1071,7 +1067,7 @@ sub BackRestTestBackup_BackupCompare $oActualManifest{&MANIFEST_SECTION_BACKUP}{&MANIFEST_KEY_TIMESTAMP_COPY_START}; ${$oExpectedManifestRef}{&INI_SECTION_BACKREST}{&INI_KEY_CHECKSUM} = $oActualManifest{&INI_SECTION_BACKREST}{&INI_KEY_CHECKSUM}; - ${$oExpectedManifestRef}{&INI_SECTION_BACKREST}{&INI_KEY_FORMAT} = FORMAT + 0; + ${$oExpectedManifestRef}{&INI_SECTION_BACKREST}{&INI_KEY_FORMAT} = BACKREST_FORMAT + 0; my $strTestPath = BackRestTestCommon_TestPathGet(); @@ -1310,7 +1306,7 @@ sub BackRestTestBackup_RestoreCompare if (!$bSynthetic) { - foreach my $strTablespaceName (keys(${$oExpectedManifestRef}{&MANIFEST_SECTION_BACKUP_PATH})) + foreach my $strTablespaceName (keys(%{${$oExpectedManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}})) { if (defined(${$oExpectedManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strTablespaceName}{&MANIFEST_SUBKEY_LINK})) { @@ -1511,25 +1507,21 @@ sub BackRestTestBackup_Test #------------------------------------------------------------------------------------------------------------------------------- # Create remotes #------------------------------------------------------------------------------------------------------------------------------- - my $oRemote = BackRest::Remote->new + my $oRemote = new BackRest::Remote ( - $strHost, # Host - $strUserBackRest, # User - BackRestTestCommon_CommandRemoteGet(), # Command - $strStanza, # Stanza - '', # Repo Path - OPTION_DEFAULT_BUFFER_SIZE, # Buffer size - OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level - OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level + $strHost, # Host + $strUserBackRest, # User + BackRestTestCommon_CommandRemoteFullGet(), # Command + OPTION_DEFAULT_BUFFER_SIZE, # Buffer size + OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level + OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level ); - my $oLocal = new BackRest::Remote + my $oLocal = new BackRest::Protocol ( - undef, # Host - undef, # User + undef, # Name + false, # Is backend? undef, # Command - undef, # Stanza - undef, # Repo Path OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level @@ -1915,6 +1907,9 @@ sub BackRestTestBackup_Test '/pg_backrest.conf --stanza=db archive-get'; + BackRestTestCommon_Execute($strCommand . " 000000010000000100000001 ${strXlogPath}/000000010000000100000001", + undef, undef, undef, ERROR_FILE_MISSING); + # Create the archive info file if ($bRemote) { @@ -2158,7 +2153,7 @@ sub BackRestTestBackup_Test # Build the manifest my %oManifest; - $oManifest{&INI_SECTION_BACKREST}{&INI_KEY_VERSION} = version_get(); + $oManifest{&INI_SECTION_BACKREST}{&INI_KEY_VERSION} = BACKREST_VERSION; $oManifest{&MANIFEST_SECTION_BACKUP_OPTION}{&MANIFEST_KEY_ARCHIVE_CHECK} = JSON::PP::true; $oManifest{&MANIFEST_SECTION_BACKUP_OPTION}{&MANIFEST_KEY_ARCHIVE_COPY} = JSON::PP::true; $oManifest{&MANIFEST_SECTION_BACKUP_OPTION}{&MANIFEST_KEY_COMPRESS} = $bCompress ? JSON::PP::true : JSON::PP::false; @@ -2418,7 +2413,8 @@ sub BackRestTestBackup_Test undef, undef, undef, undef, undef, undef, 'fail on mismatch format', ERROR_FORMAT); - BackRestTestBackup_ManifestMunge($oFile, $bRemote, $strBackup, INI_SECTION_BACKREST, INI_KEY_FORMAT, undef, FORMAT); + BackRestTestBackup_ManifestMunge($oFile, $bRemote, $strBackup, INI_SECTION_BACKREST, INI_KEY_FORMAT, undef, + BACKREST_FORMAT); # Remap the base path my %oRemapHash; diff --git a/test/lib/BackRestTest/CommonTest.pm b/test/lib/BackRestTest/CommonTest.pm index 048560028..9c92f7677 100755 --- a/test/lib/BackRestTest/CommonTest.pm +++ b/test/lib/BackRestTest/CommonTest.pm @@ -26,7 +26,7 @@ use BackRest::Db; use BackRest::File; use BackRest::Ini; use BackRest::Manifest; -use BackRest::Remote; +use BackRest::Protocol; use BackRest::Utility; our @EXPORT = qw(BackRestTestCommon_Create BackRestTestCommon_Drop BackRestTestCommon_Setup BackRestTestCommon_ExecuteBegin @@ -43,12 +43,13 @@ our @EXPORT = qw(BackRestTestCommon_Create BackRestTestCommon_Drop BackRestTestC BackRestTestCommon_DbPortGet BackRestTestCommon_iniLoad BackRestTestCommon_iniSave BackRestTestCommon_DbVersion BackRestTestCommon_CommandPsqlGet BackRestTestCommon_DropRepo BackRestTestCommon_CreateRepo BackRestTestCommon_manifestLoad BackRestTestCommon_manifestSave BackRestTestCommon_CommandMainAbsGet - BackRestTestCommon_TestLogAppendFile); + BackRestTestCommon_TestLogAppendFile BackRestTestCommon_CommandRemoteFullGet); my $strPgSqlBin; my $strCommonStanza; my $strCommonCommandMain; my $strCommonCommandRemote; +my $strCommonCommandRemoteFull; my $strCommonCommandPsql; my $strCommonHost; my $strCommonUser; @@ -444,16 +445,12 @@ sub BackRestTestCommon_ExecuteRegAll $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'USER', 'user = [^ \n,\[\]]+', '[^ \n,\[\]]+$'); $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'USER', 'user"[ ]{0,1}:[ ]{0,1}"[^"]+', '[^"]+$'); - $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'VERSION', 'version[ ]{0,1}=[ ]{0,1}\"' . version_get(), version_get . '$'); - $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'VERSION', '"version"[ ]{0,1}:[ ]{0,1}\"' . version_get(), version_get . '$'); - - $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'FORMAT', 'format=' . FORMAT, FORMAT . '$'); - $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'FORMAT', '"format"[ ]{0,1}:[ ]{0,1}' . FORMAT, FORMAT . '$'); - $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'PORT', '--port=[0-9]+', '[0-9]+$'); my $strTimestampRegExp = "[0-9]{4}-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]"; + $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'VERSION', + "version[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}" . BACKREST_VERSION, BACKREST_VERSION . '$'); $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'TIMESTAMP', "timestamp-[a-z-]+[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}[0-9]+", '[0-9]+$', false); $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'TIMESTAMP', @@ -525,10 +522,11 @@ sub BackRestTestCommon_ExecuteEnd { $strLine =~ s/^[0-9]{4}-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]\.[0-9]{3} T[0-9]{2} //; - if ($strLine !~ /^ TEST/ && $strLine !~ /\r$/) + if ($strLine !~ /^ TEST/) { $strLine =~ s/^ //; $strLine =~ s/^ //; + $strLine =~ s/\r$//; $strLine = BackRestTestCommon_ExecuteRegAll($strLine); $strFullLog .= $strLine; @@ -773,7 +771,9 @@ sub BackRestTestCommon_Setup $strCommonDbTablespacePath = "${strCommonTestPath}/db/tablespace"; $strCommonCommandMain = "../bin/pg_backrest"; - $strCommonCommandRemote = "${strCommonBasePath}/bin/pg_backrest_remote"; + $strCommonCommandRemote = "${strCommonBasePath}/bin/pg_backrest"; + $strCommonCommandRemoteFull = "${strCommonCommandRemote} --stanza=${strCommonStanza}" . + " --repo-remote-path=${strCommonRepoPath} --no-config remote"; $strCommonCommandPsql = "${strPgSqlBin}/psql -X %option% -h ${strCommonDbPath}"; $iCommonDbPort = 6543; @@ -808,7 +808,7 @@ sub BackRestTestCommon_Setup &log(WARN, "unit tests do not currently work with version 9.5"); return false; } - + return true; } @@ -960,7 +960,7 @@ sub BackRestTestCommon_ConfigRemap # Rewrite remap section delete($oConfig{"${strStanza}:restore:tablespace-map"}); - foreach my $strRemap (sort(keys $oRemapHashRef)) + foreach my $strRemap (sort(keys(%$oRemapHashRef))) { my $strRemapPath = ${$oRemapHashRef}{$strRemap}; @@ -1023,7 +1023,7 @@ sub BackRestTestCommon_ConfigRecovery # Rewrite remap section delete($oConfig{"${strStanza}:restore:recovery-setting"}); - foreach my $strOption (sort(keys $oRecoveryHashRef)) + foreach my $strOption (sort(keys(%$oRecoveryHashRef))) { $oConfig{"${strStanza}:restore:recovery-setting"}{$strOption} = ${$oRecoveryHashRef}{$strOption}; } @@ -1196,6 +1196,11 @@ sub BackRestTestCommon_CommandRemoteGet return $strCommonCommandRemote; } +sub BackRestTestCommon_CommandRemoteFullGet +{ + return $strCommonCommandRemoteFull; +} + sub BackRestTestCommon_HostGet { return $strCommonHost; diff --git a/test/lib/BackRestTest/ConfigTest.pm b/test/lib/BackRestTest/ConfigTest.pm index a25139f89..6850c3c9d 100755 --- a/test/lib/BackRestTest/ConfigTest.pm +++ b/test/lib/BackRestTest/ConfigTest.pm @@ -46,12 +46,12 @@ sub optionSetBoolTest $$oOption{boolean}{$strKey} = defined($bValue) ? $bValue : true; } -sub operationSetTest +sub commandSetTest { my $oOption = shift; - my $strOperation = shift; + my $strCommand = shift; - $$oOption{operation} = $strOperation; + $$oOption{command} = $strCommand; } sub optionRemoveTest @@ -71,7 +71,7 @@ sub argvWriteTest if (defined($$oOption{boolean})) { - foreach my $strKey (keys $$oOption{boolean}) + foreach my $strKey (keys(%{$$oOption{boolean}})) { if ($$oOption{boolean}{$strKey}) { @@ -86,13 +86,13 @@ sub argvWriteTest if (defined($$oOption{option})) { - foreach my $strKey (keys $$oOption{option}) + foreach my $strKey (keys(%{$$oOption{option}})) { $ARGV[@ARGV] = "--${strKey}=$$oOption{option}{$strKey}"; } } - $ARGV[@ARGV] = $$oOption{operation}; + $ARGV[@ARGV] = $$oOption{command}; &log(INFO, " command line: " . join(" ", @ARGV)); @@ -102,7 +102,7 @@ sub argvWriteTest sub configLoadExpect { my $oOption = shift; - my $strOperation = shift; + my $strCommand = shift; my $iExpectedError = shift; my $strErrorParam1 = shift; my $strErrorParam2 = shift; @@ -110,7 +110,7 @@ sub configLoadExpect my $oOptionRuleExpected = optionRuleGet(); - operationSetTest($oOption, $strOperation); + commandSetTest($oOption, $strCommand); argvWriteTest($oOption); eval @@ -139,12 +139,12 @@ sub configLoadExpect if ($iExpectedError == ERROR_OPTION_REQUIRED) { - $strError = "${strOperation} operation requires option: ${strErrorParam1}" . + $strError = "${strCommand} command requires option: ${strErrorParam1}" . (defined($strErrorParam2) ? "\nHINT: ${strErrorParam2}" : ''); } - elsif ($iExpectedError == ERROR_OPERATION_REQUIRED) + elsif ($iExpectedError == ERROR_COMMAND_REQUIRED) { - $strError = "operation must be specified"; + $strError = "command must be specified"; } elsif ($iExpectedError == ERROR_OPTION_INVALID) { @@ -272,14 +272,14 @@ sub BackRestTestConfig_Test { optionSetTest($oOption, OPTION_DB_PATH, '/db'); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_REQUIRED, OPTION_STANZA); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_REQUIRED, OPTION_STANZA); } if (BackRestTestCommon_Run(++$iRun, 'backup with boolean stanza')) { optionSetBoolTest($oOption, OPTION_STANZA); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPERATION_REQUIRED); + configLoadExpect($oOption, CMD_BACKUP, ERROR_COMMAND_REQUIRED); } if (BackRestTestCommon_Run(++$iRun, 'backup type defaults to ' . BACKUP_TYPE_INCR)) @@ -287,7 +287,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_TYPE, BACKUP_TYPE_INCR); } @@ -297,7 +297,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_TYPE, BACKUP_TYPE_FULL); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_TYPE, BACKUP_TYPE_FULL); } @@ -307,7 +307,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_TYPE, BOGUS); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_TYPE); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_TYPE); } if (BackRestTestCommon_Run(++$iRun, 'backup invalid force')) @@ -316,7 +316,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetBoolTest($oOption, OPTION_FORCE); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID, OPTION_FORCE, OPTION_NO_START_STOP); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID, OPTION_FORCE, OPTION_NO_START_STOP); } if (BackRestTestCommon_Run(++$iRun, 'backup valid force')) @@ -327,7 +327,7 @@ sub BackRestTestConfig_Test optionSetBoolTest($oOption, OPTION_NO_START_STOP); optionSetBoolTest($oOption, OPTION_FORCE); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_NO_START_STOP, true); optionTestExpect(OPTION_FORCE, true); } @@ -339,7 +339,7 @@ sub BackRestTestConfig_Test optionSetBoolTest($oOption, OPTION_TEST); optionSetTest($oOption, OPTION_TEST_DELAY, BOGUS); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_TEST_DELAY); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_TEST_DELAY); } if (BackRestTestCommon_Run(++$iRun, 'backup invalid ' . OPTION_TEST_DELAY)) @@ -348,7 +348,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_TEST_DELAY, 5); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID, OPTION_TEST_DELAY, OPTION_TEST); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID, OPTION_TEST_DELAY, OPTION_TEST); } if (BackRestTestCommon_Run(++$iRun, 'backup check ' . OPTION_TEST_DELAY . ' undef')) @@ -356,7 +356,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_TEST_DELAY); } @@ -367,7 +367,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_TARGET, BOGUS); @oyArray = (RECOVERY_TYPE_NAME, RECOVERY_TYPE_TIME, RECOVERY_TYPE_XID); - configLoadExpect($oOption, OP_RESTORE, ERROR_OPTION_INVALID, OPTION_TARGET, OPTION_TYPE, \@oyArray); + configLoadExpect($oOption, CMD_RESTORE, ERROR_OPTION_INVALID, OPTION_TARGET, OPTION_TYPE, \@oyArray); } if (BackRestTestCommon_Run(++$iRun, 'restore ' . OPTION_TARGET)) @@ -376,7 +376,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_TYPE, RECOVERY_TYPE_NAME); optionSetTest($oOption, OPTION_TARGET, BOGUS); - configLoadExpect($oOption, OP_RESTORE); + configLoadExpect($oOption, CMD_RESTORE); optionTestExpect(OPTION_TYPE, RECOVERY_TYPE_NAME); optionTestExpect(OPTION_TARGET, BOGUS); optionTestExpect(OPTION_TARGET_TIMELINE); @@ -388,7 +388,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_THREAD_MAX, BOGUS); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_THREAD_MAX); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_THREAD_MAX); } if (BackRestTestCommon_Run(++$iRun, 'invalid float ' . OPTION_THREAD_MAX)) @@ -397,7 +397,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_THREAD_MAX, '0.0'); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID_VALUE, '0.0', OPTION_THREAD_MAX); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID_VALUE, '0.0', OPTION_THREAD_MAX); } if (BackRestTestCommon_Run(++$iRun, 'valid ' . OPTION_THREAD_MAX)) @@ -406,7 +406,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_THREAD_MAX, '2'); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); } if (BackRestTestCommon_Run(++$iRun, 'valid float ' . OPTION_TEST_DELAY)) @@ -416,7 +416,7 @@ sub BackRestTestConfig_Test optionSetBoolTest($oOption, OPTION_TEST); optionSetTest($oOption, OPTION_TEST_DELAY, '0.25'); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); } if (BackRestTestCommon_Run(++$iRun, 'valid int ' . OPTION_TEST_DELAY)) @@ -426,7 +426,7 @@ sub BackRestTestConfig_Test optionSetBoolTest($oOption, OPTION_TEST); optionSetTest($oOption, OPTION_TEST_DELAY, 3); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); } if (BackRestTestCommon_Run(++$iRun, 'restore valid ' . OPTION_TARGET_TIMELINE)) @@ -434,7 +434,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_TARGET_TIMELINE, 2); - configLoadExpect($oOption, OP_RESTORE); + configLoadExpect($oOption, CMD_RESTORE); } if (BackRestTestCommon_Run(++$iRun, 'invalid ' . OPTION_BUFFER_SIZE)) @@ -442,85 +442,85 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_BUFFER_SIZE, '512'); - configLoadExpect($oOption, OP_RESTORE, ERROR_OPTION_INVALID_RANGE, '512', OPTION_BUFFER_SIZE); + configLoadExpect($oOption, CMD_RESTORE, ERROR_OPTION_INVALID_RANGE, '512', OPTION_BUFFER_SIZE); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' invalid option ' . OPTION_RETENTION_ARCHIVE_TYPE)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' invalid option ' . OPTION_RETENTION_ARCHIVE_TYPE)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_RETENTION_ARCHIVE_TYPE, BOGUS); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID, OPTION_RETENTION_ARCHIVE_TYPE, OPTION_RETENTION_ARCHIVE); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID, OPTION_RETENTION_ARCHIVE_TYPE, OPTION_RETENTION_ARCHIVE); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' invalid value ' . OPTION_RETENTION_ARCHIVE_TYPE)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' invalid value ' . OPTION_RETENTION_ARCHIVE_TYPE)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_RETENTION_ARCHIVE, 3); optionSetTest($oOption, OPTION_RETENTION_ARCHIVE_TYPE, BOGUS); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_RETENTION_ARCHIVE_TYPE); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_RETENTION_ARCHIVE_TYPE); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' valid value ' . OPTION_RETENTION_ARCHIVE_TYPE)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' valid value ' . OPTION_RETENTION_ARCHIVE_TYPE)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_RETENTION_ARCHIVE, 1); optionSetTest($oOption, OPTION_RETENTION_ARCHIVE_TYPE, BACKUP_TYPE_FULL); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_RETENTION_ARCHIVE, 1); optionTestExpect(OPTION_RETENTION_ARCHIVE_TYPE, BACKUP_TYPE_FULL); } - if (BackRestTestCommon_Run(++$iRun, OP_RESTORE . ' invalid value ' . OPTION_RESTORE_RECOVERY_SETTING)) + if (BackRestTestCommon_Run(++$iRun, CMD_RESTORE . ' invalid value ' . OPTION_RESTORE_RECOVERY_SETTING)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_RESTORE_RECOVERY_SETTING, '='); - configLoadExpect($oOption, OP_RESTORE, ERROR_OPTION_INVALID_PAIR, '=', OPTION_RESTORE_RECOVERY_SETTING); + configLoadExpect($oOption, CMD_RESTORE, ERROR_OPTION_INVALID_PAIR, '=', OPTION_RESTORE_RECOVERY_SETTING); } - if (BackRestTestCommon_Run(++$iRun, OP_RESTORE . ' invalid value ' . OPTION_RESTORE_RECOVERY_SETTING)) + if (BackRestTestCommon_Run(++$iRun, CMD_RESTORE . ' invalid value ' . OPTION_RESTORE_RECOVERY_SETTING)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_RESTORE_RECOVERY_SETTING, '=' . BOGUS); - configLoadExpect($oOption, OP_RESTORE, ERROR_OPTION_INVALID_PAIR, '=' . BOGUS, OPTION_RESTORE_RECOVERY_SETTING); + configLoadExpect($oOption, CMD_RESTORE, ERROR_OPTION_INVALID_PAIR, '=' . BOGUS, OPTION_RESTORE_RECOVERY_SETTING); } - if (BackRestTestCommon_Run(++$iRun, OP_RESTORE . ' invalid value ' . OPTION_RESTORE_RECOVERY_SETTING)) + if (BackRestTestCommon_Run(++$iRun, CMD_RESTORE . ' invalid value ' . OPTION_RESTORE_RECOVERY_SETTING)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_RESTORE_RECOVERY_SETTING, BOGUS . '='); - configLoadExpect($oOption, OP_RESTORE, ERROR_OPTION_INVALID_PAIR, BOGUS . '=', OPTION_RESTORE_RECOVERY_SETTING); + configLoadExpect($oOption, CMD_RESTORE, ERROR_OPTION_INVALID_PAIR, BOGUS . '=', OPTION_RESTORE_RECOVERY_SETTING); } - if (BackRestTestCommon_Run(++$iRun, OP_RESTORE . ' valid value ' . OPTION_RESTORE_RECOVERY_SETTING)) + if (BackRestTestCommon_Run(++$iRun, CMD_RESTORE . ' valid value ' . OPTION_RESTORE_RECOVERY_SETTING)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_RESTORE_RECOVERY_SETTING, 'primary-conn-info=db.domain.net'); - configLoadExpect($oOption, OP_RESTORE); + configLoadExpect($oOption, CMD_RESTORE); optionTestExpect(OPTION_RESTORE_RECOVERY_SETTING, 'db.domain.net', 'primary-conn-info'); } - if (BackRestTestCommon_Run(++$iRun, OP_RESTORE . ' values passed to ' . OP_ARCHIVE_GET)) + if (BackRestTestCommon_Run(++$iRun, CMD_RESTORE . ' values passed to ' . CMD_ARCHIVE_GET)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db path/main'); optionSetTest($oOption, OPTION_REPO_PATH, '/repo'); optionSetTest($oOption, OPTION_BACKUP_HOST, 'db.mydomain.com'); - configLoadExpect($oOption, OP_RESTORE); + configLoadExpect($oOption, CMD_RESTORE); - my $strCommand = operationWrite(OP_ARCHIVE_GET); + my $strCommand = commandWrite(CMD_ARCHIVE_GET); my $strExpectedCommand = abs_path($0) . " --backup-host=db.mydomain.com \"--db-path=/db path/main\"" . - " --repo-path=/repo --stanza=main " . OP_ARCHIVE_GET; + " --repo-path=/repo --repo-remote-path=/repo --stanza=main " . CMD_ARCHIVE_GET; if ($strCommand ne $strExpectedCommand) { @@ -528,33 +528,33 @@ sub BackRestTestConfig_Test } } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' valid value ' . OPTION_COMMAND_PSQL)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' valid value ' . OPTION_COMMAND_PSQL)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_COMMAND_PSQL, '/psql -X %option%'); optionSetTest($oOption, OPTION_COMMAND_PSQL_OPTION, '--port 5432'); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_COMMAND_PSQL, '/psql -X --port 5432'); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' default value ' . OPTION_COMMAND_REMOTE)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' default value ' . OPTION_COMMAND_REMOTE)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_COMMAND_PSQL, '/psql -X %option%'); optionSetTest($oOption, OPTION_COMMAND_PSQL_OPTION, '--port 5432'); - configLoadExpect($oOption, OP_BACKUP); - optionTestExpect(OPTION_COMMAND_REMOTE, dirname(abs_path($0)) . '/pg_backrest_remote'); + configLoadExpect($oOption, CMD_BACKUP); + optionTestExpect(OPTION_COMMAND_REMOTE, abs_path($0)); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' missing option ' . OPTION_DB_PATH)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' missing option ' . OPTION_DB_PATH)) { optionSetTest($oOption, OPTION_STANZA, $strStanza); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_REQUIRED, OPTION_DB_PATH, 'Does this stanza exist?'); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_REQUIRED, OPTION_DB_PATH, 'Does this stanza exist?'); } } @@ -575,7 +575,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_CONFIG, '/dude/dude.conf'); optionSetBoolTest($oOption, OPTION_CONFIG, false); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_NEGATE, OPTION_CONFIG); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_NEGATE, OPTION_CONFIG); } if (BackRestTestCommon_Run(++$iRun, 'option ' . OPTION_CONFIG)) @@ -584,7 +584,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetBoolTest($oOption, OPTION_CONFIG, false); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_CONFIG); } @@ -593,7 +593,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_CONFIG, OPTION_DEFAULT_CONFIG); } @@ -603,20 +603,20 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, BackRestTestCommon_TestPathGet()); - configLoadExpect($oOption, OP_BACKUP, ERROR_FILE_INVALID, BackRestTestCommon_TestPathGet()); + configLoadExpect($oOption, CMD_BACKUP, ERROR_FILE_INVALID, BackRestTestCommon_TestPathGet()); } if (BackRestTestCommon_Run(++$iRun, 'load from config stanza section - option ' . OPTION_THREAD_MAX)) { $oConfig = {}; - $$oConfig{"${strStanza}:" . &OP_BACKUP}{&OPTION_THREAD_MAX} = 2; + $$oConfig{"${strStanza}:" . &CMD_BACKUP}{&OPTION_THREAD_MAX} = 2; iniSave($strConfigFile, $oConfig, true); optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_THREAD_MAX, 2); } @@ -630,7 +630,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_THREAD_MAX, 3); } @@ -638,14 +638,14 @@ sub BackRestTestConfig_Test if (BackRestTestCommon_Run(++$iRun, 'load from config global section - option ' . OPTION_THREAD_MAX)) { $oConfig = {}; - $$oConfig{&CONFIG_GLOBAL . ':' . &OP_BACKUP}{&OPTION_THREAD_MAX} = 2; + $$oConfig{&CONFIG_GLOBAL . ':' . &CMD_BACKUP}{&OPTION_THREAD_MAX} = 2; iniSave($strConfigFile, $oConfig, true); optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_THREAD_MAX, 2); } @@ -659,7 +659,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_THREAD_MAX, 5); } @@ -672,7 +672,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_THREAD_MAX, 1); } @@ -687,21 +687,21 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_THREAD_MAX, 7); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_THREAD_MAX, 7); } if (BackRestTestCommon_Run(++$iRun, 'invalid boolean - option ' . OPTION_HARDLINK)) { $oConfig = {}; - $$oConfig{&CONFIG_GLOBAL . ':' . &OP_BACKUP}{&OPTION_HARDLINK} = 'Y'; + $$oConfig{&CONFIG_GLOBAL . ':' . &CMD_BACKUP}{&OPTION_HARDLINK} = 'Y'; iniSave($strConfigFile, $oConfig, true); optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID_VALUE, 'Y', OPTION_HARDLINK); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID_VALUE, 'Y', OPTION_HARDLINK); } if (BackRestTestCommon_Run(++$iRun, 'invalid value - option ' . OPTION_LOG_LEVEL_CONSOLE)) @@ -714,7 +714,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_LOG_LEVEL_CONSOLE); + configLoadExpect($oOption, CMD_BACKUP, ERROR_OPTION_INVALID_VALUE, BOGUS, OPTION_LOG_LEVEL_CONSOLE); } if (BackRestTestCommon_Run(++$iRun, 'valid value - option ' . OPTION_LOG_LEVEL_CONSOLE)) @@ -726,7 +726,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_RESTORE); + configLoadExpect($oOption, CMD_RESTORE); } if (BackRestTestCommon_Run(++$iRun, 'archive-push - option ' . OPTION_LOG_LEVEL_CONSOLE)) @@ -734,10 +734,10 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_ARCHIVE_PUSH); + configLoadExpect($oOption, CMD_ARCHIVE_PUSH); } - if (BackRestTestCommon_Run(++$iRun, OP_EXPIRE . ' ' . OPTION_RETENTION_FULL)) + if (BackRestTestCommon_Run(++$iRun, CMD_EXPIRE . ' ' . OPTION_RETENTION_FULL)) { $oConfig = {}; $$oConfig{&CONFIG_GLOBAL . ':' . &CONFIG_SECTION_EXPIRE}{&OPTION_RETENTION_FULL} = 2; @@ -746,11 +746,11 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_EXPIRE); + configLoadExpect($oOption, CMD_EXPIRE); optionTestExpect(OPTION_RETENTION_FULL, 2); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' option ' . OPTION_COMPRESS)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' option ' . OPTION_COMPRESS)) { $oConfig = {}; $$oConfig{&CONFIG_GLOBAL . ':' . &CONFIG_SECTION_BACKUP}{&OPTION_COMPRESS} = 'n'; @@ -760,11 +760,11 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_COMPRESS, false); } - if (BackRestTestCommon_Run(++$iRun, OP_RESTORE . ' option ' . OPTION_RESTORE_RECOVERY_SETTING)) + if (BackRestTestCommon_Run(++$iRun, CMD_RESTORE . ' option ' . OPTION_RESTORE_RECOVERY_SETTING)) { $oConfig = {}; $$oConfig{&CONFIG_GLOBAL . ':' . &CONFIG_SECTION_RESTORE_RECOVERY_SETTING}{'archive-command'} = '/path/to/pg_backrest'; @@ -773,11 +773,11 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_RESTORE); + configLoadExpect($oOption, CMD_RESTORE); optionTestExpect(OPTION_RESTORE_RECOVERY_SETTING, '/path/to/pg_backrest', 'archive-command'); } - if (BackRestTestCommon_Run(++$iRun, OP_RESTORE . ' option ' . OPTION_RESTORE_RECOVERY_SETTING)) + if (BackRestTestCommon_Run(++$iRun, CMD_RESTORE . ' option ' . OPTION_RESTORE_RECOVERY_SETTING)) { $oConfig = {}; $$oConfig{$strStanza . ':' . &CONFIG_SECTION_RESTORE_RECOVERY_SETTING}{'standby-mode'} = 'on'; @@ -786,10 +786,10 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_ARCHIVE_GET); + configLoadExpect($oOption, CMD_ARCHIVE_GET); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' option ' . OPTION_DB_PATH)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' option ' . OPTION_DB_PATH)) { $oConfig = {}; $$oConfig{$strStanza}{&OPTION_DB_PATH} = '/path/to/db'; @@ -798,11 +798,11 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_DB_PATH, '/path/to/db'); } - if (BackRestTestCommon_Run(++$iRun, OP_ARCHIVE_PUSH . ' option ' . OPTION_DB_PATH)) + if (BackRestTestCommon_Run(++$iRun, CMD_ARCHIVE_PUSH . ' option ' . OPTION_DB_PATH)) { $oConfig = {}; $$oConfig{$strStanza}{&OPTION_DB_PATH} = '/path/to/db'; @@ -811,11 +811,11 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_STANZA, $strStanza); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_ARCHIVE_PUSH); + configLoadExpect($oOption, CMD_ARCHIVE_PUSH); optionTestExpect(OPTION_DB_PATH, '/path/to/db'); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' option ' . OPTION_REPO_PATH)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' option ' . OPTION_REPO_PATH)) { $oConfig = {}; $$oConfig{&CONFIG_GLOBAL . ':' . &CONFIG_SECTION_GENERAL}{&OPTION_REPO_PATH} = '/repo'; @@ -825,11 +825,11 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_REPO_PATH, '/repo'); } - if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' valid value ' . OPTION_COMMAND_PSQL)) + if (BackRestTestCommon_Run(++$iRun, CMD_BACKUP . ' valid value ' . OPTION_COMMAND_PSQL)) { $oConfig = {}; $$oConfig{&CONFIG_GLOBAL . ':' . &CONFIG_SECTION_COMMAND}{&OPTION_COMMAND_PSQL} = '/psql -X %option%'; @@ -840,7 +840,7 @@ sub BackRestTestConfig_Test optionSetTest($oOption, OPTION_DB_PATH, '/db'); optionSetTest($oOption, OPTION_CONFIG, $strConfigFile); - configLoadExpect($oOption, OP_BACKUP); + configLoadExpect($oOption, CMD_BACKUP); optionTestExpect(OPTION_COMMAND_PSQL, '/psql -X --port=5432'); } diff --git a/test/lib/BackRestTest/FileTest.pm b/test/lib/BackRestTest/FileTest.pm index e5ecf7123..de6f20a45 100755 --- a/test/lib/BackRestTest/FileTest.pm +++ b/test/lib/BackRestTest/FileTest.pm @@ -11,19 +11,19 @@ use strict; use warnings FATAL => qw(all); use Carp qw(confess); -use Cwd 'abs_path'; +use Cwd qw(abs_path); use Exporter qw(import); -use Fcntl ':mode'; +use Fcntl qw(:mode); use File::Basename; use File::stat; use POSIX qw(ceil); -use Scalar::Util 'blessed'; +use Scalar::Util qw(blessed); use Time::HiRes qw(gettimeofday usleep); use lib dirname($0) . '/../lib'; use BackRest::Config; use BackRest::File; -use BackRest::Remote; +use BackRest::Protocol; use BackRest::Utility; use BackRestTest::CommonTest; @@ -92,25 +92,21 @@ sub BackRestTestFile_Test #------------------------------------------------------------------------------------------------------------------------------- # Create remotes #------------------------------------------------------------------------------------------------------------------------------- - my $oRemote = BackRest::Remote->new + my $oRemote = new BackRest::Remote ( - $strHost, # Host - $strUser, # User - BackRestTestCommon_CommandRemoteGet(), # Command - $strStanza, # Stanza - '', # Repo Path - OPTION_DEFAULT_BUFFER_SIZE, # Buffer size - OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level - OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level + $strHost, # Host + $strUser, # User + BackRestTestCommon_CommandRemoteFullGet(), # Command + OPTION_DEFAULT_BUFFER_SIZE, # Buffer size + OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level + OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level ); - my $oLocal = new BackRest::Remote + my $oLocal = new BackRest::Protocol ( - undef, # Host - undef, # User + undef, # Name + false, # Is backend? undef, # Command - undef, # Stanza - undef, # Repo Path OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level @@ -582,7 +578,7 @@ sub BackRestTestFile_Test my $strManifest; # Validate the manifest - foreach my $strName (sort(keys $oManifestHash{name})) + foreach my $strName (sort(keys(%{$oManifestHash{name}}))) { if (!defined($strManifest)) { diff --git a/test/lib/BackRestTest/UtilityTest.pm b/test/lib/BackRestTest/UtilityTest.pm index aa5945978..7146f5fdf 100755 --- a/test/lib/BackRestTest/UtilityTest.pm +++ b/test/lib/BackRestTest/UtilityTest.pm @@ -42,13 +42,11 @@ sub BackRestTestUtility_Test #------------------------------------------------------------------------------------------------------------------------------- # Create remote #------------------------------------------------------------------------------------------------------------------------------- - my $oLocal = new BackRest::Remote + my $oLocal = new BackRest::Protocol ( - undef, # Host - undef, # User + undef, # Name + false, # Is backend? undef, # Command - undef, # Stanza - undef, # Repo Path OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level diff --git a/test/log/backup-archive-get-001.log b/test/log/backup-archive-get-001.log index 43f64f18f..4fd21b543 100644 --- a/test/log/backup-archive-get-001.log +++ b/test/log/backup-archive-get-001.log @@ -1,11 +1,20 @@ run 001 - rmt 0, cmp 0, exists 0 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: ArchiveInfo->new(): archiveClusterPath = [TEST_PATH]/backrest/archive/db +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-get-002.log b/test/log/backup-archive-get-002.log index c5a39ae3d..6469c8384 100644 --- a/test/log/backup-archive-get-002.log +++ b/test/log/backup-archive-get-002.log @@ -1,11 +1,20 @@ run 002 - rmt 0, cmp 0, exists 1 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: ArchiveInfo->new(): archiveClusterPath = [TEST_PATH]/backrest/archive/db +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-get-003.log b/test/log/backup-archive-get-003.log index e54431d84..e018969dd 100644 --- a/test/log/backup-archive-get-003.log +++ b/test/log/backup-archive-get-003.log @@ -1,11 +1,20 @@ run 003 - rmt 0, cmp 1, exists 0 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: ArchiveInfo->new(): archiveClusterPath = [TEST_PATH]/backrest/archive/db +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-get-004.log b/test/log/backup-archive-get-004.log index ccdd2afae..5f1222d70 100644 --- a/test/log/backup-archive-get-004.log +++ b/test/log/backup-archive-get-004.log @@ -1,11 +1,20 @@ run 004 - rmt 0, cmp 1, exists 1 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: ArchiveInfo->new(): archiveClusterPath = [TEST_PATH]/backrest/archive/db +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-get-005.log b/test/log/backup-archive-get-005.log index 08c7ca4a6..02b3155ff 100644 --- a/test/log/backup-archive-get-005.log +++ b/test/log/backup-archive-get-005.log @@ -1,11 +1,21 @@ run 005 - rmt 1, cmp 0, exists 0 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] @@ -19,7 +29,8 @@ db-version="9.3" > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000090000000900000009 [TEST_PATH]/db/common/pg_xlog/RECOVERYXLOG ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000090000000900000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward INFO: 000000090000000900000009 was not found in the archive repository diff --git a/test/log/backup-archive-get-006.log b/test/log/backup-archive-get-006.log index b14fe3642..bc7eb8d3a 100644 --- a/test/log/backup-archive-get-006.log +++ b/test/log/backup-archive-get-006.log @@ -1,11 +1,21 @@ run 006 - rmt 1, cmp 0, exists 1 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] @@ -19,7 +29,8 @@ db-version="9.3" > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward DEBUG: archive_get: cp 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 @@ -30,7 +41,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000010000000100000002 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward DEBUG: archive_get: cp 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 @@ -41,7 +53,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000010000000100000003 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward DEBUG: archive_get: cp 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 diff --git a/test/log/backup-archive-get-007.log b/test/log/backup-archive-get-007.log index 552538ab2..abd32c130 100644 --- a/test/log/backup-archive-get-007.log +++ b/test/log/backup-archive-get-007.log @@ -1,11 +1,21 @@ run 007 - rmt 1, cmp 1, exists 0 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] @@ -19,7 +29,8 @@ db-version="9.3" > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000090000000900000009 [TEST_PATH]/db/common/pg_xlog/RECOVERYXLOG ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000090000000900000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward INFO: 000000090000000900000009 was not found in the archive repository diff --git a/test/log/backup-archive-get-008.log b/test/log/backup-archive-get-008.log index 367ced911..7ccee5da1 100644 --- a/test/log/backup-archive-get-008.log +++ b/test/log/backup-archive-get-008.log @@ -1,11 +1,21 @@ run 008 - rmt 1, cmp 1, exists 1 ================================ +> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ + INFO: getting WAL segment 000000010000000100000001 +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] +ERROR: [130]: archive.info does not exist but is required to get WAL segments + HINT: Is archive_command configured in postgresql.conf? + HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. +DEBUG: safe exit called, terminating threads + + supplemental file: [TEST_PATH]/backrest/archive/db/archive.info ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] @@ -19,7 +29,8 @@ db-version="9.3" > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward DEBUG: archive_get: cp 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 @@ -30,7 +41,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000010000000100000002 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward DEBUG: archive_get: cp 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 @@ -41,7 +53,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: getting WAL segment 000000010000000100000003 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->getCheck=>: archiveId = 9.3-1 DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward DEBUG: archive_get: cp 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 diff --git a/test/log/backup-archive-push-001.log b/test/log/backup-archive-push-001.log index a13bd5a69..8e93fb944 100644 --- a/test/log/backup-archive-push-001.log +++ b/test/log/backup-archive-push-001.log @@ -237,7 +237,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-push-002.log b/test/log/backup-archive-push-002.log index 5996c35e0..28962a2ad 100644 --- a/test/log/backup-archive-push-002.log +++ b/test/log/backup-archive-push-002.log @@ -433,7 +433,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-push-003.log b/test/log/backup-archive-push-003.log index a63f1935b..7b8e1f0d6 100644 --- a/test/log/backup-archive-push-003.log +++ b/test/log/backup-archive-push-003.log @@ -237,7 +237,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-push-004.log b/test/log/backup-archive-push-004.log index 0052336cf..38999a994 100644 --- a/test/log/backup-archive-push-004.log +++ b/test/log/backup-archive-push-004.log @@ -433,7 +433,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-push-005.log b/test/log/backup-archive-push-005.log index d65b06c3d..251342af0 100644 --- a/test/log/backup-archive-push-005.log +++ b/test/log/backup-archive-push-005.log @@ -4,7 +4,8 @@ run 005 - rmt 1, cmp 0, arc_async 0 > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/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: safe exit called, terminating threads @@ -12,7 +13,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? @@ -21,7 +23,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? @@ -30,7 +33,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum @@ -40,7 +44,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive @@ -49,7 +54,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -57,7 +63,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -65,7 +72,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000004 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -73,7 +81,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -81,7 +90,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? @@ -90,7 +100,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? @@ -99,7 +110,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum @@ -109,7 +121,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive @@ -118,7 +131,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -126,7 +140,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000007 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -134,7 +149,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000008 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -142,7 +158,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -150,7 +167,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? @@ -159,7 +177,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? @@ -168,7 +187,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum @@ -178,7 +198,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive @@ -188,7 +209,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-push-006.log b/test/log/backup-archive-push-006.log index c30f5a7e9..1fc8f55e9 100644 --- a/test/log/backup-archive-push-006.log +++ b/test/log/backup-archive-push-006.log @@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -62,7 +65,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -83,7 +87,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -99,7 +104,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002 @@ -118,7 +124,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003 @@ -137,7 +144,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004 @@ -156,7 +164,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -175,7 +184,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -191,7 +201,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -207,7 +218,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -228,7 +240,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -244,7 +257,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006 @@ -263,7 +277,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007 @@ -282,7 +297,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008 @@ -301,7 +317,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -320,7 +337,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -336,7 +354,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -352,7 +371,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -373,7 +393,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -385,7 +406,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-push-007.log b/test/log/backup-archive-push-007.log index 26f7fb271..1d5e54e05 100644 --- a/test/log/backup-archive-push-007.log +++ b/test/log/backup-archive-push-007.log @@ -4,7 +4,8 @@ run 007 - rmt 1, cmp 1, arc_async 0 > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000001.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -12,7 +13,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? @@ -21,7 +23,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? @@ -30,7 +33,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum @@ -40,7 +44,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive @@ -49,7 +54,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000002.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -57,7 +63,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000003.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -65,7 +72,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000004 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000004.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -73,7 +81,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000005.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -81,7 +90,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? @@ -90,7 +100,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? @@ -99,7 +110,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum @@ -109,7 +121,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive @@ -118,7 +131,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000006.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -126,7 +140,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000007 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000007.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -134,7 +149,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000008 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000008.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -142,7 +158,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000009.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -150,7 +167,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? @@ -159,7 +177,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? @@ -168,7 +187,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum @@ -178,7 +198,8 @@ DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009 -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive @@ -188,7 +209,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-push-008.log b/test/log/backup-archive-push-008.log index 61be5e67c..70cd9aa71 100644 --- a/test/log/backup-archive-push-008.log +++ b/test/log/backup-archive-push-008.log @@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -62,7 +65,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -83,7 +87,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -99,7 +104,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -118,7 +124,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003 @@ -137,7 +144,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004 @@ -156,7 +164,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -175,7 +184,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -191,7 +201,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -207,7 +218,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -228,7 +240,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005 @@ -244,7 +257,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -263,7 +277,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007 @@ -282,7 +297,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008 @@ -301,7 +317,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -320,7 +337,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -336,7 +354,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -352,7 +371,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -373,7 +393,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009 @@ -385,7 +406,7 @@ DEBUG: safe exit called, terminating threads ----------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [db] diff --git a/test/log/backup-archive-stop-003.log b/test/log/backup-archive-stop-003.log index 37fbe0dba..52a60c408 100644 --- a/test/log/backup-archive-stop-003.log +++ b/test/log/backup-archive-stop-003.log @@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002 @@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 2, size 32MB DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002 @@ -68,7 +71,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 3, size 48MB DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002 @@ -93,7 +97,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006 diff --git a/test/log/backup-archive-stop-004.log b/test/log/backup-archive-stop-004.log index 608e13731..83fde1fa7 100644 --- a/test/log/backup-archive-stop-004.log +++ b/test/log/backup-archive-stop-004.log @@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001 @@ -30,8 +31,9 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = bogus, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote -ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1] +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: nodename nor servname provided, or not known DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push --backup-host=bogus [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 @@ -42,8 +44,9 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = bogus, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote -ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1] +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: nodename nor servname provided, or not known 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 @@ -60,7 +63,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 3, size 48MB DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002 @@ -85,7 +89,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: archive to be copied to backup total 1, size 16MB DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0 DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006 diff --git a/test/log/backup-archive-stop-005.log b/test/log/backup-archive-stop-005.log index b3ac618d9..9568af6e1 100644 --- a/test/log/backup-archive-stop-005.log +++ b/test/log/backup-archive-stop-005.log @@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -68,7 +71,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -93,7 +97,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 diff --git a/test/log/backup-archive-stop-006.log b/test/log/backup-archive-stop-006.log index e3efbb05a..ec497e96b 100644 --- a/test/log/backup-archive-stop-006.log +++ b/test/log/backup-archive-stop-006.log @@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -30,8 +31,9 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = bogus, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote -ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1] +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: nodename nor servname provided, or not known DEBUG: safe exit called, terminating threads > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push --backup-host=bogus [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 @@ -42,8 +44,9 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = bogus, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote -ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1] +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: nodename nor servname provided, or not known 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 @@ -60,7 +63,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 @@ -85,7 +89,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000 DEBUG: No fork on archive local for TESTING DEBUG: starting async archive-push DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] 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 diff --git a/test/log/backup-expire-001.log b/test/log/backup-expire-001.log index bd5feef37..ed2e14a00 100644 --- a/test/log/backup-expire-001.log +++ b/test/log/backup-expire-001.log @@ -5,40 +5,40 @@ run 001 - local --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -67,37 +67,37 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -139,34 +139,34 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -201,34 +201,34 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -283,34 +283,34 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -371,34 +371,34 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -453,32 +453,32 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -528,28 +528,28 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -587,28 +587,28 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 @@ -649,28 +649,28 @@ DEBUG: safe exit called, terminating threads --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} -[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000002","backup-archive-stop":"000000010000000000000002","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000004","backup-archive-stop":"000000010000000000000004","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000006","backup-archive-stop":"000000010000000000000006","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-1]","backup-reference":["[BACKUP-FULL-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000008","backup-archive-stop":"000000010000000000000008","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000A","backup-archive-stop":"00000001000000000000000A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000C","backup-archive-stop":"00000001000000000000000C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000000E","backup-archive-stop":"00000001000000000000000E","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000010","backup-archive-stop":"000000010000000000000010","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000012","backup-archive-stop":"000000010000000000000012","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000014","backup-archive-stop":"000000010000000000000014","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000016","backup-archive-stop":"000000010000000000000016","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-DIFF-5]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"000000010000000000000018","backup-archive-stop":"000000010000000000000018","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001A","backup-archive-stop":"00000001000000000000001A","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-INCR-4]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} +[BACKUP-DIFF-6]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":"00000001000000000000001C","backup-archive-stop":"00000001000000000000001C","backup-info-repo-size":[BACKUP-INFO],"backup-info-repo-size-delta":[BACKUP-INFO],"backup-info-size":[BACKUP-INFO],"backup-info-size-delta":[BACKUP-INFO],"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":true} [db] db-catalog-version=201306121 diff --git a/test/log/backup-synthetic-001.log b/test/log/backup-synthetic-001.log index 8e89d9a11..8ffdc86df 100644 --- a/test/log/backup-synthetic-001.log +++ b/test/log/backup-synthetic-001.log @@ -9,7 +9,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -80,7 +80,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -125,14 +125,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -173,7 +173,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -222,7 +222,7 @@ DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mod DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -292,7 +292,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -337,15 +337,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -410,8 +410,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -427,8 +427,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -444,8 +444,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -461,8 +461,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -478,8 +478,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -550,7 +550,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -605,17 +605,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -638,8 +638,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -716,7 +716,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -779,18 +779,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -813,8 +813,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -893,7 +893,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -956,19 +956,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -991,8 +991,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1071,7 +1071,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1134,20 +1134,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1182,7 +1182,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) @@ -1193,7 +1193,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) @@ -1280,8 +1280,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1352,7 +1352,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1409,22 +1409,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1446,8 +1446,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1514,7 +1514,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1571,24 +1571,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1610,8 +1610,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1690,7 +1690,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1747,26 +1747,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1788,8 +1788,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1851,7 +1851,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1908,28 +1908,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1951,8 +1951,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2025,7 +2025,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2080,30 +2080,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2123,7 +2123,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2206,7 +2206,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2261,32 +2261,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2308,8 +2308,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2376,7 +2376,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2433,34 +2433,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2565,7 +2565,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2594,7 +2594,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2625,7 +2625,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2657,7 +2657,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2690,7 +2690,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2721,7 +2721,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2753,7 +2753,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2784,7 +2784,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2813,7 +2813,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { diff --git a/test/log/backup-synthetic-002.log b/test/log/backup-synthetic-002.log index cc3ffb55a..dc9e822e2 100644 --- a/test/log/backup-synthetic-002.log +++ b/test/log/backup-synthetic-002.log @@ -9,7 +9,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -81,7 +81,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -126,14 +126,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -174,7 +174,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -223,7 +223,7 @@ DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mod DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -294,7 +294,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -339,15 +339,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -412,8 +412,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -429,8 +429,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -446,8 +446,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -463,8 +463,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -480,8 +480,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -564,7 +564,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -619,17 +619,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -652,8 +652,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -750,7 +750,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -813,18 +813,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -847,8 +847,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -941,7 +941,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1004,19 +1004,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1039,8 +1039,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1133,7 +1133,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1196,20 +1196,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1244,7 +1244,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) @@ -1255,7 +1255,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) @@ -1342,8 +1342,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1428,7 +1428,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1485,22 +1485,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1522,8 +1522,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1608,7 +1608,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1665,24 +1665,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1704,8 +1704,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1792,7 +1792,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1849,26 +1849,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1890,8 +1890,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1975,7 +1975,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2032,28 +2032,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2075,8 +2075,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2159,7 +2159,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2214,30 +2214,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2257,7 +2257,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2341,7 +2341,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2396,32 +2396,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2443,8 +2443,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2529,7 +2529,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2586,34 +2586,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2718,7 +2718,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2747,7 +2747,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2778,7 +2778,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2810,7 +2810,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2843,7 +2843,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2874,7 +2874,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2906,7 +2906,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2937,7 +2937,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2966,7 +2966,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { diff --git a/test/log/backup-synthetic-003.log b/test/log/backup-synthetic-003.log index 82db1a3ec..9d5ca49d9 100644 --- a/test/log/backup-synthetic-003.log +++ b/test/log/backup-synthetic-003.log @@ -9,7 +9,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -79,7 +79,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -124,14 +124,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -172,7 +172,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -221,7 +221,7 @@ DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mod DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -294,7 +294,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -339,15 +339,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -412,8 +412,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -429,8 +429,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -446,8 +446,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -463,8 +463,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -480,8 +480,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -551,7 +551,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -606,17 +606,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -639,8 +639,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -717,7 +717,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -780,18 +780,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -814,8 +814,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -893,7 +893,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -956,19 +956,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -991,8 +991,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1070,7 +1070,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1133,20 +1133,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1181,7 +1181,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) @@ -1192,7 +1192,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) @@ -1279,8 +1279,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1350,7 +1350,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1407,22 +1407,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1444,8 +1444,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1511,7 +1511,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1568,24 +1568,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1607,8 +1607,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1686,7 +1686,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1743,26 +1743,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1784,8 +1784,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1846,7 +1846,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1903,28 +1903,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1946,8 +1946,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2019,7 +2019,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2074,30 +2074,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2117,7 +2117,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2199,7 +2199,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2254,32 +2254,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2301,8 +2301,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2368,7 +2368,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2425,34 +2425,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2557,7 +2557,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2586,7 +2586,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2617,7 +2617,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2649,7 +2649,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2682,7 +2682,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2713,7 +2713,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2745,7 +2745,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2776,7 +2776,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2805,7 +2805,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { diff --git a/test/log/backup-synthetic-004.log b/test/log/backup-synthetic-004.log index 68f166479..be0fab6bf 100644 --- a/test/log/backup-synthetic-004.log +++ b/test/log/backup-synthetic-004.log @@ -9,7 +9,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -80,7 +80,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -125,14 +125,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -173,7 +173,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -222,7 +222,7 @@ DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mod DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -296,7 +296,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -341,15 +341,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -414,8 +414,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -431,8 +431,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -448,8 +448,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -465,8 +465,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -482,8 +482,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -565,7 +565,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -620,17 +620,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -653,8 +653,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -751,7 +751,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -814,18 +814,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -848,8 +848,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -941,7 +941,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1004,19 +1004,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1039,8 +1039,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1132,7 +1132,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1195,20 +1195,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1243,7 +1243,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) @@ -1254,7 +1254,7 @@ DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) @@ -1341,8 +1341,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1426,7 +1426,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1483,22 +1483,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1520,8 +1520,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1605,7 +1605,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1662,24 +1662,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1701,8 +1701,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1788,7 +1788,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1845,26 +1845,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1886,8 +1886,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1970,7 +1970,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2027,28 +2027,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2070,8 +2070,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2153,7 +2153,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2208,30 +2208,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2251,7 +2251,7 @@ DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2334,7 +2334,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2389,32 +2389,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2436,8 +2436,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = false, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = false DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2521,7 +2521,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2578,34 +2578,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2710,7 +2710,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2739,7 +2739,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2770,7 +2770,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2802,7 +2802,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2835,7 +2835,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2866,7 +2866,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2898,7 +2898,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2929,7 +2929,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2958,7 +2958,7 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db_e "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { diff --git a/test/log/backup-synthetic-005.log b/test/log/backup-synthetic-005.log index 35c578f9a..53081b7c0 100644 --- a/test/log/backup-synthetic-005.log +++ b/test/log/backup-synthetic-005.log @@ -4,13 +4,14 @@ run 005 - rmt 1, cmp 0, hardlink 0 full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -62,7 +63,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -95,7 +96,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -111,7 +112,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -156,14 +157,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -178,7 +179,8 @@ db-version="9.3" info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -191,7 +193,8 @@ DEBUG: safe exit called, terminating threads info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db [ { @@ -202,7 +205,7 @@ DEBUG: Info->listStanza: stanza = db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -245,14 +248,15 @@ DEBUG: safe exit called, terminating threads full backup (resume) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -303,7 +307,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -336,7 +340,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -352,7 +356,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -397,15 +401,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -420,7 +424,8 @@ db-version="9.3" restore delta, backup '[BACKUP-FULL-2]' (add and delete files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -464,7 +469,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -472,8 +478,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -482,7 +488,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid system id) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -490,8 +497,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -500,7 +507,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid control version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -508,8 +516,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -518,7 +526,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid catalog version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -526,8 +535,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -536,7 +545,8 @@ DEBUG: safe exit called, terminating threads incr backup (add tablespace 1) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -544,8 +554,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -597,7 +607,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -630,7 +640,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -646,7 +656,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -701,17 +711,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -726,7 +736,8 @@ db-version="9.3" incr backup (resume and add tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -735,8 +746,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -794,7 +805,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -827,7 +838,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -843,7 +854,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -906,18 +917,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -932,7 +943,8 @@ db-version="9.3" diff backup (cannot resume - new diff) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -941,8 +953,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1002,7 +1014,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1035,7 +1047,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1051,7 +1063,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1114,19 +1126,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1141,7 +1153,8 @@ db-version="9.3" diff backup (cannot resume - disabled) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1150,8 +1163,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1211,7 +1224,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1244,7 +1257,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1260,7 +1273,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1323,20 +1336,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1351,7 +1364,8 @@ db-version="9.3" restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1367,31 +1381,34 @@ DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1466,7 +1483,8 @@ DEBUG: safe exit called, terminating threads incr backup (add files and remove tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1474,8 +1492,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1530,7 +1548,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1557,7 +1575,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1571,7 +1589,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1628,22 +1646,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1658,7 +1676,8 @@ db-version="9.3" incr backup (update files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1666,8 +1685,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1718,7 +1737,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1745,7 +1764,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1759,7 +1778,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1816,24 +1835,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1848,7 +1867,8 @@ db-version="9.3" diff backup (no updates) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1856,8 +1876,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1920,7 +1940,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1947,7 +1967,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1961,7 +1981,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2018,26 +2038,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2052,7 +2072,8 @@ db-version="9.3" incr backup (remove files - but won't affect manifest) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2060,8 +2081,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2107,7 +2128,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2134,7 +2155,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2148,7 +2169,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2205,28 +2226,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2241,7 +2262,8 @@ db-version="9.3" diff backup (remove files during backup) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2249,8 +2271,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2307,7 +2329,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2334,7 +2356,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2348,7 +2370,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2403,30 +2425,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2441,13 +2463,14 @@ db-version="9.3" full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2514,7 +2537,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2541,7 +2564,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2555,7 +2578,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2610,32 +2633,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2650,7 +2673,8 @@ db-version="9.3" diff backup (add files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2658,8 +2682,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2710,7 +2734,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2737,7 +2761,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2751,7 +2775,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2808,34 +2832,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9658,"backup-info-repo-size-delta":9658,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10446,"backup-info-repo-size-delta":2247,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10929,"backup-info-repo-size-delta":2730,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10880,"backup-info-repo-size-delta":2663,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10949,"backup-info-repo-size-delta":2723,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10740,"backup-info-repo-size-delta":2545,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10997,"backup-info-repo-size-delta":2763,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10432,"backup-info-repo-size-delta":2237,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10480,"backup-info-repo-size-delta":10480,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10874,"backup-info-repo-size-delta":2640,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2850,7 +2874,8 @@ db-version="9.3" restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -2910,7 +2935,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza stanza db status: ok @@ -2926,7 +2952,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza [ { @@ -2937,7 +2964,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2966,7 +2993,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2997,7 +3024,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3029,7 +3056,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3062,7 +3089,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3093,7 +3120,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3125,7 +3152,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3156,7 +3183,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3185,7 +3212,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3239,7 +3266,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3248,7 +3276,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/log/backup-synthetic-006.log b/test/log/backup-synthetic-006.log index f9d378d7a..655bac096 100644 --- a/test/log/backup-synthetic-006.log +++ b/test/log/backup-synthetic-006.log @@ -4,13 +4,14 @@ run 006 - rmt 1, cmp 0, hardlink 1 full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -62,7 +63,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -96,7 +97,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -112,7 +113,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -157,14 +158,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -179,7 +180,8 @@ db-version="9.3" info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -192,7 +194,8 @@ DEBUG: safe exit called, terminating threads info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db [ { @@ -203,7 +206,7 @@ DEBUG: Info->listStanza: stanza = db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -246,14 +249,15 @@ DEBUG: safe exit called, terminating threads full backup (resume) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -304,7 +308,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -338,7 +342,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -354,7 +358,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -399,15 +403,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -422,7 +426,8 @@ db-version="9.3" restore delta, backup '[BACKUP-FULL-2]' (add and delete files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -466,7 +471,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -474,8 +480,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -484,7 +490,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid system id) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -492,8 +499,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -502,7 +509,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid control version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -510,8 +518,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -520,7 +528,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid catalog version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -528,8 +537,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -538,7 +547,8 @@ DEBUG: safe exit called, terminating threads incr backup (add tablespace 1) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -546,8 +556,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -610,7 +620,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -644,7 +654,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -660,7 +670,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -715,17 +725,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -740,7 +750,8 @@ db-version="9.3" incr backup (resume and add tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -749,8 +760,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -827,7 +838,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -861,7 +872,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -877,7 +888,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -940,18 +951,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -966,7 +977,8 @@ db-version="9.3" diff backup (cannot resume - new diff) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -975,8 +987,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1049,7 +1061,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1083,7 +1095,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1099,7 +1111,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1162,19 +1174,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1189,7 +1201,8 @@ db-version="9.3" diff backup (cannot resume - disabled) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1198,8 +1211,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1272,7 +1285,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1306,7 +1319,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1322,7 +1335,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1385,20 +1398,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1413,7 +1426,8 @@ db-version="9.3" restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1429,31 +1443,34 @@ DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1528,7 +1545,8 @@ DEBUG: safe exit called, terminating threads incr backup (add files and remove tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1536,8 +1554,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1605,7 +1623,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1633,7 +1651,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1647,7 +1665,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1704,22 +1722,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1734,7 +1752,8 @@ db-version="9.3" incr backup (update files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1742,8 +1761,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1811,7 +1830,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1839,7 +1858,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -1853,7 +1872,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1910,24 +1929,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1942,7 +1961,8 @@ db-version="9.3" diff backup (no updates) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1950,8 +1970,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2021,7 +2041,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2049,7 +2069,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2063,7 +2083,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2120,26 +2140,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2154,7 +2174,8 @@ db-version="9.3" incr backup (remove files - but won't affect manifest) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2162,8 +2183,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2230,7 +2251,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2258,7 +2279,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2272,7 +2293,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2329,28 +2350,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2365,7 +2386,8 @@ db-version="9.3" diff backup (remove files during backup) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2373,8 +2395,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2440,7 +2462,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2468,7 +2490,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2482,7 +2504,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2537,30 +2559,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2575,13 +2597,14 @@ db-version="9.3" full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2648,7 +2671,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2676,7 +2699,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2690,7 +2713,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2745,32 +2768,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2785,7 +2808,8 @@ db-version="9.3" diff backup (add files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2793,8 +2817,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2862,7 +2886,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2890,7 +2914,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] compress=n @@ -2904,7 +2928,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2961,34 +2985,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":9657,"backup-info-repo-size-delta":9657,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10445,"backup-info-repo-size-delta":2246,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10928,"backup-info-repo-size-delta":2729,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10879,"backup-info-repo-size-delta":2662,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10948,"backup-info-repo-size-delta":2722,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10739,"backup-info-repo-size-delta":2544,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10996,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10431,"backup-info-repo-size-delta":2236,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10479,"backup-info-repo-size-delta":10479,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":10873,"backup-info-repo-size-delta":2639,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":false,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -3003,7 +3027,8 @@ db-version="9.3" restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -3063,7 +3088,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza stanza db status: ok @@ -3079,7 +3105,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza [ { @@ -3090,7 +3117,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3119,7 +3146,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3150,7 +3177,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3182,7 +3209,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3215,7 +3242,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3246,7 +3273,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3278,7 +3305,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3309,7 +3336,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3338,7 +3365,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3392,7 +3419,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3401,7 +3429,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/log/backup-synthetic-007.log b/test/log/backup-synthetic-007.log index 83ec0d410..919f884c3 100644 --- a/test/log/backup-synthetic-007.log +++ b/test/log/backup-synthetic-007.log @@ -4,13 +4,14 @@ run 007 - rmt 1, cmp 1, hardlink 0 full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -62,7 +63,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -94,7 +95,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -109,7 +110,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -154,14 +155,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -176,7 +177,8 @@ db-version="9.3" info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -189,7 +191,8 @@ DEBUG: safe exit called, terminating threads info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db [ { @@ -200,7 +203,7 @@ DEBUG: Info->listStanza: stanza = db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -243,14 +246,15 @@ DEBUG: safe exit called, terminating threads full backup (resume) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -305,7 +309,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -337,7 +341,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -352,7 +356,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -397,15 +401,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -420,7 +424,8 @@ db-version="9.3" restore delta, backup '[BACKUP-FULL-2]' (add and delete files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -464,7 +469,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -472,8 +478,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -482,7 +488,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid system id) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -490,8 +497,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -500,7 +507,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid control version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -508,8 +516,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -518,7 +526,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid catalog version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -526,8 +535,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -536,7 +545,8 @@ DEBUG: safe exit called, terminating threads incr backup (add tablespace 1) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -544,8 +554,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -597,7 +607,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -629,7 +639,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -644,7 +654,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -699,17 +709,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -724,7 +734,8 @@ db-version="9.3" incr backup (resume and add tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -733,8 +744,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -793,7 +804,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -825,7 +836,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -840,7 +851,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -903,18 +914,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -929,7 +940,8 @@ db-version="9.3" diff backup (cannot resume - new diff) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -938,8 +950,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -999,7 +1011,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1031,7 +1043,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1046,7 +1058,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1109,19 +1121,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1136,7 +1148,8 @@ db-version="9.3" diff backup (cannot resume - disabled) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1145,8 +1158,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1206,7 +1219,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1238,7 +1251,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1253,7 +1266,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1316,20 +1329,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1344,7 +1357,8 @@ db-version="9.3" restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1360,31 +1374,34 @@ DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1459,7 +1476,8 @@ DEBUG: safe exit called, terminating threads incr backup (add files and remove tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1467,8 +1485,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1523,7 +1541,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -1549,7 +1567,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -1562,7 +1580,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1619,22 +1637,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1649,7 +1667,8 @@ db-version="9.3" incr backup (update files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1657,8 +1676,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1709,7 +1728,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -1735,7 +1754,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -1748,7 +1767,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1805,24 +1824,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1837,7 +1856,8 @@ db-version="9.3" diff backup (no updates) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1845,8 +1865,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1909,7 +1929,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -1935,7 +1955,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -1948,7 +1968,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2005,26 +2025,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2039,7 +2059,8 @@ db-version="9.3" incr backup (remove files - but won't affect manifest) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2047,8 +2068,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2094,7 +2115,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2120,7 +2141,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2133,7 +2154,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2190,28 +2211,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2226,7 +2247,8 @@ db-version="9.3" diff backup (remove files during backup) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2234,8 +2256,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2292,7 +2314,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2318,7 +2340,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2331,7 +2353,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2386,30 +2408,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2424,13 +2446,14 @@ db-version="9.3" full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2497,7 +2520,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2523,7 +2546,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2536,7 +2559,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2591,32 +2614,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2631,7 +2654,8 @@ db-version="9.3" diff backup (add files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2639,8 +2663,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2691,7 +2715,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2717,7 +2741,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2730,7 +2754,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2787,34 +2811,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1669,"backup-info-repo-size-delta":1669,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2497,"backup-info-repo-size-delta":2286,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3000,"backup-info-repo-size-delta":2789,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2971,"backup-info-repo-size-delta":2702,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3040,"backup-info-repo-size-delta":2742,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2831,"backup-info-repo-size-delta":2644,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3088,"backup-info-repo-size-delta":2762,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2483,"backup-info-repo-size-delta":2296,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2551,"backup-info-repo-size-delta":2551,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2965,"backup-info-repo-size-delta":2659,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":false,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2829,7 +2853,8 @@ db-version="9.3" restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -2889,7 +2914,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza stanza db status: ok @@ -2905,7 +2931,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza [ { @@ -2916,7 +2943,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2945,7 +2972,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -2976,7 +3003,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3008,7 +3035,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3041,7 +3068,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3072,7 +3099,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3104,7 +3131,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3135,7 +3162,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3164,7 +3191,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3218,7 +3245,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3227,7 +3255,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/log/backup-synthetic-008.log b/test/log/backup-synthetic-008.log index 13caf5e1f..19f65bee9 100644 --- a/test/log/backup-synthetic-008.log +++ b/test/log/backup-synthetic-008.log @@ -4,13 +4,14 @@ run 008 - rmt 1, cmp 1, hardlink 1 full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -62,7 +63,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -95,7 +96,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -110,7 +111,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -155,14 +156,14 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -177,7 +178,8 @@ db-version="9.3" info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -190,7 +192,8 @@ DEBUG: safe exit called, terminating threads info db > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = db [ { @@ -201,7 +204,7 @@ DEBUG: Info->listStanza: stanza = db "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -244,14 +247,15 @@ DEBUG: safe exit called, terminating threads full backup (resume) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-FULL-1] is missing from the repository - removed from backup.info -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -306,7 +310,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -339,7 +343,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -354,7 +358,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -399,15 +403,15 @@ pg_tblspc={"group":"[GROUP-1]","mode":"0700","user":"[USER-1]"} --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -422,7 +426,8 @@ db-version="9.3" restore delta, backup '[BACKUP-FULL-2]' (add and delete files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -466,7 +471,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -474,8 +480,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 8.0, system-id = 6156904820763115222 HINT: are you backing up to the correct stanza? @@ -484,7 +490,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid system id) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -492,8 +499,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database version = 9.3, system-id 6156904820763115222 does not match backup version = 9.3, system-id = 6999999999999999999 HINT: are you backing up to the correct stanza? @@ -502,7 +509,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid control version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -510,8 +518,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 842, catalog-version = 201306121 HINT: this may be a symptom of database or repository corruption! @@ -520,7 +528,8 @@ DEBUG: safe exit called, terminating threads incr backup (invalid catalog version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -528,8 +537,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 ERROR: [126]: database control-version = 937, catalog-version 201306121 does not match backup control-version = 937, catalog-version = 197208141 HINT: this may be a symptom of database or repository corruption! @@ -538,7 +547,8 @@ DEBUG: safe exit called, terminating threads incr backup (add tablespace 1) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -546,8 +556,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -610,7 +620,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -643,7 +653,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -658,7 +668,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -713,17 +723,17 @@ tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -738,7 +748,8 @@ db-version="9.3" incr backup (resume and add tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -747,8 +758,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -826,7 +837,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -859,7 +870,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -874,7 +885,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -937,18 +948,18 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -963,7 +974,8 @@ db-version="9.3" diff backup (cannot resume - new diff) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -972,8 +984,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-INCR-2] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1046,7 +1058,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1079,7 +1091,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1094,7 +1106,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1157,19 +1169,19 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1184,7 +1196,8 @@ db-version="9.3" diff backup (cannot resume - disabled) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1193,8 +1206,8 @@ DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db WARN: backup [BACKUP-DIFF-1] is missing from the repository - removed from backup.info DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid DEBUG: Manifest->build @@ -1267,7 +1280,7 @@ backup-user=backrest # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1300,7 +1313,7 @@ start-fast=y # psql command and options [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest # general settings for all operations [global:general] @@ -1315,7 +1328,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1378,20 +1391,20 @@ tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","group":" --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1406,7 +1419,8 @@ db-version="9.3" restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1422,31 +1436,34 @@ DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef] DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false -ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. +ERROR: [104]: format of [TEST_PATH]/db/common/backup.manifest is 0 but 4 is required by this version of PgBackRest. DEBUG: safe exit called, terminating threads restore, backup '[BACKUP-DIFF-2]', remap (remap all paths) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1521,7 +1538,8 @@ DEBUG: safe exit called, terminating threads incr backup (add files and remove tablespace 2) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1529,8 +1547,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1598,7 +1616,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -1625,7 +1643,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -1638,7 +1656,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1695,22 +1713,22 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1725,7 +1743,8 @@ db-version="9.3" incr backup (update files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1733,8 +1752,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-INCR-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -1802,7 +1821,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -1829,7 +1848,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -1842,7 +1861,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -1899,24 +1918,24 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -1931,7 +1950,8 @@ db-version="9.3" diff backup (no updates) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -1939,8 +1959,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2010,7 +2030,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2037,7 +2057,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2050,7 +2070,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2107,26 +2127,26 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2141,7 +2161,8 @@ db-version="9.3" incr backup (remove files - but won't affect manifest) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = incr DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2149,8 +2170,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 1, incremental = 1: ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse - INFO: last backup label = [BACKUP-DIFF-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2217,7 +2238,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2244,7 +2265,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2257,7 +2278,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2314,28 +2335,28 @@ tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2350,7 +2371,8 @@ db-version="9.3" diff backup (remove files during backup) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1 ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2358,8 +2380,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-2], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2425,7 +2447,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2452,7 +2474,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2465,7 +2487,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2520,30 +2542,30 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2558,13 +2580,14 @@ db-version="9.3" full backup > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = full DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2631,7 +2654,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2658,7 +2681,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2671,7 +2694,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2726,32 +2749,32 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2766,7 +2789,8 @@ db-version="9.3" diff backup (add files) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-1], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1] INFO: backup start: type = diff DEBUG: cluster path is [TEST_PATH]/db/common-2 DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef] @@ -2774,8 +2798,8 @@ DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db DEBUG: BackupInfo->new: backupClusterPath = [TEST_PATH]/backrest/backup/db DEBUG: BackupCommon::backupRegExpGet: full = 1, differential = 0, incremental = 0: ^[0-9]{8}\-[0-9]{6}F$ DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse - INFO: last backup label = [BACKUP-FULL-3], version = 0.75 -DEBUG: Db->info(): isRemote = true, dbPath = [TEST_PATH]/db/common-2 + INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1] +DEBUG: Db->info(): dbPath = [TEST_PATH]/db/common-2, isRemote = true DEBUG: Db->info=>: dbVersion = 9.3, controlVersion = 937, catalogVersion = 201306121, dbSysId = 6156904820763115222 DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid DEBUG: Manifest->build @@ -2843,7 +2867,7 @@ backup-user=backrest [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/local @@ -2870,7 +2894,7 @@ start-fast=y [global:command] cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db -cmd-remote=[BACKREST_BIN_PATH]/pg_backrest_remote +cmd-remote=[BACKREST_BIN_PATH]/pg_backrest [global:general] repo-path=[TEST_PATH]/backrest @@ -2883,7 +2907,7 @@ log-level-file=trace ----------------------------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup] @@ -2940,34 +2964,34 @@ tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","group": --------------------------------------------------------------- [backrest] backrest-checksum="[CHECKSUM]" -backrest-format=[FORMAT-1] +backrest-format=4 backrest-version="[VERSION-1]" [backup:current] -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [backup:history] -[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} -[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"0.75","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":1668,"backup-info-repo-size-delta":1668,"backup-info-size":8199,"backup-info-size-delta":8199,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2496,"backup-info-repo-size-delta":2285,"backup-info-size":8217,"backup-info-size-delta":18,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-1]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-2]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2999,"backup-info-repo-size-delta":2788,"backup-info-size":8224,"backup-info-size-delta":25,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2970,"backup-info-repo-size-delta":2701,"backup-info-size":8230,"backup-info-size-delta":13,"backup-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3039,"backup-info-repo-size-delta":2741,"backup-info-size":8234,"backup-info-size-delta":8,"backup-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2830,"backup-info-repo-size-delta":2643,"backup-info-size":8234,"backup-info-size-delta":39,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-INCR-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":3087,"backup-info-repo-size-delta":2761,"backup-info-size":8234,"backup-info-size-delta":0,"backup-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-4]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2482,"backup-info-repo-size-delta":2295,"backup-info-size":8225,"backup-info-size-delta":30,"backup-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-FULL-3]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2550,"backup-info-repo-size-delta":2550,"backup-info-size":8234,"backup-info-size-delta":8234,"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} +[BACKUP-DIFF-5]={"backrest-format":4,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":2964,"backup-info-repo-size-delta":2658,"backup-info-size":8243,"backup-info-size-delta":9,"backup-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-compress":true,"option-hardlink":true,"option-start-stop":false} [db] db-catalog-version=201306121 @@ -2982,7 +3006,8 @@ db-version="9.3" restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = db, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: Restoring backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -3042,7 +3067,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza stanza db status: ok @@ -3058,7 +3084,8 @@ DEBUG: safe exit called, terminating threads info > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = [undef], remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza [ { @@ -3069,7 +3096,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3098,7 +3125,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3129,7 +3156,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3161,7 +3188,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3194,7 +3221,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3225,7 +3252,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3257,7 +3284,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3288,7 +3315,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3317,7 +3344,7 @@ DEBUG: Info->listStanza "stop" : null }, "backrest" : { - "format" : [FORMAT-1], + "format" : 4, "version" : "[VERSION-1]" }, "database" : { @@ -3371,7 +3398,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3380,7 +3408,8 @@ DEBUG: safe exit called, terminating threads info bogus > ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new: host = 127.0.0.1, user = [USER-2], stanza = bogus, remote-repo-path = [TEST_PATH]/backrest, command = [BACKREST_BIN_PATH]/pg_backrest_remote +DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/test.pl b/test/test.pl index fc87d2a55..12647ccba 100755 --- a/test/test.pl +++ b/test/test.pl @@ -16,10 +16,12 @@ use File::Basename; use Getopt::Long; use Cwd 'abs_path'; use Pod::Usage; +use Scalar::Util qw(blessed); #use Test::More; use lib dirname($0) . '/../lib'; use BackRest::Db; +use BackRest::Ini; use BackRest::Utility; use lib dirname($0) . '/lib'; @@ -44,8 +46,8 @@ test.pl [options] Test Options: --module test module to execute: - --module-test execute the specified test in a module - --module-test-run execute only the specified test run + --test execute the specified test in a module + --run execute only the specified test run --thread-max max threads to run for backup/restore (default 4) --dry-run show only the tests that would be executed but don't execute them --no-cleanup don't cleaup after the last test is complete - useful for debugging @@ -90,8 +92,8 @@ GetOptions ('q|quiet' => \$bQuiet, 'test-path=s' => \$strTestPath, 'log-level=s' => \$strLogLevel, 'module=s' => \$strModule, - 'module-test=s' => \$strModuleTest, - 'module-test-run=s' => \$iModuleTestRun, + 'test=s' => \$strModuleTest, + 'run=s' => \$iModuleTestRun, 'thread-max=s' => \$iThreadMax, 'dry-run' => \$bDryRun, 'no-cleanup' => \$bNoCleanup, @@ -156,7 +158,14 @@ my $strVersionSupport = versionSupport(); if (!defined($strPgSqlBin)) { - my @strySearchPath = ('/usr/lib/postgresql/VERSION/bin', '/Library/PostgreSQL/VERSION/bin'); + # Distribution-specific paths where the PostgreSQL binaries may be located + my @strySearchPath = + ( + '/usr/lib/postgresql/VERSION/bin', # Debian/Ubuntu + '/usr/pgsql-VERSION/bin', # CentOS/RHEL/Fedora + '/Library/PostgreSQL/VERSION/bin', # OSX + '/usr/local/bin' # BSD + ); foreach my $strSearchPath (@strySearchPath) { @@ -178,7 +187,7 @@ if (!defined($strPgSqlBin)) } # Make sure at least one version of postgres was found - @{$strVersionSupport} > 0 + @stryTestVersion > 0 or confess 'pgsql-bin was not defined and postgres could not be located automatically'; } else @@ -198,7 +207,6 @@ if ($iThreadMax < 1 || $iThreadMax > 32) my $hReadMe; my $strLine; my $bMatch = false; -my $strVersion = version_get(); if (!open($hReadMe, '<', dirname($0) . '/../README.md')) { @@ -209,35 +217,26 @@ while ($strLine = readline($hReadMe)) { if ($strLine =~ /^\#\#\# v/) { - $bMatch = substr($strLine, 5, length($strVersion)) eq $strVersion; + $bMatch = substr($strLine, 5, length(BACKREST_VERSION)) eq BACKREST_VERSION; last; } } if (!$bMatch) { - confess "unable to find version ${strVersion} as last revision in README.md"; + confess 'unable to find version ' . BACKREST_VERSION . ' as last revision in README.md'; } #################################################################################################################################### # Clean whitespace only if test.pl is being run from the test directory in the backrest repo #################################################################################################################################### -my $hVersion; - -if (-e './test.pl' && -e '../bin/pg_backrest.pl' && open($hVersion, '<', '../VERSION')) +if (-e './test.pl' && -e '../bin/pg_backrest') { - my $strTestVersion = readline($hVersion); - - if (defined($strTestVersion) && $strVersion eq trim($strTestVersion)) - { - BackRestTestCommon_Execute( - "find .. -type f -not -path \"../.git/*\" -not -path \"*.DS_Store\" -not -path \"../test/test/*\" " . - "-not -path \"../test/data/*\" " . - "-exec sh -c 'for i;do echo \"\$i\" && sed 's/[[:space:]]*\$//' \"\$i\">/tmp/.\$\$ && cat /tmp/.\$\$ " . - "> \"\$i\";done' arg0 {} + > /dev/null", false, true); - } - - close($hVersion); + BackRestTestCommon_Execute( + "find .. -type f -not -path \"../.git/*\" -not -path \"*.DS_Store\" -not -path \"../test/test/*\" " . + "-not -path \"../test/data/*\" " . + "-exec sh -c 'for i;do echo \"\$i\" && sed 's/[[:space:]]*\$//' \"\$i\">/tmp/.\$\$ && cat /tmp/.\$\$ " . + "> \"\$i\";done' arg0 {} + > /dev/null", false, true); } #################################################################################################################################### @@ -307,9 +306,8 @@ if ($@) my $oMessage = $@; # If a backrest exception then return the code - don't confess - if ($oMessage->isa('BackRest::Exception')) + if (blessed($oMessage) && $oMessage->isa('BackRest::Exception')) { - # syswrite(*STDOUT, $oMessage->message() . "\n"); syswrite(*STDOUT, $oMessage->trace()); exit $oMessage->code(); }