Skip to main content

Google Drive Integration

ERPNext integrates with Google Drive to automatically store database and file backups in your Google Drive account. This provides a secure off-site backup option and helps safeguard business data.

Note: If you use Frappe Cloud, onsite and offsite backups are created automatically, so configuring Google Drive backups is generally not required.

Prerequisites

Before configuring Google Drive backups, complete the following:

  • Create OAuth 2.0 Credentials through Google Settings.
  • Ensure Google Drive integration has been authorized for your ERPNext site.

How to Configure Google Drive Integration

  1. Navigate to the Google Drive list and click New.
  2. Enter the Backup Folder Name where backups will be stored in Google Drive.
  3. Select the desired Backup Frequency.
  4. Enter the Email Address that should receive backup status notifications.
  5. Save the configuration.
  6. Click Authorize Drive Access to grant ERPNext permission to upload backups to your Google Drive account.

Using Google Drive Backup

After authorization is complete, ERPNext can upload your backups directly to Google Drive.

Upload Backup

  • Click Take Backup to start the backup process.
  • The backup runs as a background job without interrupting normal operations.
  • Both the database backup and public/private files are uploaded to the configured Google Drive folder.
  • You will receive an email notification informing you whether the backup completed successfully or failed.
Note: If the compressed backup size exceeds 1 GB, ERPNext uploads the latest available backup to Google Drive instead of generating a new backup file.
Rating: 0 / 5 (0 votes)