/TSBB

Telegram Server Backup Bot Written in BASH

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Usage:

1.Get your bot token from https://t.me/BotFather

2.Get your chat id from https://t.me/RawDataBot (numerical value in JSON output's id field)

3.Add your new bot to a personal group, bots can't msg anyone unless they share a group with them.

4.run the script with directories to backup as arguments

Syntax:

SCRIPT [arg1] [arg2] [arg3] etc

Example:

./W-Backup /var/www/html

To backup several directories in a single archive:

./W-Backup /var/www/html /usr/share .config/