50e015a838
Revert "Abortive attempt at cleaning up some thread issues - I realized the issue is in mixing threads and objects too liberally. Trying another approach but want to keep this code for historical and reference purposes."
...
This reverts commit e95631f82a
.
2015-01-30 18:58:49 -05:00
e95631f82a
Abortive attempt at cleaning up some thread issues - I realized the issue is in mixing threads and objects too liberally. Trying another approach but want to keep this code for historical and reference purposes.
2015-01-30 14:55:55 -05:00
13544d51bf
Recovery is working for none and default, but unit tests are not complete.
2015-01-27 11:44:23 -05:00
425e9485aa
Re-added File-hash() - accidentally deleted it when working on owner().
2015-01-08 16:36:45 -05:00
2e09df2cec
More work on new manifest object.
2015-01-08 12:04:56 -05:00
0085e88966
Added File-owner()
2015-01-07 12:58:21 -05:00
d6d57e654e
Fixed the way wait was done after the manifest is created. Previously, waits were done for base and each tablespace which is not very efficient. Now one wait is done after the entire manifest is built. Also storing the exact time that copy began.
2015-01-06 13:08:56 -05:00
43098086af
Implemented timestamp last modified to record the time of the last modified file in the backup. Also added timestamp-db-start and timestamp-db-stop to for more info. timestamp-db-start can be used for PITR.
2015-01-03 16:49:26 -05:00
91b06bef47
File->manifest detects files that are modified in the future.
2015-01-03 14:22:59 -05:00
2e080eedb8
Added an optional delay after manifest build so that files are not copied in the same second that the manifest is built. This can result in (admittedly unlikely) race conditions that can produce an invalid backup. I was also able to reduce the sleep types when waiting for thread termination - so unit test times are improved by almost 100%.
2015-01-02 14:18:07 -05:00
fb948de559
Fixed some minor issues in ownership code found by unit tests.
2014-12-31 12:28:16 -05:00
7e083e8749
Restore as root is now working.
2014-12-31 11:20:46 -05:00
0805055d4b
More work on restore ownership code.
2014-12-30 15:41:43 -05:00
46ba3a18df
Ownership code runs through - may not work for all cases.
2014-12-30 11:59:57 -05:00
9f8f33f957
Working on restore options and integration with unit tests.
2014-12-23 18:52:38 -05:00
9086728b73
Restore removes paths/files/links and recreated paths/links.
2014-12-21 10:11:17 -05:00
2c173ba53e
Removed moose from File object.
2014-10-10 15:13:28 -04:00
4cbc6c650a
File->hash now works on compressed files.
2014-10-02 13:54:26 -04:00
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
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
bdbdaf39d3
Work in progress - new hash method.
2014-09-29 19:08:08 -04:00
7b1039dbe2
Fixed error message.
2014-09-18 17:39:24 -04:00
535f32c827
Removed old unit tests.
2014-09-18 17:24:40 -04:00
48b0e0d461
Using ' instead of " where appropriate.
2014-09-16 08:15:49 -04:00
0298e8dd16
Created unit tests for files deleted by the db during backup.
2014-08-10 15:02:14 -04:00
d0ca69d433
Integrating IPC::Run - IPC::Open3 is out.
2014-06-30 18:35:05 -04:00
934b7dbe9b
De/compression is now done in threads instead of forked processes.
2014-06-29 17:23:34 -04:00
c85413ec68
Lots of improvements to unit tests. A few bug fixes.
2014-06-29 10:53:39 -04:00
f9ec149ffe
Working on unit tests.
2014-06-28 14:32:34 -04:00
97b9560e5c
Fixed binary_xfer() issue. Now seems to work in all cases.
2014-06-28 11:47:21 -04:00
e1829bb2d2
First fully working backup in a while.
2014-06-23 18:54:00 -04:00
5d01aac92e
Working on backup - mostly working except for the last archive step.
2014-06-22 16:05:00 -04:00
f91dce259f
Working on backup unit tests.
2014-06-22 14:51:28 -04:00
3c748c4b10
More work on unit tests.
2014-06-22 10:54:31 -04:00
0b597d8da9
Working on getting backup running again.
2014-06-22 10:30:17 -04:00
0dd15dd216
Cleanup.
2014-06-21 20:08:49 -04:00
753fa11b5d
remove() and hash() now working.
2014-06-21 19:16:55 -04:00
7c161be995
manifest() and list() are working.
2014-06-21 18:19:37 -04:00
53f1d3c78e
path_create() working.
2014-06-21 15:46:26 -04:00
7bc464a44b
Working on BackRest::File methods.
2014-06-21 15:17:09 -04:00
936b8d0db0
move() is working.
2014-06-21 14:19:03 -04:00
80206a28e9
Ignore missing source in copy() working.
2014-06-21 12:22:25 -04:00
e1903d53d0
copy() works when both files are local or both files are remote.
2014-06-21 11:05:29 -04:00
4a113cae66
Better error handling for missing source file in copy().
2014-06-21 10:05:49 -04:00
3af5239800
Various compression options working in copy().
2014-06-21 08:42:30 -04:00
08750f2fda
Still working on copy().
2014-06-16 06:12:38 -04:00
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
d162ce203d
Trying to get various compression options working in copy().
2014-06-15 18:32:43 -04:00
9526975ad3
Cleanup, comments.
2014-06-15 16:53:20 -04:00
adf654edb3
In-stream compression now working in copy.
2014-06-15 15:56:45 -04:00