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):
6969 sqlpasswd_filepath_remote = f'/home/{ DST_OSUSER_NAME } /{ DST_APP_NAME } .sqlpasswd'
7070
7171 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'
7373
7474 # Retrieve web_server and primary IP entries for later use
7575 log .info (f'Retrieving webserver information for { DST_WEB_SERVER_HOSTNAME } ' )
@@ -149,7 +149,7 @@ def main(args):
149149 sshrunner .run_passbased_rsync (f'{ src_app_path } /' , f'{ userhost } :{ dst_app_path } /' )
150150
151151 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 } ' )
153153 os .remove (sql_filepath_local )
154154
155155 log .info (f'Importing database' )
You can’t perform that action at this time.
0 commit comments