Back up to Google Drive
A Google Drive document uploads the database backup and the public and private files of your site to a folder in Google Drive.
INFO
Offsite backups moved out of the Frappe Framework into the offsite_backups app in version 16. Install the app to see Google Drive.
TIP
On Frappe Cloud, onsite and offsite backups are created for you. See Frappe Cloud backups.
Prerequisites
- Google Settings is enabled with an OAuth client ID, and the Drive API is enabled in Google Cloud.
Connect Google Drive
- Open Google Drive.
- Enter the name of the backup folder, the backup frequency, and the email address that gets the backup status.
- Save.
- Select Authorize Drive Access, and sign in with the Google account.
Take a backup
Select Take Backup. The backup runs in the background, and ERPNext notifies you of the result. Scheduled backups run at the frequency that you set.
INFO
If the compressed backup is larger than 1 GB, ERPNext uploads the latest available backup instead of creating a new one.