OpenWRT Daily backup send to telegram
(if you iranian user and telegram blocked in your country you should use passwall or some VPN for bypass)
Installition method:
- Connect to your router with SSH.
cd ~ && wget https://raw.githubusercontent.com/ElshanRajabi/OpenWRT-Backup/main/backup.sh
opkg update
opkg install nano
nano backup.sh
and edit UserID & Bot Tokenchmod +x backup.sh
export VISUAL=nano; crontab -e
- add
0 0 * * * /bin/sh /root/backup.sh >/dev/null 2>&1
to your crontab config and save. [This cronjob send backup everyday on At 00:00] (You can change it https://crontab.guru/) - Done!