Commit Graph
100 Commits
Author SHA1 Message Date
Konstantin Knizhnik 9d8b4d8655 Extens page bitmap by doubling its size 2020-09-02 19:28:44 +03:00
Konstantin Knizhnik 9bd2bea0b7 Wait remote agent to complete its work 2020-03-13 19:57:15 +03:00
Konstantin KnizhnikandGrigory Smolkin 7d78d501a5 Decompress on agent's size 2020-02-06 14:39:52 +03:00
Konstantin KnizhnikandGrigory Smolkin d02fc64a14 Terminate ssh error by zero character 2019-10-04 10:13:26 +03:00
Konstantin KnizhnikandGrigory Smolkin daca207735 Report ssh error if available 2019-08-09 01:45:23 +03:00
Konstantin KnizhnikandGrigory Smolkin 6a721aa004 Grab abnd log agent messages to stderr 2019-08-09 01:45:23 +03:00
Konstantin Knizhnik 19ea1bf5dc Eliminate waitpid for Windows 2019-07-25 15:11:46 +03:00
Konstantin Knizhnik de38db4deb Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2019-07-03 23:22:57 +03:00
Konstantin Knizhnik 3873318eec Decompress restored file by remote agent 2019-07-03 23:22:48 +03:00
Konstantin Knizhnik da8bf6de29 Make child_pid variable thread local 2019-07-03 00:06:00 +03:00
Konstantin Knizhnik 569144a335 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2019-07-02 16:49:46 +03:00
Konstantin Knizhnik d57b65fa87 Wait for ssh process completion in fio_disconnect 2019-07-02 16:49:38 +03:00
Konstantin Knizhnik abfb2b56f5 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2019-07-01 22:35:17 +03:00
Konstantin Knizhnik 3eed6718b0 Add fio_dsconnect function 2019-07-01 22:35:10 +03:00
Konstantin Knizhnik 5f840ba436 Fix passing error in fio_send_pages 2019-06-28 10:09:03 +03:00
Konstantin Knizhnik 835b5e4185 Fix returning errno in remote backup 2019-06-20 18:39:11 +03:00
Konstantin Knizhnik 68d6b3b3f0 Correctly handle spaces in path for remote backup 2019-06-19 19:43:43 +03:00
Konstantin Knizhnik c594704395 [Issue #62] Replace pgwin32_safestat with fio_safestat 2019-05-27 18:00:59 +03:00
Konstantin Knizhnik a490120c16 Correctly set binary mode for SSH pipe 2019-04-29 10:56:44 +03:00
Konstantin Knizhnik 977ef811c1 Remove debug sleep 2019-04-26 11:37:03 +03:00
Konstantin Knizhnik 982cf6ac63 Fix error in forming remote path for Windows 2019-04-25 19:53:35 +03:00
Konstantin Knizhnik 66d33a188e Rewrite remote ssh support for Windows 2019-04-25 19:34:11 +03:00
Konstantin Knizhnik 8aba8e8940 Rewrite remote ssh support for Windows 2019-04-25 19:31:24 +03:00
Konstantin Knizhnik 576ffcee8d Rewrite remote ssh support for Windows 2019-04-25 19:10:57 +03:00
Konstantin Knizhnik be52f7d206 Rewrite remote ssh support for Windows 2019-04-25 19:04:34 +03:00
Konstantin Knizhnik b95710c4b2 Rewrite remote ssh support for Windows 2019-04-25 18:56:52 +03:00
Konstantin Knizhnik f466a04a30 Support remote SSH at windows 2019-04-25 18:04:39 +03:00
Konstantin Knizhnik 87fab3c16a Support remote SSH at windows 2019-04-25 18:02:47 +03:00
Konstantin Knizhnik 10b4e1ac9a Support remote SSH at windows 2019-04-25 17:36:33 +03:00
Konstantin Knizhnik e5c6bb477a Fix remove dir under Windows 2019-04-25 12:59:26 +03:00
Konstantin Knizhnik 350439cb07 Fix bug in pseek implementation 2019-04-24 22:05:58 +03:00
Konstantin Knizhnik 98ff7303e7 Fix build at Windows 2019-04-24 19:34:37 +03:00
Konstantin Knizhnik bf31d71811 Fix build at Windows 2019-04-24 19:28:29 +03:00
Konstantin Knizhnik a32a744d6b Fix build at Windows 2019-04-24 19:07:09 +03:00
Konstantin Knizhnik 3578ef9f5e Fix Win32 build problems 2019-04-24 13:57:44 +03:00
Konstantin Knizhnik 6ad66cca0c Use pg_attribute_printf instead of __attribute__ 2019-04-24 11:24:59 +03:00
Konstantin Knizhnik 60f89246c1 [refer #PBCKP-3] Set location to FIO_LOCAL_HOST for all commands except backup/resotre/archive 2019-04-15 15:04:49 +03:00
Konstantin Knizhnik dd10881765 [refer #PBCKP-3] Reset MyLocation after reading config file 2019-04-12 15:07:04 +03:00
Konstantin Knizhnik f0576ce10f Merge with master 2019-04-03 17:55:02 +03:00
Konstantin Knizhnik a0d65fa1c6 Fix archive-get compressed error 2019-03-28 15:56:27 +03:00
Konstantin Knizhnik fefe8b14e8 [refer #PGPRO-1745] Make remote mkdir operation synchronous 2019-03-27 17:55:29 +03:00
Konstantin Knizhnik adee1efc71 Fix remote restore 2019-03-21 22:55:38 +03:00
Konstantin Knizhnik 46da0d851f Replace error with warning in fileEqualCRC 2019-03-17 19:12:13 +03:00
Konstantin Knizhnik 04f00976e1 [refer #PGPRO-1745] Check for existing file in fio_gzopen 2019-03-17 09:13:07 +03:00
Konstantin Knizhnik 3622aeb570 Merge branch 'remote_pull' of git.postgrespro.ru:pgpro-dev/pg_probackup into remote_pull 2019-03-16 15:32:47 +03:00
Konstantin Knizhnik a43a0e3289 [refer #PGPRO-1745] Fix reading zeroed page 2019-03-16 15:32:39 +03:00
Konstantin Knizhnik c94b182964 [refer #PGPRO-1745] Fix reading compressed file 2019-03-16 14:57:21 +03:00
Konstantin Knizhnik 4f4c6b7623 [refer #PGPRO-1745] Add --remote-user option 2019-03-16 08:37:39 +03:00
Konstantin Knizhnik d6808f7f21 Fix warnings in IO_CHECK macro 2019-03-15 18:48:54 +03:00
Konstantin Knizhnik ed81839ab8 Improve error reporting in remote backup 2019-03-14 16:41:19 +03:00
Konstantin Knizhnik cec20ccb83 [refer #PGPRO-1745] Rewrite fio_gz* support 2019-03-14 14:05:22 +03:00
Konstantin Knizhnik f025b90eb0 Rewrite fio_gz* support 2019-03-14 13:58:02 +03:00
Konstantin Knizhnik f0cbfb7147 Include version name in start agent log message 2019-03-07 12:21:27 +03:00
Konstantin Knizhnik 79087d38bf Fix problem with backuping non-data files 2019-03-07 11:01:13 +03:00
Konstantin Knizhnik d4c80b9c77 Fix backup of empty files 2019-03-06 11:36:16 +03:00
Konstantin Knizhnik dac1d43899 Fx handling files with zero length 2019-03-05 14:33:36 +03:00
Konstantin Knizhnik dbb787f5c8 Propagate errno from remote agent 2019-03-02 09:13:09 +03:00
Konstantin Knizhnik 87dd195e5a Fix pgFileGetCRC call in merge.c 2019-03-01 19:34:55 +03:00
Konstantin Knizhnik 6d2a51e229 Merge with master 2019-03-01 17:41:01 +03:00
Konstantin Knizhnik 42449fe895 Use remote_host for pghost if last one was not specified 2019-03-01 12:53:48 +03:00
Konstantin Knizhnik 4097e10754 Fix printing NULL values 2019-03-01 11:18:09 +03:00
Konstantin Knizhnik e554d265a5 Assign end_time in MERGE 2019-02-28 18:45:59 +03:00
Konstantin Knizhnik 65099ca8d7 Fix checking unlink result 2019-02-28 15:53:56 +03:00
Konstantin Knizhnik 7c2260c05d Merge with master 2019-02-28 15:51:57 +03:00
Konstantin Knizhnik 47a7bed931 Fix compression in remote backup 2019-02-27 19:10:06 +03:00
Konstantin Knizhnik 58f02c1af4 Create temporary files for gzopen either in working directory, either in /tmp 2019-02-20 15:42:30 +03:00
Konstantin Knizhnik 2ed13d7c7e Remove temporary files 2019-02-20 13:41:00 +03:00
Konstantin Knizhnik 34065ad404 Create temporary files in tmpdir 2019-02-20 10:43:14 +03:00
Konstantin Knizhnik 7e60de38db Retry remote pull using ptrack 2019-02-18 11:44:14 +03:00
Konstantin Knizhnik 6f42781d58 Add fio_symlink 2019-02-18 11:24:01 +03:00
Konstantin Knizhnik a552e6a3d3 Fix fio_closedir 2019-02-17 19:40:26 +03:00
Konstantin Knizhnik 00c3bed898 Fix incorrect usage of tempname in fio_gzopen 2019-02-17 10:27:00 +03:00
Konstantin Knizhnik fb74027c42 Rewrite backup method to use push inside segment 2019-02-15 14:36:16 +03:00
Konstantin Knizhnik 35f2b5b636 Undo occasional change in .gitignore 2019-02-03 09:09:31 +03:00
Konstantin Knizhnik ad8d5b6f12 More accurately store checksum in page header 2019-02-02 09:46:19 +03:00
Konstantin Knizhnik 89c01d20c3 Check page checksums for all pages of remote delta backup 2019-02-01 23:22:16 +03:00
Konstantin Knizhnik 9c27c4d928 Add more comments 2019-02-01 20:00:09 +03:00
Konstantin Knizhnik f5a7ba34d2 [refer #PGPRO-1745] Fix PREAD agent command 2019-02-01 16:17:12 +03:00
Konstantin Knizhnik df4ede9812 [refer #PGPRO-1745] Do not send SIGTERM to agent 2019-01-31 23:13:16 +03:00
Konstantin Knizhnik 6e46ff1042 Disable compression in SSH 2019-01-30 19:57:02 +03:00
Konstantin Knizhnik 06528021f8 Disable SSH password authentication for multiple SSH sessions 2019-01-28 18:22:35 +03:00
Konstantin Knizhnik 5d1d8bdad7 [refer #1745] Fix ARCHIVE PUSH command 2019-01-28 16:05:36 +03:00
Konstantin Knizhnik f2945214e5 Merge branch 'remote_pull' of git.postgrespro.ru:pgpro-dev/pg_probackup into remote_pull 2019-01-27 22:20:35 +03:00
Konstantin Knizhnik 599cce7c22 no_argument for short boolean options 2019-01-27 22:20:22 +03:00
Konstantin Knizhnik 2e9ea2b2b5 Revert commit e02b7f7c9 2019-01-27 09:43:22 +03:00
Konstantin Knizhnik 3bedd3b639 Remove walmethods 2019-01-27 01:11:52 +03:00
Konstantin Knizhnik f7e2a7a8cb Some minor fixes 2019-01-26 23:56:53 +03:00
Konstantin Knizhnik 7ef0304e76 Fix remote pull backup issues 2019-01-26 17:14:25 +03:00
Konstantin Knizhnik 56472e0f70 Fix location for listing backup files 2019-01-26 16:23:43 +03:00
Konstantin Knizhnik 1ba407bca6 Add 'agent' command instead of --agent option 2019-01-26 15:47:26 +03:00
Konstantin Knizhnik 3e773e184c Optimize delta backup 2019-01-26 11:43:30 +03:00
Konstantin Knizhnik 4450134ac0 Adopt fio for pull model 2019-01-25 23:22:52 +03:00
Konstantin Knizhnik 158a3df648 Start implementation of new remote pull approach 2019-01-25 20:12:46 +03:00
Konstantin Knizhnik a806c65b5a Fix error decoding 2019-01-25 16:26:48 +03:00
Konstantin Knizhnik a04361abdd Fix transfer agent error messages 2019-01-25 15:46:31 +03:00
Konstantin Knizhnik ab5d602258 Fix directory remove 2019-01-24 18:33:53 +03:00
Konstantin Knizhnik df120095b1 Fix SIGSEGV in write_backup_status 2019-01-24 14:36:50 +03:00
Konstantin Knizhnik ab94800fab Fix log message redirection 2019-01-24 14:17:32 +03:00
Konstantin Knizhnik 4e3e62b1cf Fix problem with logging 2019-01-24 00:28:49 +03:00
Konstantin Knizhnik 85b247d76d Fix problem with logging filtering 2019-01-23 23:33:22 +03:00