File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/chef-server-ctl/plugins Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5454 options = OpenStruct . new
5555 options . agree_to_cleanse = nil
5656 options . restore_dir = nil
57- options . restore_pg_dump = false # Default is false (don't restore pg dump)
57+ options . skip_pg_dump = false # Default is false (restore pg dump)
5858
5959 OptionParser . new do |opts |
6060 opts . banner = "Usage: #{ ChefUtils ::Dist ::Server ::SERVER_CTL } restore $PATH_TO_BACKUP_TARBALL [options]"
6767 options . agree_to_cleanse = "yes"
6868 end
6969
70- opts . on ( "--restore -pg-dump" , "Restore PostgreSQL data from pg_dump instead of service data files (default: false)" ) do
71- options . restore_pg_dump = true
70+ opts . on ( "--skip -pg-dump" , "Skip PostgreSQL data from pg_dump (default: false)" ) do
71+ options . skip_pg_dump = true
7272 end
7373
7474 opts . on ( "--pg-options [string]" , "Additional options to pass to PostgreSQL during backups" ) do |pg_options |
You can’t perform that action at this time.
0 commit comments