تخطَّ إلى المحتوى

Setting Up Dropbox Backups

هذا المحتوى غير متوفر بلغتك بعد.

We always recommend customers to maintain backup of their data in Bravo Hub ERP. The database backup is downloaded in the form of an SQL file. If needed, this SQL file of backup can be restored in the another Bravo Hub ERP account as well.

You can automate database backup download of your Bravo Hub ERP account into your Dropbox account.

Note: If you are Bravo Hub Cloud user, onsite and offsite backups are automatically created for you: https://frappecloud.com/docs/sites/backups

To setup Dropbox Backup, > Home > Integrations > Dropbox Settings

https://www.dropbox.com/developers/apps

Create new

Step 3: Fill in the details for your new app

Section titled “Step 3: Fill in the details for your new app”

Choose Dropbox API and type as APP Folder Setup APP Name

![https://support.frappe.io/files/nBdh7wu.png3

Step 4: Insert your custom domain Redirect URI

Section titled “Step 4: Insert your custom domain Redirect URI”

`10 ![Set Redirect URL4

Step 5: In a new window, open the Dropbox Settings page in your ERPnext installation

Section titled “Step 5: In a new window, open the Dropbox Settings page in your ERPnext installation”

Set the frequency to download your site backups to your Dropbox account. ![set frequency5

Step 7: Input Keys from your Dropbox App window

Section titled “Step 7: Input Keys from your Dropbox App window”

From your Dropbox App page, enter the app key and (unhidden) app secret into the ERPnext Dropbox settings page.

Alternatively, you can enter it manually in sites/{sitename}/site_config.json as follows,

{
"db_name": "demo",
"db_password": "DZ1Idd55xJ9qvkHvUH",
"dropbox_access_key": "ACCESSKEY",
"dropbox_secret_key": "SECRECTKEY"
}

Step 9: After saving, click “Allow Dropbox Access”

Section titled “Step 9: After saving, click “Allow Dropbox Access””

The Dropbox login page will open in the new tab. This might require you to allow pop-up for your Bravo Hub ERP account.

On successful login, you will find a confirmation message as following. Click on “Allow” to let your Bravo Hub ERP account have access to your Dropbox account. ![Allow6

From the ERPnext Dropbox page, click Take Backup Now and then go to you Dropbox files view. You should see a new folder in Dropbox named Apps and inside of it your {New App} folder. Inside of it should be backup folders for both files and database. So for an app named erpnext, following are the folder locations:

Database files: /Apps/erpnext/database
Public files: /Apps/erpnext/files
Private files: /Apps/erpnext/private/files

Note: If the compressed backup size exceeds 1GB (Gigabyte), the system will upload the latest available backup to Dropbox instead of generating a new backup file.