mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
Stop creating pg_xlog dir in BACKUP because it is rudiment.
This commit is contained in:
parent
b0a63b6790
commit
d3f3110316
@ -4,7 +4,6 @@
|
|||||||
0
|
0
|
||||||
results/init/backup/
|
results/init/backup/
|
||||||
results/init/backup/backup/
|
results/init/backup/backup/
|
||||||
results/init/backup/backup/pg_xlog/
|
|
||||||
results/init/backup/pg_arman.ini
|
results/init/backup/pg_arman.ini
|
||||||
results/init/backup/wal/
|
results/init/backup/wal/
|
||||||
###### INIT COMMAND TEST-0002 ######
|
###### INIT COMMAND TEST-0002 ######
|
||||||
@ -12,7 +11,6 @@ results/init/backup/wal/
|
|||||||
0
|
0
|
||||||
results/init/backup/
|
results/init/backup/
|
||||||
results/init/backup/backup/
|
results/init/backup/backup/
|
||||||
results/init/backup/backup/pg_xlog/
|
|
||||||
results/init/backup/pg_arman.ini
|
results/init/backup/pg_arman.ini
|
||||||
results/init/backup/wal/
|
results/init/backup/wal/
|
||||||
###### INIT COMMAND TEST-0003 ######
|
###### INIT COMMAND TEST-0003 ######
|
||||||
@ -20,7 +18,6 @@ results/init/backup/wal/
|
|||||||
0
|
0
|
||||||
results/init/backup/
|
results/init/backup/
|
||||||
results/init/backup/backup/
|
results/init/backup/backup/
|
||||||
results/init/backup/backup/pg_xlog/
|
|
||||||
results/init/backup/pg_arman.ini
|
results/init/backup/pg_arman.ini
|
||||||
results/init/backup/wal/
|
results/init/backup/wal/
|
||||||
###### INIT COMMAND TEST-0004 ######
|
###### INIT COMMAND TEST-0004 ######
|
||||||
|
3
init.c
3
init.c
@ -50,9 +50,6 @@ do_init(void)
|
|||||||
/* create directories for backup of online files */
|
/* create directories for backup of online files */
|
||||||
join_path_components(path, backup_path, RESTORE_WORK_DIR);
|
join_path_components(path, backup_path, RESTORE_WORK_DIR);
|
||||||
dir_create_dir(path, DIR_PERMISSION);
|
dir_create_dir(path, DIR_PERMISSION);
|
||||||
snprintf(path, lengthof(path), "%s/%s/%s", backup_path, RESTORE_WORK_DIR,
|
|
||||||
PG_XLOG_DIR);
|
|
||||||
dir_create_dir(path, DIR_PERMISSION);
|
|
||||||
|
|
||||||
/* read postgresql.conf */
|
/* read postgresql.conf */
|
||||||
if (pgdata)
|
if (pgdata)
|
||||||
|
Loading…
Reference in New Issue
Block a user