1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
Commit Graph

180 Commits

Author SHA1 Message Date
David Steele
aafc0fef69 Removed Moose from the Db object. 2014-10-10 16:03:33 -04:00
David Steele
2c173ba53e Removed moose from File object. 2014-10-10 15:13:28 -04:00
David Steele
c1d6890c60 More Moose removal. 2014-10-09 16:01:06 -04:00
David Steele
3d86adadb5 Remote object now using ProcessAsync for de/compression.
Removed dependency on Moose from Remote.
2014-10-08 13:54:31 -04:00
David Steele
de35cedc27 Working on getting async process thread into Remote.pl 2014-10-05 18:52:05 -04:00
David Steele
122dc65351 Added compress and checksum settings to backup manifest. 2014-10-03 09:31:23 -04:00
David Steele
fbc2ae1325 Fixed function names in comments. 2014-10-02 14:34:58 -04:00
David Steele
4cbc6c650a File->hash now works on compressed files. 2014-10-02 13:54:26 -04:00
David Steele
991afe3b16 Merge from dev-0.30.
Squashed commit of the following:

commit f3a012eb86702297ac06c9ae7c3da6a2eae41136
Author: David Steele <david@pgmasters.net>
Date:   Wed Oct 1 19:05:57 2014 -0400

    Fixed an issue where archive-get was not returning 1 if the archive directory did not exist.  This happens when it is trying to retrieve archive log 00 and that has not been pushed from the master yet.
2014-10-02 10:55:38 -04:00
David Steele
168398e58a Merge from dev-0.30.
Squashed commit of the following:

commit 2e90e165f5717ffef932996e00227dc78d47f23a
Author: David Steele <david@pgmasters.net>
Date:   Tue Sep 30 15:50:07 2014 -0400

    Removed outdated conf sample.

commit d32f7690ca99c98bc8cef5011de29f4b3a05bf90
Author: David Steele <david@pgmasters.net>
Date:   Tue Sep 30 15:44:25 2014 -0400

    Suppress error message from being logged when a file is removed by the db during the backup.  The exception was being caught and the backup was successful, but the error message was being logged to stdout and the log file which is confusing.

commit 9ea52d9703da833aa3c215dbadfee60472ffad2a
Author: David Steele <david@pgmasters.net>
Date:   Tue Sep 30 11:13:55 2014 -0400

    File->manifest now ignores missing files and paths while running.
