Skip to content

Restore backup without database dump throw error #84

@scramatte

Description

@scramatte

Hi,

Restore backup without database dump throw error :

Wnx\LaravelBackupRestore\Exceptions\NoDatabaseDumpsFound 

     "No database dumps found in backup `app/only-files-2024-11-22-12-56-47.zip`."
   "Found files in db-dumps directory:"

 at vendor/wnx/laravel-backup-restore/src/Exceptions/NoDatabaseDumpsFound.php:17
    13▕     {
    14▕ 
    15▕         $files = $pendingRestore->getAvailableFilesInDbDumpsDirectory()->implode("\n");
    16▕ 
 ➜  17▕         return new static(<<<TXT
    18▕             "No database dumps found in backup `{$pendingRestore->backup}`."
    19▕             "Found files in db-dumps directory:"
    20▕             $files
    21▕         TXT

     +14 vendor frames 

 15  artisan:35
     Illuminate\Foundation\Console\Kernel::handle()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions