brotherton-erpnext/erpnext/docs/user/manual/en/setting-up/third-party-backups.md

55 lines
1.7 KiB
Markdown

If you wish to store your backups on a periodic basis,on Dropbox, you can do
it directly through ERPNext.
> Setup > Manage 3rd Party Backups
__Step 1:__ Click on Setup.
__Step 2:__ Click on Manage Third Party Backup
#### Figure 1: Manage Third Party Backup
![Third Party Backups]({{docs_base_url}}/assets/old_images/erpnext/third-party-backups.png)
On the Backup Manager page, enter the email addresses of those people whom you
wish to notify about the upload status. Under the topic 'Sync with Dropbox',
select whether you wish to upload Daily, Weekly or Never.
__Step 3__ Click on **Allow Dropbox Access**.
> Tip: In future, if you wish to discontinue uploading backups to dropbox,
then select the Never option.
#### Figure 2: Allow Dropbox Access
![Backup Manager]({{docs_base_url}}/assets/old_images/erpnext/backup-manager.png)
You need to login to your dropbox account, with your user id and password.
![Dropbox Access]({{docs_base_url}}/assets/old_images/erpnext/dropbox-access.png)
## Open Source Users
Installing Pre-Requisites
pip install dropbox
pip install google-api-python-client
#### Create an App in Dropbox
First create your Dropbox account and create a new app (https://www.dropbox.com/developers/apps).
After successful creation of account you will receive `app_key`, `app_secret` and `access_type`. Now edit `site_config.json` of your site (/frappe-bench/sites/your-site/) and add the following lines:
- `"dropbox_access_key": "app_key",` and
- `"dropbox_secret_key": "app_secret"`
Then you can go to the "Integrations" module and Allow Dropbox Access.
> Note: Please ensure Allow Pop-ups are enabled in your browser.
{next}