1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-04-26 21:22:39 +02:00

Commit Graph

  • 29d529a248 Fix output of show command Arthur Zakirov 2017-04-19 15:20:35 +03:00
  • d40f2c35ee Parse backup mode properly Arthur Zakirov 2017-04-19 15:06:29 +03:00
  • 12cc3a1491 Format change backup.conf is renamed to backup.control Anastasia 2017-04-19 12:01:10 +03:00
  • 31efd8f598 Format change: file_database.txt is renamed to backup_content.control. Now it has json format. Anastasia 2017-04-18 23:15:17 +03:00
  • a100094bd4 Remove wrong semicolon Arthur Zakirov 2017-04-18 19:42:23 +03:00
  • f833ca624b Code cleanup: backup, restore. Still WIP. Something can be broken. Anastasia 2017-04-18 11:41:02 +03:00
  • 3ca609a0ff Code cleanup: validate Anastasia 2017-04-14 12:51:05 +03:00
  • 75534a00be Code cleanup. Unify restore and validate. Remove unused functions. Anastasia 2017-04-13 19:37:29 +03:00
  • 9d14e06c35 Allow reading BACKUP_PATH from env variables, add some new options (not implemented yet) Anastasia 2017-04-12 19:32:05 +03:00
  • 2f76db68e5 Options change: now backupID should be passed to all subcommands as parameter -i or --backup-id Anastasia 2017-04-12 19:13:43 +03:00
  • 0f6d4140f4 Code cleanup. Now only PGDATA, PGHOST, PGPORT, PGUSER and PGDATABASE can be set from enviromental variables. If values was already set via command line option, it wouldn't be overwritten. Anastasia 2017-04-12 18:57:02 +03:00
  • 612070c48d Code cleanup. remove unused check option Anastasia 2017-04-12 17:39:20 +03:00
  • 0f59db3399 Code cleanup. Parse subcmd before options Anastasia 2017-04-12 17:26:19 +03:00
  • f35d0d7ee9 Code cleanup. Delete -W option Anastasia 2017-04-12 16:47:45 +03:00
  • e2eed71657 Code cleanup: remove PGUT_NO_PROMPT macro Anastasia 2017-04-12 15:41:14 +03:00
  • 5372a1e544 remove unused getopt.h and getopt_long.c files Anastasia 2017-04-11 21:29:06 +03:00
  • 1315723dc5 remove unused pgut-port files Anastasia 2017-04-11 20:25:00 +03:00
  • d41c11d55e pg_ptrack_enable() should be executed only pg_ptrack_support() returns true Artur Zakirov 2017-04-11 17:56:46 +03:00
  • e6a478a5e8 Update version Artur Zakirov 2017-04-07 15:15:41 +03:00
  • 16073698aa Use recovery_target_timeline in recovery.conf only with --timeline option Artur Zakirov 2017-04-07 15:11:54 +03:00
  • a40f1f523c Refactor do_delete() function Artur Zakirov 2017-04-06 15:34:34 +03:00
  • a5e2c831b1 Remove all increments, even backups with errors Artur Zakirov 2017-04-06 12:48:50 +03:00
  • 5c7669757d Compare system_identifier of PGDATA with system_identifier of backup_conn Artur Zakirov 2017-04-05 19:48:55 +03:00
  • e3f9d5997a Remove name argument of make_bnode() Artur Zakirov 2017-04-03 19:21:26 +03:00
  • cc1d1edbac Change retention purge command finish message Artur Zakirov 2017-03-27 15:24:42 +03:00
  • 8f37eb5afa Calculate recovery_time using current_timestamp() Artur Zakirov 2017-03-24 17:22:55 +03:00
  • a3b3fa135c Fix recovery_time and recovery_xid comments Artur Zakirov 2017-03-24 17:02:56 +03:00
  • b31485640b Read recovery_time and recovery_xid from WAL segments whenever possible Artur Zakirov 2017-03-24 16:58:35 +03:00
  • 62953a7f81 Default --archive-timeout is 300 seconds Artur Zakirov 2017-03-24 14:24:29 +03:00
  • f3bdedcf4d Add backup option --archive-timeout Artur Zakirov 2017-03-24 14:07:03 +03:00
  • 3a7b6d5de4 Wait right WAL segment for backup from replica Artur Zakirov 2017-03-23 17:00:43 +03:00
  • 515150cff1 Allow page backups from standby Artur Zakirov 2017-03-22 11:50:29 +03:00
  • 3c7d773cfa Fix show command result alignment Artur Zakirov 2017-03-22 11:46:31 +03:00
  • 30bbf1693f Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup Artur Zakirov 2017-03-22 11:45:20 +03:00
  • 0fc1856e57 fix typo Anastasia 2017-03-22 11:44:18 +03:00
  • a5a1016634 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup Artur Zakirov 2017-03-22 11:31:26 +03:00
  • 10334c915b change time granularity in pg_probackup show to seconds Anastasia 2017-03-22 11:13:06 +03:00
  • 2671a0c08e Wait lsn in pg_start_backup() and pg_stop_backup(). Do pg_switch_xlog() only for master Artur Zakirov 2017-03-21 18:30:48 +03:00
  • 176102b159 Refactor backup connection for PostgreSQL Artur Zakirov 2017-03-21 11:54:49 +03:00
  • 1bc7231cae add some comments for pg_probackup.h Anastasia 2017-03-20 20:19:33 +03:00
  • cbcbf5fc21 show start_lsn and stop_lsn in pg_probackup show Anastasia 2017-03-20 19:08:18 +03:00
  • 8e866c8798 Fix version ptrack Artur Zakirov 2017-03-13 19:29:03 +03:00
  • 6ad203a36d update links to ptrack patches in README Anastasia 2017-03-13 18:46:46 +03:00
  • 83f26c503b Exclude additional directories and files in pgdata_exclude_dir[] and pgdata_exclude_files[] Anastasia 2017-03-13 18:04:46 +03:00
  • 6a79870ce9 Disallow page backups from standby Artur Zakirov 2017-03-13 16:22:48 +03:00
  • 653615b247 Return 0 for --help and --version commands Artur Zakirov 2017-03-09 14:46:33 +03:00
  • 8bd2248ac4 Do not skip subdirectories if parent directory contains a file Artur Zakirov 2017-03-09 14:01:11 +03:00
  • 30681560c0 Revert: Check in SHOW command that backups in RUNNING status Artur Zakirov 2017-03-06 12:46:15 +03:00
  • 6fedb2e546 Check in SHOW command that backups in RUNNING status Artur Zakirov 2017-03-06 11:55:12 +03:00
  • 518142011a Create rest or directories for tablespaces during restore page backup Artur Zakirov 2017-03-03 17:49:51 +03:00
  • faae29739e Do not create recovery.conf only if backup-ID was passed and only if destination backup is not stream backup Artur Zakirov 2017-03-03 17:06:36 +03:00
  • 733cf37195 Use pg_probackup.pid file instead of locking pg_probackup.conf Artur Zakirov 2017-03-01 18:18:40 +03:00
  • b67dd1e2ea Update copyright Artur Zakirov 2017-03-01 16:50:07 +03:00
  • 957de55a85 Check that OLDDIR has an entry in links first Artur Zakirov 2017-03-01 12:35:26 +03:00
  • 9ace401921 Refactoring do_restore() and do_validate(). Check tablespace mapping before actual restore Artur Zakirov 2017-02-28 20:00:18 +03:00
  • 320d0b6e70 Fix the documentation. Add information about tablespace mapping option. Artur Zakirov 2017-02-28 12:45:10 +03:00
  • 5fee804c15 Fix pg_probackup.md Artur Zakirov 2017-02-27 19:11:13 +03:00
  • 9454066156 Fix validation messages Artur Zakirov 2017-02-27 16:42:17 +03:00
  • 20e550518c Fix validation messages Artur Zakirov 2017-02-27 15:00:44 +03:00
  • 5bc8d459e0 Do not create tablespace_map.txt file Artur Zakirov 2017-02-27 13:32:11 +03:00
  • b8edd16145 Add LOG messages Arthur Zakirov 2017-02-26 12:10:16 +03:00
  • 195530ebbb Fix doc Arthur Zakirov 2017-02-25 15:15:11 +03:00
  • d7b9fe0b18 Added tablespace-mapping option. mkdirs.sh is not created now during backup. Tests were updated. Arthur Zakirov 2017-02-25 15:12:07 +03:00
  • 102d50ed4a Remove #include <sys/cdefs.h>. It is not needed. Artur Zakirov 2017-02-20 14:32:53 +03:00
  • 955d536412 Fix tests. Some tests didn't pass. Artur Zakirov 2017-02-20 13:58:52 +03:00
  • 6485b9f647 Check if restore destination exists Artur Zakirov 2017-02-20 13:39:51 +03:00
  • 38407a0d44 Fix validation test Artur Zakirov 2017-02-17 16:49:06 +03:00
  • c2410fc72b Fix WAL validate messages Artur Zakirov 2017-02-17 15:37:44 +03:00
  • 8fdbe1ede9 Fix message in valid_wal() Artur Zakirov 2017-02-16 19:58:25 +03:00
  • a3e5458166 Fix do_validate() and do_restore() Artur Zakirov 2017-02-16 19:44:16 +03:00
  • a997235f89 Remove sanityChecks(). Fix add_files() Artur Zakirov 2017-02-16 17:23:43 +03:00
  • 492a85606f Merge branch 'ptrack' of git.postgrespro.ru:pgpro-dev/pg_probackup into ptrack Artur Zakirov 2017-02-15 20:44:38 +03:00
  • aa271784ed Fixes for retention and validate commands Artur Zakirov 2017-02-15 20:44:06 +03:00
  • 8775a399cb fix retention show message, when no policy is set Anastasia 2017-02-15 19:46:40 +03:00
  • 23abfcb5ce change WARNING message to LOG in verbose mode Anastasia 2017-02-15 18:49:46 +03:00
  • d10e5f1871 Merge branch 'ptrack' of git.postgrespro.ru:pgpro-dev/pg_probackup into ptrack Anastasia 2017-02-15 18:31:50 +03:00
  • d6b612e3c2 fix INFO message Anastasia 2017-02-15 18:31:40 +03:00
  • 4c1dde8cd9 Merge branch 'ptrack' of git.postgrespro.ru:pgpro-dev/pg_probackup into ptrack Artur Zakirov 2017-02-15 18:28:38 +03:00
  • eb531bc490 WAL delete fixes Artur Zakirov 2017-02-15 18:28:34 +03:00
  • 62246e4c4e remove debug message Anastasia 2017-02-15 18:12:12 +03:00
  • 1e2b238689 don't try to check header of zeroed page Anastasia 2017-02-15 18:10:43 +03:00
  • b188a8a5e3 Fix handling of unrecognized options Artur Zakirov 2017-02-15 16:22:49 +03:00
  • b8640a72b8 Merge branch 'simplify_backup_data_file' into ptrack Artur Zakirov 2017-02-15 14:12:14 +03:00
  • f4fa1cd454 fix zeroed page handling. Skip checksum computing and just save the page Anastasia 2017-02-15 14:12:04 +03:00
  • 2c6da8dbbd SimpleXLogPageRead(): exit from function if WAL segment doesn't exist Artur Zakirov 2017-02-15 12:44:45 +03:00
  • 0bdffbcfe5 Merge branch 'simplify_backup_data_file' into ptrack Artur Zakirov 2017-02-15 12:18:42 +03:00
  • 4cb028cd97 Show dashes if there isn't recovery time of a backup Artur Zakirov 2017-02-14 17:45:18 +03:00
  • 547470abb8 check size of the file if block reading has failed Anastasia 2017-02-14 16:25:30 +03:00
  • bf2830bad5 Fix tests for retention policy. Compare WAL segments without timelineid Artur Zakirov 2017-02-14 14:31:15 +03:00
  • 5aded200b8 More understandable message during an error of ptrack backuping Artur Zakirov 2017-02-14 11:32:43 +03:00
  • be18e8d39e add debug message Anastasia 2017-02-14 11:27:15 +03:00
  • faa97dee16 Fix error messaging during reading WAL segments Artur Zakirov 2017-02-13 19:19:37 +03:00
  • 96fe569f6f Add nblocks into error message Anastasia 2017-02-13 18:27:50 +03:00
  • 42369f4cfd It's ok if file grows during backup Anastasia 2017-02-13 18:24:15 +03:00
  • a39511bf88 don't handle possible hole cut at restore Anastasia 2017-02-13 17:34:29 +03:00
  • cd6dd02245 fix a typo in file->size check Anastasia 2017-02-13 17:33:05 +03:00
  • 78370729c5 refactor backup_data_file(), don't cut the hole Anastasia 2017-02-13 17:06:53 +03:00
  • de2a0d1cde Fix for 9c471aa0e0. Artur Zakirov 2017-02-13 14:11:00 +03:00
  • 53a5df9c8a allow page mode backup of compressed files. Just remove the error message. Anastasia 2017-02-13 12:28:19 +03:00
  • 9c471aa0e0 Exclude postmaster.pid and postmaster.opts from backup Artur Zakirov 2017-02-13 11:49:55 +03:00