NetworkDir / OpenWRT-Backup

OpenWRT Daily backup send to telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenWRT-Backup

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:

  1. Connect to your router with SSH.
  2. cd ~ && wget https://raw.githubusercontent.com/ElshanRajabi/OpenWRT-Backup/main/backup.sh
  3. opkg update
  4. opkg install nano
  5. nano backup.sh and edit UserID & Bot Token
  6. chmod +x backup.sh
  7. export VISUAL=nano; crontab -e
  8. 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/)
  9. Done!

About

OpenWRT Daily backup send to telegram


Languages

Language:Shell 100.0%