• Support
  • How I can use Google Drive Plugin for upload my files from script aaPanel?

Hello everyone!

There is any documentation for use Google Drive 2.4 Pluggin "Help you back up your site data to Google Drive"?

I want to upload some files from my server to Google Drive like Backup Cron Scripts.

How i can use aaPanel Script? Script, Functions, Parameters, etc.

Regards,
Gongora

    Hello, you can add tasks in Cron Select the backup directory and then select Google Drive for backup
    You may need to exclude log files

    aaP_gongora121

    Thanks I didn't know this script.

    But I do a full backup of databases and store it on server path. Maybe after 30 backups Google Drive Plugin take a long time than only one file.

    If aaPanel share how to use for a single file. It will help. Else I can manage it with this script.

    Thanks Kern

      Hello, how did you back up the database? Select Google Drive during backup?
      Or is the entire backup directory for backup and upload?

      aaP_gongora121

      I do a full backup of my databases: tables and content. Then I zip all into a single file as date: year,month,day.

      It's personal script. I don't use aaPanel MySQL Backup Script.

      After, I upload it into Google Drive. I maintain backups on both sides. Server and Google Drive.

      If I upload a backup folder, it grows day by day. I need to set a delay both script because one don't call the other.

        Hello, you can save and upload directories using different directories
        After the backup is successful, copy one to the upload directory, and delete the file in the upload directory before the next backup.
        Note that you may need to check whether the upload is successful

        aaP_gongora121