Dropbox backup settings

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+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

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+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




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+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

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+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




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+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

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.

On 01-Sep-2013, at 10:54 PM, Tibi F <fr...@gmail.com> wrote:

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+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





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+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




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+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Hi Tibi,

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



On Mon, Sep 2, 2013 at 2:24 PM, Anand Doshi <an...@iwebnotes.com> wrote:
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.

On 01-Sep-2013, at 10:54 PM, Tibi F <fr...@gmail.com> wrote:

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+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





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+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




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+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
Regards,
Akhilesh Darjee



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+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.