Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Backing up to dropbox is no longer working. It works if the backups are on the same server.
Comments
Comment #1
jdanthinne CreditAttribution: jdanthinne commentedI confirm this. Was working fine until a few weeks, but not anymore…
Comment #2
droplet CreditAttribution: droplet commentedupdate the lib and work on D6
https://github.com/jakajancar/DropboxUploader
Comment #3
jdanthinne CreditAttribution: jdanthinne commentedWorking fine with this new version.
Comment #4
wundo CreditAttribution: wundo commentedMarking as fixed
Comment #5
wundo CreditAttribution: wundo commentedComment #7
westis CreditAttribution: westis commentedI get the same error using the latest library. I'm on D7
Comment #8
tuandungb CreditAttribution: tuandungb commentedI get the same error in D7,too.The error appears about 2 weeks ago.Everything run OK before
Comment #9
arso4949 CreditAttribution: arso4949 commentedSame problem, d6. It was working fine before.
I updated the DropboxUploader.php, still not working
Comment #10
NikLP CreditAttribution: NikLP commentedOkay, so it looks like this module is basically going to need a rewrite. AFAICT, the DB API changed and the way the class we're using works is very hacky, and this has been blocked it seems.
https://github.com/jakajancar/DropboxUploader/issues/3
Comment #11
roxflame CreditAttribution: roxflame commentedIncreasing priority to critical as the module can not function at all in it's current form given the API changes on Dropbox's end.
Comment #12
roxflame CreditAttribution: roxflame commentedChanging category to bug report, as this is not just a request for support, but prevents the module backing-up at all.
Comment #13
roxtaz CreditAttribution: roxtaz commentedConfirmed: module not working at all on drupal 6 and drupal 7.
Maybe we can do something with Dropbox API ?
Comment #14
D4Ko CreditAttribution: D4Ko commentedI find quick fix:
https://github.com/jakajancar/DropboxUploader/issues/3
change in DropboxUploader.php:
to:
I tested the D7 and it works.
Comment #15
roxtaz CreditAttribution: roxtaz commentedTested on 5 different Drupal 7 sites ... not working for me ... sorry.
Comment #16
Danny EnglanderI have not been able to get this to work for several weeks now. Expanding upon NikLP in #10 above, in that Github issue, the developer of the script himself says:
... I agree, this module probably needs a complete rewrite.
This makes sense as Dropbox has optional two step verification now so even if you could hack together the script to work, I don't think it would work if one has two step verification activated so probably the api route is the way to go.
There's a third party PHP API that Dropbox api site links to:
https://github.com/BenTheDesigner/Dropbox
In the meantime, I needed a quick solution so have started to use Nodesquirrel which also works in concert with Backup and Migrate just as this module did and it simply "works" for offsite backups. They have a free trial and the developers are extremely helpful and friendly both in the issue queue and from their website.
Comment #17
roxflame CreditAttribution: roxflame commentedI have found another way of getting the files backed up to dropbox which works for our situation. It is a bit of a roundabout way of doing things, but some of you may find our solution useful.
You will need your own linux server with FTP, or at least root access and FTP.
1: Install dropbox on the server following instructions here: https://www.dropbox.com/install?os=lnx
2: Then set up your backup migrate using FTP destination instead of dropbox destination.
3: Either point the destination above to a folder within the dropbox folder on the server, or create a symbolic link from your destination to a folder within the dropbox.
4: Hope for the best!
Comment #18
maczkojanos CreditAttribution: maczkojanos commentedHello,
im checked this: https://github.com/jakajancar/DropboxUploader
It works.
maczkojanos
Comment #19
ultimikeEfforts to fix this module in a sustainable manner are taking place in this issue: http://drupal.org/node/1943262
-mike
Comment #20
wundo CreditAttribution: wundo commentedMarking as fixed, as the latest dev seems to be working