XF2 [8WR] Database Backup

XF2 [8WR] Database Backup [Paid] 2.1.0.7

No permission to buy ($10.00)

sbj

Well-known member
Does anyone got Dropbox working and could share with me in private his settings? Obviously the support here is as always non-existent, so it would be nice if someone could share his settings with me to figure it out.
 
Last edited:

btmgreg

Well-known member
I couldn't figure that out either, so I gave up. For a paid product, support is terrible. I don't mean to cause any offence with that comment - but it feels like a chore. I'm also interested if anyone can walk me through setting up dropbox. For now, I don't even have online backup on.
 

jazz_aaf

Well-known member
PHP:
Server error log

    Kunnu\Dropbox\Exceptions\DropboxClientException: {"error_summary": "missing_scope/..", "error": {".tag": "missing_scope", "required_scope": "files.content.write"}} src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php:59

    Generated by: Unknown account 3 February 2021 at 03:20

Stack trace

#0 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/DropboxClient.php(161): Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->send('https://content...', 'POST', '{"runtime":1612...', Array, Array)
#1 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(269): Kunnu\Dropbox\DropboxClient->sendRequest(Object(Kunnu\Dropbox\DropboxRequest), NULL)
#2 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(936): Kunnu\Dropbox\Dropbox->sendRequest('POST', '/files/upload', 'content', Array, 'n21QRkEznSgAAAA...', NULL)
#3 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(1057): Kunnu\Dropbox\Dropbox->postToContent('/files/upload', Array)
#4 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(784): Kunnu\Dropbox\Dropbox->simpleUpload(Object(Kunnu\Dropbox\DropboxFile), '/2021-02-03/_me...', Array)
#5 src/addons/EWR/Backup/Repository/DropboxDP.php(41): Kunnu\Dropbox\Dropbox->upload(Object(Kunnu\Dropbox\DropboxFile), '/2021-02-03/_me...')
#6 src/addons/EWR/Backup/Repository/Backup.php(102): EWR\Backup\Repository\DropboxDP->runBackupDP('/home/nginx/dom...', '2021-02-03')
#7 src/addons/EWR/Backup/Cron/Backup.php(11): EWR\Backup\Repository\Backup->runBackup()
#8 [internal function]: EWR\Backup\Cron\Backup::runBackup(Object(XF\Entity\CronEntry))
#9 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#10 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#11 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#12 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#13 job.php(42): XF\Job\Manager->runQueue(false, 8)
#14 {main}

-------------

Previous GuzzleHttp\Exception\ClientException: Client error: `POST https://content.dropboxapi.com/2/files/upload` resulted in a `401 Unauthorized` response:
{"error_summary": "missing_scope/..", "error": {".tag": "missing_scope", "required_scope": "files.content.write"}}
 - src/addons/EWR/Backup/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
#0 src/addons/EWR/Backup/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run(true)
#5 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/addons/EWR/Backup/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/addons/EWR/Backup/vendor/guzzlehttp/guzzle/src/Client.php(106): GuzzleHttp\Promise\Promise->wait()
#10 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php(57): GuzzleHttp\Client->send(Object(GuzzleHttp\Psr7\Request), Array)
#11 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/DropboxClient.php(161): Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->send('https://content...', 'POST', '{"runtime":1612...', Array, Array)
#12 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(269): Kunnu\Dropbox\DropboxClient->sendRequest(Object(Kunnu\Dropbox\DropboxRequest), NULL)
#13 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(936): Kunnu\Dropbox\Dropbox->sendRequest('POST', '/files/upload', 'content', Array, 'n21QRkEznSgAAAA...', NULL)
#14 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(1057): Kunnu\Dropbox\Dropbox->postToContent('/files/upload', Array)
#15 src/addons/EWR/Backup/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(784): Kunnu\Dropbox\Dropbox->simpleUpload(Object(Kunnu\Dropbox\DropboxFile), '/2021-02-03/_me...', Array)
#16 src/addons/EWR/Backup/Repository/DropboxDP.php(41): Kunnu\Dropbox\Dropbox->upload(Object(Kunnu\Dropbox\DropboxFile), '/2021-02-03/_me...')
#17 src/addons/EWR/Backup/Repository/Backup.php(102): EWR\Backup\Repository\DropboxDP->runBackupDP('/home/nginx/dom...', '2021-02-03')
#18 src/addons/EWR/Backup/Cron/Backup.php(11): EWR\Backup\Repository\Backup->runBackup()
#19 [internal function]: EWR\Backup\Cron\Backup::runBackup(Object(XF\Entity\CronEntry))
#20 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#21 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#22 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#23 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#24 job.php(42): XF\Job\Manager->runQueue(false, 8)
#25 {main}

Request state

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(23) "https://xxx.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

View attachment 245388
I had the same issue. Changing the "Access token expiration" option at Dropbox to "No expiration" solved the problem for me.
 

sbj

Well-known member
I had the same issue. Changing the "Access token expiration" option at Dropbox to "No expiration" solved the problem for me.
Does the dropbox option work for you? For me it doesnt? If so can I see your configurations as Jaxel doesnt care as always.
 
Hi, I have scheduled backup every week for our community forum.

Files size for SQL.GZ shown as 1 KB only.

Please let me know file size is Ok because if backup not worked during restore in case is problem for database.

Attached screenshot of backup files list .

Thanks
 

Attachments

  • Backupfilesize.JPG
    Backupfilesize.JPG
    21.1 KB · Views: 6

Voodoo128

New member
Hello, I just purchased this plugin to backup the forum to B2. I was struggling with it until I realized I cannot use any keys beside the master key which works fine. If I create an application key that has access to a specific bucket it doesn't work. Is this a known issue? Is there any way we can get this fixed as I would rather not use the master key if possible.
 
Top