Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
088582a2
Commit
088582a2
authored
May 13, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2003 from edx/feanil/update_clone_dbs
Pass an option group for the new RDS
parents
350022bf
7cca0304
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
util/vpc-tools/db-clone.py
+3
-0
No files found.
util/vpc-tools/db-clone.py
View file @
088582a2
...
...
@@ -72,6 +72,8 @@ def parse_args(args=sys.argv[1:]):
help
=
"create a sql dump after launching it into the vpc"
)
parser
.
add_argument
(
'-s'
,
'--secret-var-files'
,
action
=
"append"
,
required
=
True
,
help
=
"use one or more secret var files to run ansible against the host to update db users"
)
parser
.
add_argument
(
'-o'
,
'--dest-option-group'
,
default
=
"default:mysql-5-6"
,
help
=
"the option group for the new rds."
)
return
parser
.
parse_args
(
args
)
...
...
@@ -103,6 +105,7 @@ if __name__ == '__main__':
target_db_instance_identifier
=
restore_dbid
,
use_latest_restorable_time
=
True
,
db_instance_class
=
args
.
type
,
option_group_name
=
args
.
dest_option_group
,
)
if
args
.
vpc
:
restore_args
[
'db_subnet_group_name'
]
=
args
.
subnet
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment