2016-01-13 14:57:51 +09:00
|
|
|
\! bash sql/init.sh
|
|
|
|
###### INIT COMMAND TEST-0001 ######
|
|
|
|
###### success with archive_command ######
|
2009-12-08 00:21:28 +00:00
|
|
|
0
|
2016-01-13 14:57:51 +09:00
|
|
|
results/init/backup/
|
|
|
|
results/init/backup/backup/
|
|
|
|
results/init/backup/backup/pg_xlog/
|
|
|
|
results/init/backup/pg_arman.ini
|
2016-10-18 20:22:53 +03:00
|
|
|
results/init/backup/wal/
|
2016-01-13 14:57:51 +09:00
|
|
|
###### INIT COMMAND TEST-0002 ######
|
|
|
|
###### success with archive_command and log_directory ######
|
|
|
|
0
|
|
|
|
results/init/backup/
|
|
|
|
results/init/backup/backup/
|
|
|
|
results/init/backup/backup/pg_xlog/
|
|
|
|
results/init/backup/pg_arman.ini
|
2016-10-18 20:22:53 +03:00
|
|
|
results/init/backup/wal/
|
2016-01-13 14:57:51 +09:00
|
|
|
###### INIT COMMAND TEST-0003 ######
|
|
|
|
###### success without archive_command ######
|
|
|
|
0
|
|
|
|
results/init/backup/
|
|
|
|
results/init/backup/backup/
|
|
|
|
results/init/backup/backup/pg_xlog/
|
|
|
|
results/init/backup/pg_arman.ini
|
2016-10-18 20:22:53 +03:00
|
|
|
results/init/backup/wal/
|
2016-01-13 14:57:51 +09:00
|
|
|
###### INIT COMMAND TEST-0004 ######
|
|
|
|
###### failure with backup catalog already existed ######
|
2016-01-14 16:36:39 +09:00
|
|
|
ERROR: backup catalog already exist. and it's not empty
|
2016-01-19 12:41:30 +09:00
|
|
|
1
|
2016-01-13 14:57:51 +09:00
|
|
|
|
|
|
|
###### INIT COMMAND TEST-0005 ######
|
|
|
|
###### failure with backup catalog should be given as absolute path ######
|
|
|
|
ERROR: -B, --backup-path must be an absolute path
|
2016-01-19 12:41:30 +09:00
|
|
|
1
|
2016-01-13 14:57:51 +09:00
|
|
|
|