dropbox backup settings

205 views
Skip to first unread message

Tibi F

unread,
Aug 31, 2013, 7:15:29 AM8/31/13
to erpnext-u...@googlegroups.com
Hi all,

how can i set up dropbox backup? On the web app i get this instruction:
"Please set Dropbox access keys in conf.py"í
but i don't see dropbox section in conf.by.

Please write example settings for this feature.

thank you

Nabin Hait

unread,
Aug 31, 2013, 7:24:41 AM8/31/13
to erpnext-u...@googlegroups.com
Add the following settings in conf.py

dropbox_access_key = "xxxxxxxxxxxxxxx"
dropbox_secret_key = "xxxxxxxxxxxxxxx"


--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Tibi F

unread,
Sep 1, 2013, 1:24:32 PM9/1/13
to erpnext-u...@googlegroups.com
Dear Nabin,

thank you, i try it, but i getn error:

Backup Upload Failed

Oops, your automated backup to Dropbox failed.

Error message: Traceback (innermost last): File "app/setup/doctype/backup_manager/backup_manager.py", line 34, in take_backups_dropbox did_not_upload, error_log = backup_to_dropbox() File "app/setup/doctype/backup_manager/backup_dropbox.py", line 89, in backup_to_dropbox upload_file_to_dropbox(filename, "/database", dropbox_client) File "app/setup/doctype/backup_manager/backup_dropbox.py", line 149, in upload_file_to_dropbox dropbox_client.put_file(folder + "/" + os.path.basename(filename), f, overwrite=True) File "/usr/lib/python2.6/site-packages/dropbox/client.py", line 321, in put_file return self.rest_client.PUT(url, file_obj, headers) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 264, in PUT return cls.IMPL.PUT(*n, **kw) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 210, in PUT return self.request("PUT", url, body=body, headers=headers, raw_response=raw_response) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 182, in request raise ErrorResponse(r) ErrorResponse: [401] u'Unauthorized'

Please contact your system manager for more information.


how to solve this? Thank you.


2013. augusztus 31., szombat 13:24:41 UTC+2 időpontban Nabin Hait a következőt írta:
Add the following settings in conf.py

dropbox_access_key = "xxxxxxxxxxxxxxx"
dropbox_secret_key = "xxxxxxxxxxxxxxx"


On 31-Aug-2013, at 4:45 PM, Tibi F wrote:

Hi all,

how can i set up dropbox backup? On the web app i get this instruction:
"Please set Dropbox access keys in conf.py"í
but i don't see dropbox section in conf.by.

Please write example settings for this feature.

thank you

--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+unsub...@googlegroups.com.

Anand Doshi

unread,
Sep 2, 2013, 4:54:06 AM9/2/13
to erpnext-u...@googlegroups.com
Hi Tibi,

Did you replace xxxxxxxxxxxxxx with your dropbox api keys?

dropbox_access_key = "xxxxxxxxxxxxxxx"
dropbox_secret_key = "xxxxxxxxxxxxxxx"

Since you are an open source user, you need to register your instance with dropbox for api access. Dropbox will give you access and secret keys which you need to fill in here.

Thanks,
Anand.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.

Akhilesh Darjee

unread,
Sep 2, 2013, 4:56:54 AM9/2/13
to erpnext-u...@googlegroups.com
Hi Tibi,

Here's the link which will guide you to achieve dropbox backup settings - 

--
Regards,
Akhilesh Darjee
Reply all
Reply to author
Forward
0 new messages