Anastasia
|
7777afceb4
|
restore code cleanup
|
2017-05-03 15:55:11 +03:00 |
|
Anastasia
|
d40e299c3c
|
fix dest backup search
|
2017-05-02 17:28:08 +03:00 |
|
Anastasia
|
419008d9de
|
code cleanup
|
2017-05-02 15:13:32 +03:00 |
|
Anastasia
|
01a21462ac
|
fix tablespace mapping bug
|
2017-05-02 12:50:34 +03:00 |
|
Anastasia
|
be25c3e4db
|
fix check_tablespace_mapping
|
2017-04-28 23:38:18 +03:00 |
|
Anastasia
|
0acc91112c
|
add INFO message about backup/validate completion
|
2017-04-28 17:39:19 +03:00 |
|
Arthur Zakirov
|
ecc5e56201
|
Fix readTimeLineHistory_probackup(). It should check existance of history file
|
2017-04-27 17:10:26 +03:00 |
|
Arthur Zakirov
|
0077a78871
|
Fix dir_read_file_list().
It missed that names and values have quotes and did not check ptr for NULL.
|
2017-04-21 19:46:19 +03:00 |
|
Arthur Zakirov
|
ff61f80ce8
|
Improve comment of create_recovery_conf()
|
2017-04-21 17:06:41 +03:00 |
|
Arthur Zakirov
|
8dea09ca1a
|
Improve comments. Add pgBackupGetBackupMode()
|
2017-04-21 14:54:33 +03:00 |
|
Arthur Zakirov
|
1cd6a9762d
|
Free base36enc's results
|
2017-04-21 12:06:07 +03:00 |
|
Arthur Zakirov
|
1c87d613f4
|
Check target LSN. Archived WAL segment should contain it.
|
2017-04-20 12:38:51 +03:00 |
|
Arthur Zakirov
|
a100094bd4
|
Remove wrong semicolon
|
2017-04-18 19:42:23 +03:00 |
|
Anastasia
|
f833ca624b
|
Code cleanup: backup, restore. Still WIP. Something can be broken.
|
2017-04-18 11:41:02 +03:00 |
|
Anastasia
|
3ca609a0ff
|
Code cleanup: validate
|
2017-04-14 12:51:05 +03:00 |
|
Anastasia
|
75534a00be
|
Code cleanup. Unify restore and validate. Remove unused functions.
|
2017-04-13 19:37:29 +03:00 |
|
Anastasia
|
612070c48d
|
Code cleanup. remove unused check option
|
2017-04-12 17:39:20 +03:00 |
|
Artur Zakirov
|
16073698aa
|
Use recovery_target_timeline in recovery.conf only with --timeline option
|
2017-04-07 15:11:54 +03:00 |
|
Artur Zakirov
|
5c7669757d
|
Compare system_identifier of PGDATA with system_identifier of backup_conn
|
2017-04-05 19:48:55 +03:00 |
|
Artur Zakirov
|
cc1d1edbac
|
Change retention purge command finish message
|
2017-03-27 15:24:42 +03:00 |
|
Artur Zakirov
|
b31485640b
|
Read recovery_time and recovery_xid from WAL segments whenever possible
|
2017-03-24 16:58:35 +03:00 |
|
Artur Zakirov
|
30681560c0
|
Revert: Check in SHOW command that backups in RUNNING status
|
2017-03-06 12:46:15 +03:00 |
|
Artur Zakirov
|
6fedb2e546
|
Check in SHOW command that backups in RUNNING status
|
2017-03-06 11:55:12 +03:00 |
|
Artur Zakirov
|
518142011a
|
Create rest or directories for tablespaces during restore page backup
|
2017-03-03 17:49:51 +03:00 |
|
Artur Zakirov
|
faae29739e
|
Do not create recovery.conf only if backup-ID was passed and only if destination backup is not stream backup
|
2017-03-03 17:06:36 +03:00 |
|
Artur Zakirov
|
733cf37195
|
Use pg_probackup.pid file instead of locking pg_probackup.conf
|
2017-03-01 18:18:40 +03:00 |
|
Artur Zakirov
|
b67dd1e2ea
|
Update copyright
|
2017-03-01 16:50:07 +03:00 |
|
Artur Zakirov
|
957de55a85
|
Check that OLDDIR has an entry in links first
|
2017-03-01 12:35:26 +03:00 |
|
Artur Zakirov
|
9ace401921
|
Refactoring do_restore() and do_validate(). Check tablespace mapping before actual restore
|
2017-02-28 20:00:18 +03:00 |
|
Arthur Zakirov
|
b8edd16145
|
Add LOG messages
|
2017-02-26 12:10:16 +03:00 |
|
Arthur Zakirov
|
d7b9fe0b18
|
Added tablespace-mapping option.
mkdirs.sh is not created now during backup.
Tests were updated.
|
2017-02-25 15:12:07 +03:00 |
|
Artur Zakirov
|
6485b9f647
|
Check if restore destination exists
|
2017-02-20 13:39:51 +03:00 |
|
Artur Zakirov
|
a3e5458166
|
Fix do_validate() and do_restore()
|
2017-02-16 19:44:16 +03:00 |
|
Artur Zakirov
|
de2a0d1cde
|
Fix for 9c471aa0e0 .
pgdata_exclude[] doesn't exclude files. Add pgdata_exclude_files[].
|
2017-02-13 14:11:00 +03:00 |
|
Arthur Zakirov
|
976694f1a3
|
Add retention show|purge commands. Add tests and documentation.
|
2017-02-12 23:42:10 +03:00 |
|
stalkerg
|
efd552ee5c
|
Check WALs in validate command. Also support 64bit XID from PGPRO_EE. issue #5
|
2016-12-07 16:28:48 +03:00 |
|
stalkerg
|
ed8fbcab78
|
Make validate logic like restore. issue #5
|
2016-12-06 16:44:18 +03:00 |
|
stalkerg
|
5e37fc6ab4
|
Fix wrong searching full backup if we set ID and --time/--xid.
|
2016-11-30 16:00:26 +03:00 |
|
stalkerg
|
b127345cd5
|
Add muti-thread validation.
|
2016-11-25 14:26:58 +03:00 |
|
stalkerg
|
0ccc9eeac0
|
Clear PGDATA only if we find dst backup. Also show status if
dst backup is not OK.
|
2016-11-17 19:37:39 +03:00 |
|
stalkerg
|
9d579bc195
|
Ignore stream param from backup if we start restore without backup_id.
|
2016-11-17 19:08:10 +03:00 |
|
stalkerg
|
188bbdd593
|
Rename project to pg_probackup.
|
2016-11-16 20:34:21 +03:00 |
|
stalkerg
|
a9040229a5
|
Get current timeline from wal dir.
Also add recovery_target = 'immediate' for some case.
|
2016-11-16 15:14:50 +03:00 |
|
stalkerg
|
b9be223a4f
|
Don't add immediate to recovery.conf. Also if last backup is stream kind
start create recovery.conf (but not if we restore by id)
|
2016-11-15 11:44:57 +03:00 |
|
stalkerg
|
ed3e7a5551
|
Small fix restore logic.
|
2016-11-08 15:53:45 +03:00 |
|
stalkerg
|
78362a52d6
|
Move all backups to "backups" subdir.
|
2016-11-07 17:35:53 +03:00 |
|
stalkerg
|
bd01446a9d
|
Try fixing restore command.
|
2016-11-02 21:04:24 +03:00 |
|
stalkerg
|
24c840392f
|
Use --stream option only for backup. Add STREAM to show command.
|
2016-11-01 17:25:46 +03:00 |
|
stalkerg
|
9f2ad9d822
|
Remove date range and start use base36 from start_time as backup ID.
|
2016-10-31 18:19:11 +03:00 |
|
stalkerg
|
f0703e527c
|
Remove ARCLOG_PATH option.
|
2016-10-18 20:22:53 +03:00 |
|