Copying zip failed because: There is no disk set for the backup destination. #1105
Unanswered
DrGarciaDev
asked this question in
Q&A
Replies: 1 comment
-
Edit: My bad... was missing and environment variable...
I'm using
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got this exception when try to create backup using php artisan backup:run --only-db
My filesystems.php
a snippet laravel-bakup.php file
a snippet config/app.php
follow this tutorial:
https://medium.com/@dennissmink/laravel-backup-database-to-your-google-drive-f4728a2b74bd
I receive email notifications with this:
Traza de la excepción: #0 C:\wamp64\www\crud-laravel-5.4\vendor\spatie\laravel-backup\src\BackupDestination\BackupDestination.php(78): Spatie\Backup\Exceptions\InvalidBackupDestination::diskNotSet() #1 C:\wamp64\www\crud-laravel-5.4\vendor\spatie\laravel-backup\src\Tasks\Backup\BackupJob.php(239): Spatie\Backup\BackupDestination\BackupDestination->write('C:\wamp64\www\c...') #2 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Support\Collection.php(287): Spatie\Backup\Tasks\Backup\BackupJob->Spatie\Backup\Tasks\Backup{closure}(Object(Spatie\Backup\BackupDestination\BackupDestination), 1) #3 C:\wamp64\www\crud-laravel-5.4\vendor\spatie\laravel-backup\src\Tasks\Backup\BackupJob.php(249): Illuminate\Support\Collection->each(Object(Closure)) #4 C:\wamp64\www\crud-laravel-5.4\vendor\spatie\laravel-backup\src\Tasks\Backup\BackupJob.php(137): Spatie\Backup\Tasks\Backup\BackupJob->copyToBackupDestinations('C:\wamp64\www\c...') #5 C:\wamp64\www\crud-laravel-5.4\vendor\spatie\laravel-backup\src\Commands\BackupCommand.php(49): Spatie\Backup\Tasks\Backup\BackupJob->run() #6 [internal function]: Spatie\Backup\Commands\BackupCommand->handle() #7 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(29): call_user_func_array(Array, Array) #8 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container{closure}() #9 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure)) #10 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Container\Container.php(539): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL) #11 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Console\Command.php(182): Illuminate\Container\Container->call(Array) #12 C:\wamp64\www\crud-laravel-5.4\vendor\symfony\console\Command\Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #13 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Console\Command.php(167): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #14 C:\wamp64\www\crud-laravel-5.4\vendor\spatie\laravel-backup\src\Commands\BaseCommand.php(22): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 C:\wamp64\www\crud-laravel-5.4\vendor\symfony\console\Application.php(987): Spatie\Backup\Commands\BaseCommand->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 C:\wamp64\www\crud-laravel-5.4\vendor\symfony\console\Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Spatie\Backup\Commands\BackupCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 C:\wamp64\www\crud-laravel-5.4\vendor\symfony\console\Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 C:\wamp64\www\crud-laravel-5.4\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(122): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 C:\wamp64\www\crud-laravel-5.4\artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 {main}
Beta Was this translation helpful? Give feedback.
All reactions