sauvegarde

This commit is contained in:
raphanaud 2021-10-19 09:28:09 +02:00
commit bf7cf1df20

8
sauvegarde/script2-tomcat Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
DAT=$(date "+%X")
fich="projetSDIS29_2.war"
chem="/home/aurelien.meunier/NetBeansProjects/projetSDIS29_2/dist/""${fich}"
scp "${chem}" root@10.121.38.70:/usr/libexec/tomcat10/webapps
scp "${chem}" root@10.121.38.70:/root/tomcat/"${fich}"-"${DAT}"