XF2 [8WR] Database Backup

XF2 [8WR] Database Backup [Paid] 2.1.0.8

No permission to buy ($10.00)
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:
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.
 
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.
 
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.webp
    Backupfilesize.webp
    10.3 KB · Views: 27
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.
 
I have the following problem:

The creation of mysql backup works perfectly fine, even the creation of the file backup works (a complete 13 gb file is created) but it fails to reopen the board.

The logs show this:



Even hours after the file backup was completed the board is still closed.

@Jaxel: Could you please take a look? Thanks!
@Jaxel: Hi, Jaxel, any advice/help would be appreciated. Thanks!
 
Hey @Jaxel
Since ive updated to XF 2.2.7 with PHP 8.0.8 the Backup cannot be done anymore.
I tried to completely remove the Plugin and then doing a clean install of EWR Backup.
First Backup is always successfull, after that i receive every day two of the following erros:
Code:
XF\PrintableException: The directory internal_data/backups does not contain the expected contents. src/addons/EWR/Backup/Repository/History.php:17
Generated by: Unknown account Sep 24, 2021 at 2:15 PM
When i check the backup folder, it only contains _metadata.txt and index.html
Do you have any idea how to resolve this issue?
Thanks
 
Work with XF 2.2.8 ?

Yes, it works well.

Hi @Jaxel ,
Could you please fix the following error when you have time? (I've sent the solution with the conversation to you.) (y)
  • ErrorException: Template error: [E_WARNING] Attempt to read property "group_id" on null
  • src/addons/EWR/Backup/Listener/MacroRender.php:9
Thanks.
 
Considering buying this addon. Is there any possibility of having the backups automatically upload to an off-site location? Like Google Drive or cloud storage for example. So that way it's backed up locally and externally just in case.
 
These are the options for offsite backup. I also requested Google Drive a long time ago but no response. Still, this addon is worth it for the price.

1654457156161.webp
 
I'd love OneDrive or Google Drive. It doesn't seem like any new features will be added though at this point. Still an awesome addon for sure.
 
I'd love OneDrive or Google Drive. It doesn't seem like any new features will be added though at this point. Still an awesome addon for sure.
Yeah I don't have an Amazon S3 or backblaze account. And I can't afford the bigger Dropbox plans since I already paid $12 a month for basically 5 terabytes on Google drive
 
Yeah I don't have an Amazon S3 or backblaze account. And I can't afford the bigger Dropbox plans since I already paid $12 a month for basically 5 terabytes on Google drive
Amazon S3 is pretty darn cheap, FWIW. In my case, I don't want to use Amazon because my site is hosted there, and I use this as an offsite backup in case something happens to my Amazon account.
 
Amazon S3 is pretty darn cheap, FWIW. In my case, I don't want to use Amazon because my site is hosted there, and I use this as an offsite backup in case something happens to my Amazon account.
We use a digitalocean VPS, but I think AWS doesn't work on my account since for some weird reason they charged me 30c but I never got an email so I never got a chance to pay it so they terminated the account with not receiving any warning. :/
 
Top Bottom