Skip to content
Snippets Groups Projects
Commit b62924e6 authored by Jan Mach's avatar Jan Mach
Browse files

Add full path to mentat-alt server

Previously the Makefile wrongly expected the appropriate configuration in SSH`s
config file.

(Redmine issue: #7041,#7548)
parent 1330e148
No related branches found
No related tags found
No related merge requests found
......@@ -483,14 +483,14 @@ presentations: FORCE
data-fetch-config: FORCE
@echo "\n$(GREEN)*** Fetching GeoIP configuration file ***$(NC)\n"
@mkdir -p ./data
@scp mentat-alt:/etc/GeoIP.conf ./data/
@scp root@mentat-alt.cesnet.cz:/etc/GeoIP.conf ./data/
@echo ""
data-fetch-dbsnapshot: FORCE
@echo "\n$(GREEN)*** Fetching latest production database dump ***$(NC)\n"
@rm -rf ./data/var
@mkdir -p ./data
@time scp mentat-alt:/var/mentat/devsnapshots/devsnapshot-latest.tar.gz ./data/
@time scp root@mentat-alt.cesnet.cz:/var/mentat/devsnapshots/devsnapshot-latest.tar.gz ./data/
@ls -alh ./data/devsnapshot-latest.tar.gz
@cd ./data/ && tar -xzvf ./devsnapshot-latest.tar.gz
@rm -f ./data/devsnapshot-latest.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment