Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 513 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 513 Bytes

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/