CloneBot is a telegram bot that allows you to copy folder/team drive to team drives. One of the main advantage of this bot is that you can host it to Heroku for free.
- Use server side copy
- Bypass the 750Gb a day limit thanks to Service accounts
- Duplicate team drive
- Copy public folders & files to team drives
- Host it to heroku
- Does not support files upload (only copy)
- You cannot copy the data to My Drive
Note : there are hidden features, check at the source code of the bot to find them 🙃
⚠ You need service accounts (sa) to use the bot
--> https://github.com/MsGsuite/CloneBot_Heroku
--> https://telegra.ph/Clone-Bot-Termux-04-30
- Download the repo : https://github.com/MsGsuite/CloneBot/archive/refs/heads/master.zip
- Open the config.ini file (inside the telegram_gcloner folder) and fill the following values :
path_to_gclone =./gclone ⚠ Don't touch this
telegram_token = go to @BotFather and send /newbot to get one
user_ids = -1 = Your user id (go to @MissRose_bot and type /id to get your id) - If you want to authorize multiple users, add a comma between each ID (ex: 150654065,5897065)
group_ids = your telegram group ID (leave it blank if you don't want to add one). To get your group id, go to @MissRose_bot and type /id
gclone_para_override = leave this empty if you don't know how to use it
- Install python
- open CMD and cd to the folder containing the bot
- run
pip install -r requirements.txt
- cd to the telegram_gcloner folder and run :
py telegram_gcloner.py
- Start your bot and you can copy your data !
- For Direct Deploy,Click on the Below Button
- Fill the following Environment Values as per below Instructions:
path_to_gclone =./gclone ⚠ Don't touch this
group_ids = your telegram group ID (leave it blank if you don't want to add one). To get your group id, go to @MissRose_bot and type /id
telegram_token = go to @BotFather and send /newbot to get one
gclone_para_override = leave this empty if you don't know how to use it
user_ids = Your user id (go to @MissRose_bot and type /id to get your id) - If you want to authorize multiple users, add a comma between each ID (ex: 150654065,5897065)
- Click on Deploy
Wait a little bit.You will see that your app has been deployed to Railway and then you can clone without any Time Limit.Railway does not restart App every 24 hours meaning you can clone large data which can run for days at a time
1.Login to Qovery via Github Account.Fork this Repo.
2.Then create a new Environment followed by new app.Just follow the On-Screen Instructions.
3.Then select Deploy App from Repo and click the Repo in your Account.
4.From settngs of the App scroll down and change Deploy Method from Buildpacks to DockerFile
5.Then go to variables and add the below Environment Variables one by one with proper values.
path_to_gclone =./gclone ⚠ Don't touch this
group_ids = your telegram group ID (leave it blank if you don't want to add one). To get your group id, go to @MissRose_bot and type /id
telegram_token = go to @BotFather and send /newbot to get one
gclone_para_override = leave this empty if you don't know how to use it
user_ids = Your user id (go to @MissRose_bot and type /id to get your id) - If you want to authorize multiple users, add a comma between each ID (ex: 150654065,5897065)
6.Then Click Start App. Click Show Logs
Wait a little bit.You will see that your app has been deployed to Qovery and then you can clone without any Time Limit.Qovery does not restart App every 24 hours meaning you can clone large data which can run for days at a time
- Google Team Drive Generator : https://td.msgsuite.workers.dev/
- Enterprise Team Drive Generator : https://td.ultraindex.workers.dev/ (Will work only when I open)
- Telegram Channel : https://t.me/MsGsuite
- Telegram Chat : https://t.me/MsGsuiteChat
- wrenfairbank for the original python script
- smartass08 to adapt the scrip to heroku
- anymeofu for making the Direct Heroku deployable Version
- Zero-The-Kamisama to making me discover this amazing bot and the detailed instructions
- zorgof for the termux script
- Aishik Tokdar for Adding Guide to Deploy on Railway.app and Qovery and some other Code Improvements