Skip to content

dropbox - no disk set for backup destination #471

@sherwinmartin

Description

@sherwinmartin

hello, i am able to do use local without a problem, but when i use dropbox driver i run into errors.

in terminal i get

Copying zip failed because: There is no disk set for the backup destination.

when i review the email, here's the error it gives me

Important: An error occurred while backing up Short Term Training Database

Exception message: There is no disk set for the backup destination

Exception trace: #0 /Users/sherwin/apps/laravel/sttdb/vendor/spatie/laravel-backup/src/BackupDestination/BackupDestination.php(78): Spatie\Backup\Exceptions\InvalidBackupDestination::diskNotSet() #1

when i run backup:clean i get a

invalid driver [dropbox] is not supported

i've checked your blog, i've destroyed the app api and recreated a new one. i googled issues relating to this and tried different things from those posts. not sure what else i'm missing. please help.

i have tried config:clear.

filesystem.php contains the following

'dropbox' => [
    'driver' => 'dropbox',
    'authorizationToken' => env('DROPBOX_TOKEN'),
],

also copied the DropboxFilesystemProvider.php file from https://murze.be/2017/04/dropbox-will-turn-off-v1-of-their-api-soon-its-time-to-update-your-php-application/

i'm using laravel 5.4.27, mysql 5.7.16

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions