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
ca6823986d
Sample install file.
2014-06-07 16:29:03 -04:00
David Steele
58e70422ac
Testing install.md
2014-06-07 16:27:30 -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
0a8a5c7ed4
Refactoring - added version file.
2014-06-07 16:06:46 -04:00
David Steele
ea1a158d82
Improved logging.
2014-06-07 15:30:13 -04:00
David Steele
e60e2b22ed
Much improved param protocol.
2014-06-07 15:01:29 -04:00
David Steele
e07a6b4e3f
Cleaner remote implementation.
2014-06-07 13:15:55 -04:00
David Steele
1bc80c50ed
First passing test with new protocol.
2014-06-07 11:51:27 -04:00
David Steele
ae130229ef
Working on remote protocol.
2014-06-06 21:16:24 -04:00
David Steele
e71a986ef3
More work on copy()
2014-06-05 23:51:27 -04:00
David Steele
e44cd6c1ca
More paths through copy() working.
2014-06-05 22:42:47 -04:00
David Steele
ca6b435c4f
June Hackathon: copy_in and copy_out functions written, some paths through File->copy() working, basic unit tests setup.
2014-06-05 16:40:05 -04:00
David Steele
c2dd53f908
Changes to allow specific tests to be run.
2014-06-05 10:20:03 -04:00
David Steele
5813aedaa3
Added recognition section to read me.
2014-06-05 09:59:04 -04:00
David Steele
5d09af9cc0
Better include markdown.
2014-06-04 13:47:17 -04:00
David Steele
82814aebdd
Whitespace cleaning.
2014-06-04 11:58:30 -04:00
David Steele
1793b7a5c4
Comments and formatting.
2014-06-03 22:02:56 -04:00
David Steele
1b9782cb9e
Converted path_create(), improved unit tests.
2014-06-03 21:22:07 -04:00
David Steele
ffa45d07bf
New version of move().
2014-06-03 19:03:03 -04:00
David Steele
816c67edfd
Converted File::compress
2014-06-02 17:48:07 -04:00
David Steele
0249d3516b
Manifest is working (unit tests at least).
2014-06-02 16:26:37 -04:00
David Steele
361c2c24bf
Working on manifest.
2014-06-01 18:39:35 -04:00
David Steele
0338369193
Working on more robust file functions.
2014-06-01 17:23:33 -04:00
David Steele
85f591f801
More unit tests for file functions.
2014-05-27 09:00:24 -04:00
David Steele
3e12f9230b
Working on unit tests for file_copy. Still need to add specific error tests, timestamp, and permissions.
2014-05-14 15:07:37 -04:00
David Steele
db40553434
Changed version.
2014-05-13 16:41:20 -04:00
David Steele
1fa8dbb778
v0.19: Improved error reporting/handling
...
* Working on improving error handling in the file object. This is not complete, but works well enough to find a few errors that have been causing us problems (notably, find is occasionally failing building the archive async manifest when system is under load).
* Found and squashed a nasty bug where file_copy was defaulted to ignore errors. There was also an issue in file_exists that was causing the test to fail when the file actually did exist. Together they could have resulted in a corrupt backup with no errors, though it is very unlikely.
2014-05-13 11:47:14 -04:00
David Steele
d234aeea64
More work on error-handling.
2014-05-13 11:23:15 -04:00
David Steele
a2b28623d4
Working on better error handling.
2014-04-28 09:13:25 -04:00
David Steele
53fa574d7e
Merge branch 'master' of github.com:dwsteele/pg_backrest into dev
2014-04-13 11:58:35 -04:00
David Steele
9acbba173e
v0.18: Return soft error from archive-get when file is missing
...
* The archive-get function returns a 1 when the archive file is missing to differentiate from hard errors (ssh connection failure, file copy error, etc.) This lets Postgres know that that the archive stream has terminated normally. However, this does not take into account possible holes in the archive stream.
2014-04-13 09:51:51 -04:00
David Steele
d8c488f73f
Added the feature backlog.
2014-04-11 14:15:56 -04:00
David Steele
06b8eefd19
Fixed up README
2014-04-03 18:20:46 -04:00
David Steele
7aa6c8ecaf
v0.17: Warn when archive directories cannot be deleted
...
* If an archive directory which should be empty could not be deleted backrest was throwing an error. There's a good fix for that coming, but for the time being it has been changed to a warning so processing can continue. This was impacting backups as sometimes the final archive file would not get pushed if the first archive file had been in a different directory (plus some bad luck).
2014-04-03 18:17:40 -04:00
David Steele
49536498e6
Warning for non-empty dirs instead of error
2014-04-03 16:52:39 -04:00
David Steele
194696f674
Working on unit tests.
2014-04-02 17:25:37 -04:00
David Steele
9a5bb36c0f
Added notes.
2014-04-01 21:41:34 -04:00
David Steele
be1163b948
v0.16: RequestTTY=yes for SSH sessions
...
* Added RequestTTY=yes to ssh sesssions. Hoping this will prevent random lockups.
2014-04-01 10:49:37 -04:00
David Steele
235c75b1b0
Added ;
2014-04-01 09:01:34 -04:00
David Steele
7624d65edf
Added TTY code.
2014-04-01 08:59:09 -04:00
David Steele
2b8972936f
Updates to README.
2014-03-30 21:02:17 -04:00