forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 19
Setting up Backup Manager
rmehta edited this page Mar 23, 2013
·
1 revision
Setup of automated backups via Setup >> Backup Manager using Dropbox and Google Drive
pip install dropbox
pip install google-api-python-client
Firstly create your Dropbox account. Then create an app here.
After successful creation of app you will receive app_key
, app_secret
and access_type
.
Now open conf.py
and replace the value of dropbox_access_key
with your app_key
and dropbox_secret_key
with your app_secret
.
Firstly create your Gmail account. Then you have to create an app by following the instructions here
or
First, you need to enable the Drive API for your app. You can do this in your app's API project in the Google API's Console
- Create an API project in the Google APIs Console.
- Select the Services tab in your API project, and enable the Drive API.
- Select the API Access tab in your API project, and click Create an OAuth 2.0 client ID.
- In the Branding Information section, provide a name for your application (e.g. "Drive Quickstart Sample"), and click Next. Providing a product logo is optional.
- In the Client ID Settings section, do the following:
- Select Web application for the Application type.
- Click Create Client ID.
- In the API Access page, locate the section Client ID for installed applications and note or copy the two pieces of information you'll need later to run the sample: the Client ID and the Client Secret.
Now open conf.py
and replace the value of client_id
with your client_id
app and client_secret
with your client_secret
app.