backup: DropboxError: server response does not have offset key

What went wrong?

Dropbox storage is not working It works for me about 6 months, but now it raise error: DropboxError: server response does not have offset key

What steps did you follow?

check it with 4.3.0 and 4.4.0 versions

ruby 2.3.3p222 Operating system: Debian GNU/Linux 8.7 (jessie)

Thanks All!

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 15
  • Comments: 23 (6 by maintainers)

Most upvoted comments

I made a working fork with api V2, it’s require api_token instead key and secret. Token can be generated in dropbox account settings. Code is’t very good, but it works. Need to refactor tests. But there too many mocks)) and deep dependency with dropbox-sdk-gem. May be after I’ll refactor them and make PR. https://github.com/vtm9/backup/tree/dropbox_api_v2

in Gemfile: gem 'backup', github: 'vtm9/backup', branch: 'dropbox_api_v2' gem 'dropbox_api', github: 'vtm9/dropbox_api', branch: 'chunked_file_uploader I made a PR to dropbox_api, after there will be merged, the second line is not needed. Thanks all!

I’m so sad. why did not support Dropbox?

@ulitiy, it’s work for me:

gem "backup", git: "https://github.com/vtm9/backup.git", branch: "dropbox_api_v2"

Hi @lorenso, you need to specify your API token instead api_key and api_secret. Token you can generate in your dropbox account in apps tab.

  store_with Dropbox do |db|
    db.keep        = 5
    db.retry_waitsec = 1
    db.api_token  = "DROPBOX_TOKEN"
  end

This works for me

meantime, maybe someone can advice an alternative to dropbox?

official documentation http://backup.github.io/backup/v4/ proposes

    CloudFiles
    Dropbox
    FTP
    Local
    SCP
    SFTP
    RSync
    S3

and only dropbox i could use as a FREE external cloud service (CloudFiles as far as i tried - needs credit card and so on)

  • local - not an option at all
  • (S)FTP - if my server will be compromised then it will compromise my external ftps too over backup setup files (so, again, not really an easy-to-setup option)
  • RSync/S3 - never used. looks like need much time to get how and what…

so, for now my backups are stopped and it is, obviously, not good 😦

any suggestions?

thanks