GroupeAP/sv/svbase
2022-03-10 10:24:27 +01:00

6 lines
157 B
Bash
Executable File

#!/bin/bash
DAT=$(date "+%u")
ssh root@ap22 "mysqldump -u gsbadm -pgsbadm gsbvisite | gzip" > gsbvisite-$DAT.sql.gz
cp gsbvisite-$DAT.sql.gz latest.sql.gz