backup script completed, all backup taken for 23-Feb

This commit is contained in:
Mosiur Rahman
2026-02-23 12:47:42 +06:00
parent 4a9d026b42
commit 0044c98f85
1666 changed files with 478710 additions and 3 deletions

View File

@@ -13,3 +13,23 @@ sshpass -p 'B!r!P46346t@#chQmE=' ssh admin@118.67.214.225 -p 7900 '/export' >> m
echo "Backing up MGT Router"
sshpass -p 'N@zud@br!11!@nT@%$%^-oh65v8346@#45' ssh -o HostKeyAlgorithms=+ssh-dss -o PubkeyAcceptedAlgorithms=+ssh-rsa admin@118.67.220.34 -p 7900 /export >> mikrotik/mgt-mkt-rtr-$DATE.conf
echo "Done Mikrotik"
echo "WSL Backup"
cp -r /home/mosiur/scripts/ wsl
echo "Firewall Backup"
sshpass -p 'AD^%$bhy34Fw26@mnf234@97tr45' ssh mosiur@118.67.210.46 -p 7900 "show full-configuration" >> fortigate/fortigate-$DATE.conf
echo "git"
if ! git diff --quiet; then
git add .
git commit -m "all backup $DATE"
git push
fi