aaP_webiso9001
Hi man, I have changed this successfully! But the only problem that I'm facing, is with two server!
I have two aapanel server, and change every folder in the server to example "BKPG3-SRV143207" and "BKPG3-SRV7858", but the first server with the "database" and "site" folder inside, take all the backups betwen the two servers.
To change the folder name, you can do the follow...
MAKE IT OR ANY CHANGE IN YOUR SERVER, AT YOUR OWN RISK!
Change the file "/www/server/panel/plugin/gdrive/gdrive_main.py"
from
__backup_dir_name = "bt_backup" line ~ 35
to:
__backup_dir_name = "YOUR-FOLDER-NAME"
and made a search with "bt_backup" to change the folder name in "database", "site" and "path"
get.filepath = 'YOUR-FOLDER-NAME/database/' + name #line 495
get.filepath = 'YOUR-FOLDER-NAME/sites/' + name #line 413
get.filepath = 'YOUR-FOLDER-NAME/path/' + name #line 545
If you have the "bt_backup" folder on your gdrive, you have to delete, go to the gdrive trash, delete permanently and execute the backup cron again.
This is my Server's Folder (The two server that I've mentioned)
@aaP_webiso9001 if you have only one server, maybe the step that I've mentioned above will help U.
Now, The problem related with the two server, is that:
database folder (first server made backup)
But when I've tried to make the second server backup, his folder have nothing:
and their backup data are in the first server folder (on gdrive):
Where "agnda_ml" is "BKPG3-SRV143207" database backup, and "sms_g3" is "BKPG3-SRV7858" database backup.
If anyone know how to solve this issue, will be helpfull.
Note: I've already tried to change the "database" folder name on "" in line 495 from:
this
get.filepath = 'BKPG3-SRV7858/database/' + name
to
get.filepath = 'BKPG3-SRV7858/DB/' + name
But no success with this! 🙁
If anyone have one idea, please, help?