commit bf7cf1df201b1fdcb17465420b22a18404df30c8 Author: raphanaud Date: Tue Oct 19 09:28:09 2021 +0200 sauvegarde diff --git a/sauvegarde/script2-tomcat b/sauvegarde/script2-tomcat new file mode 100755 index 0000000..5765889 --- /dev/null +++ b/sauvegarde/script2-tomcat @@ -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}" +