File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def main(args):
69
69
sqlpasswd_filepath_remote = f'/home/{ DST_OSUSER_NAME } /{ DST_APP_NAME } .sqlpasswd'
70
70
71
71
sql_filepath_local = os .path .expanduser (f'~/{ DST_APP_NAME } .sql' )
72
- sql_filepath_remote = f'/home/{ DST_OSUSER_NAME } /{ DST_APP_NAME } .sql'
72
+ sql_filepath_remote = f'/home/{ DST_OSUSER_NAME } /{ DST_APP_NAME } _remote .sql'
73
73
74
74
# Retrieve web_server and primary IP entries for later use
75
75
log .info (f'Retrieving webserver information for { DST_WEB_SERVER_HOSTNAME } ' )
@@ -149,7 +149,7 @@ def main(args):
149
149
sshrunner .run_passbased_rsync (f'{ src_app_path } /' , f'{ userhost } :{ dst_app_path } /' )
150
150
151
151
log .info (f'Copying database content' )
152
- sshrunner .run_passbased_scp (sql_filepath_local , f'{ userhost } :' )
152
+ sshrunner .run_passbased_scp (sql_filepath_local , f'{ userhost } :{ sql_filepath_remote } ' )
153
153
os .remove (sql_filepath_local )
154
154
155
155
log .info (f'Importing database' )
You can’t perform that action at this time.
0 commit comments