2014-09-30 15:51:08 -04:00
David Steele
5f30ae3c46 Merge branch 'dev-0.30' of https://github.com/dwsteele/pg_backrest into dev 2014-09-29 19:51:51 -04:00
David Steele
bdbdaf39d3 Work in progress - new hash method. 2014-09-29 19:08:08 -04:00
David Steele
82b0bc0e72 Fixed relative path issue in archive-get. 2014-09-29 22:51:02 +00:00
David Steele
7ed6587c42 ISSUE-11: Added --no-start-stop and --force options. 2014-09-19 17:51:51 -04:00
David Steele
07801a9a3c Changed timestamp keys to be more consistent. 2014-09-19 11:22:26 -04:00
David Steele
7b1039dbe2 Fixed error message. 2014-09-18 17:39:24 -04:00
David Steele
535f32c827 Removed old unit tests. 2014-09-18 17:24:40 -04:00
David Steele
6ac124493d Added prior backup label to backup.manifest 2014-09-18 16:42:13 -04:00
David Steele
82f22dd9fe Documentation for config functions. 2014-09-18 16:41:36 -04:00
David Steele
fd12299ecd Some fixes in test logging. 2014-09-18 15:18:52 -04:00
David Steele
06ad947102 Using ' instead of " where appropriate. 2014-09-16 11:22:55 -04:00
David Steele
65f89bd643 Using ' instead of " where appropriate. 2014-09-16 08:55:40 -04:00
David Steele
4d8c97eb55 Using ' instead of " where appropriate. 2014-09-16 08:21:29 -04:00
David Steele
48b0e0d461 Using ' instead of " where appropriate. 2014-09-16 08:15:49 -04:00
David Steele
b9b038b328 Added docs and fixed spaces. 2014-09-14 20:06:45 -04:00
David Steele
ab7323711f Fixed issue in archive extension. 2014-09-14 17:07:44 -04:00
David Steele
cfe8851174 A few more fixes for differential. 2014-09-14 16:48:33 -04:00
David Steele
c0d81f0d10 Fixed issues in differential expiration. 2014-09-14 16:30:53 -04:00
David Steele
9555775d72 Retention defaults, single-quotes. 2014-09-14 15:55:27 -04:00
David Steele
6315d326ea Fixed a few issues in manifest. 2014-09-14 15:31:56 -04:00
David Steele
679005e537 Some cleanup of the diff/incr code. 2014-08-14 09:40:20 -04:00
David Steele
3798071c5f Added backup.manifest change to last commit. 2014-08-12 20:01:36 -04:00
David Steele
e8e7c82b14 pg_backrest.pl returns version.
Version is also stored in the backup path in the version and backup.manifest files.
Merged the two date string functions.
2014-08-12 20:00:52 -04:00
David Steele
b48a7e6cc2 The backup label (and path name) are now created at the end of the backup instead of the beginning. This makes selecting a backup for PITR much easier. 2014-08-12 19:17:16 -04:00
David Steele
672c6b2ccb Backup start/stop timestamp now stored in backup.manifest 2014-08-12 19:04:46 -04:00
David Steele
6b4a8fbc21 Unit tests now working on Ubuntu 12.04 2014-08-10 21:22:17 -04:00
David Steele
0298e8dd16 Created unit tests for files deleted by the db during backup. 2014-08-10 15:02:14 -04:00
David Steele
09e2351ae8 Test log mode is working. 2014-08-09 18:35:55 -04:00
David Steele
2d9f027e3a Cleanup, work on test framework. 2014-07-27 18:13:23 -04:00
David Steele
6f4310db42 Changes for testing - finished changing config to local implementation. 2014-07-27 14:03:21 -04:00
David Steele
06b5ee3f75 Working on new config load/save functions and unit tests. 2014-07-16 23:38:38 -04:00
David Steele
9ad1d79f00 Unit tests for archive-get. 2014-07-16 19:15:56 -04:00
David Steele
8d398e4bff Starting on archive unit tests. 2014-07-13 10:37:16 -04:00
David Steele
375545320d Added tests for large files (16MB archive log).
Fixed a sync error in binary_xfer().
2014-07-13 09:13:19 -04:00
David Steele
353cdb6b31 Local archiving is working again. 2014-07-12 19:03:39 -04:00
David Steele
d0ca69d433 Integrating IPC::Run - IPC::Open3 is out. 2014-06-30 18:35:05 -04:00
David Steele
934b7dbe9b De/compression is now done in threads instead of forked processes. 2014-06-29 17:23:34 -04:00
David Steele
c85413ec68 Lots of improvements to unit tests. A few bug fixes. 2014-06-29 10:53:39 -04:00
David Steele
f9ec149ffe Working on unit tests. 2014-06-28 14:32:34 -04:00
David Steele
97b9560e5c Fixed binary_xfer() issue. Now seems to work in all cases. 2014-06-28 11:47:21 -04:00
David Steele
9c160a03e3 Some refinements to compression. 2014-06-23 19:08:36 -04:00
David Steele
e1829bb2d2 First fully working backup in a while. 2014-06-23 18:54:00 -04:00
David Steele
88bbbb4222 Fighting with a relative path issue in archive logging. 2014-06-22 20:19:13 -04:00
David Steele
5d01aac92e Working on backup - mostly working except for the last archive step. 2014-06-22 16:05:00 -04:00
David Steele
f91dce259f Working on backup unit tests. 2014-06-22 14:51:28 -04:00
David Steele
3c748c4b10 More work on unit tests. 2014-06-22 10:54:31 -04:00
David Steele
0b597d8da9 Working on getting backup running again. 2014-06-22 10:30:17 -04:00
David Steele
0dd15dd216 Cleanup. 2014-06-21 20:08:49 -04:00
David Steele
753fa11b5d remove() and hash() now working. 2014-06-21 19:16:55 -04:00
David Steele
7c161be995 manifest() and list() are working. 2014-06-21 18:19:37 -04:00
David Steele
53f1d3c78e path_create() working. 2014-06-21 15:46:26 -04:00
David Steele
7bc464a44b Working on BackRest::File methods. 2014-06-21 15:17:09 -04:00
David Steele
936b8d0db0 move() is working. 2014-06-21 14:19:03 -04:00
David Steele
80206a28e9 Ignore missing source in copy() working. 2014-06-21 12:22:25 -04:00
David Steele
e1903d53d0 copy() works when both files are local or both files are remote. 2014-06-21 11:05:29 -04:00
David Steele
4a113cae66 Better error handling for missing source file in copy(). 2014-06-21 10:05:49 -04:00
David Steele
3af5239800 Various compression options working in copy(). 2014-06-21 08:42:30 -04:00
David Steele
08750f2fda Still working on copy(). 2014-06-16 06:12:38 -04:00
David Steele
0b3b743f5a Stupid compress issue was in the unit test - but did tighten up the code a bit. 2014-06-15 19:18:26 -04:00
David Steele
d162ce203d Trying to get various compression options working in copy(). 2014-06-15 18:32:43 -04:00
David Steele
9526975ad3 Cleanup, comments. 2014-06-15 16:53:20 -04:00
David Steele
adf654edb3 In-stream compression now working in copy. 2014-06-15 15:56:45 -04:00
David Steele
f51c06119c copy() works through multiple runs an multiple remotes. 2014-06-15 09:32:11 -04:00
David Steele
d568b6525b copy() works with remote in either direction. 2014-06-14 20:47:32 -04:00
David Steele
79f85fe6c4 Finally a working copy() with new protocol. 2014-06-14 19:50:54 -04:00
David Steele
3a32363a56 Working on copy. 2014-06-12 21:56:20 -04:00
David Steele
976bafca9e Added new tests. 2014-06-07 17:29:11 -04:00
David Steele
166318d00d Moved remaining libraries and other files. 2014-06-07 16:25:20 -04:00
David Steele
31b05eaab3 Moved pg_backrest_utility. 2014-06-07 16:13:41 -04:00
David Steele
1bc80c50ed First passing test with new protocol. 2014-06-07 11:51:27 -04:00