Skip to content

Support for .backup extension #99

@TonsiTT

Description

@TonsiTT

https://github.com/stefanzweifel/laravel-backup-restore/blob/b0b03bc99b7d9df4edf7444e9e6e29be8d2c53a9/src/PendingRestore.php#L80C1-L84C6
public function getAvailableDbDumps(): Collection { return $this->getAvailableFilesInDbDumpsDirectory() ->filter(fn ($file) => Str::endsWith($file, ['.sql', '.sql.gz', '.sql.bz2'])); }

Using Binary Dumps with .backup extension isnt supported with restore right now. Gives a "No database dumps found in backup" error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions