11 lines
273 B
Bash
Executable File
11 lines
273 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -eq 0 ]; then
|
|
echo "오류: 복원할 덤프 파일 이름을 파라미터로 전달해야 합니다."
|
|
echo "사용법: $0 [덤프 파일명]"
|
|
exit 1
|
|
fi
|
|
|
|
pg_restore --no-owner --no-privileges -h ssdoctors.com -p 15433 -U spacs -d polyp $1
|
|
|