255 Star 674 Fork 490

GVPopenGauss / openGauss-server

 / 详情

gs_basebackup参照原生PG的做法,无需预先创建备份目录

Backlog
Requirement
Opened this issue  
2021-02-27 14:56

Is this a BUG REPORT or FEATURE REQUEST?:

  • feature

What happened:
[gauss@dev data5001]$ gs_basebackup -D /home/gauss/backupdata
gs_basebackup: realpath dir "/home/gauss/backupdata" failed: No such file or directory

What you expected to happen:
参照原生PG,无需创建目录即可执行备份

How to reproduce it (as minimally and precisely as possible):
gs_basebackup -D /home/gauss/backupdata
其中目录/home/gauss/backupdata不存在

Anything else we need to know?:
No

Environment:

  • Version: 1.1.0
  • OS (e.g. from /etc/os-release):CentOS 7.6
  • Kernel (e.g. uname -a):3.10
  • Install tools:No
  • Others:No

Comments (4)

husthxd created需求
husthxd set related repository to openGauss/openGauss-server
Expand operation logs

Hey @husthxd , Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/opengauss/community/blob/master/contributors/command.en.md to find the details.

zhangxubo added
 
kind/enhancement
label
zhangxubo added
 
sig/tools
label
yansong_lee set priority to Unimportant
yansong_lee set assignee to 吴岳川
zhangxubo added
 
kind/feature
label

原生pg -D目录不存在也会报错吧

原生pg -D目录不存在也会报错吧

@落月 不会

哦哦,看错了,我看代码里是-D后面不跟路径会报错

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(3)
5622128 opengauss bot 1581905080
C++
1
https://git.oschina.net/opengauss/openGauss-server.git
git@git.oschina.net:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

Search