Skip to content

Can't download backup file #46

@SG-fabian

Description

@SG-fabian

We are uploading our backup files to an S3 compatible storage. But downloading them always returns an error:

League\ Flysystem\ UnableToRetrieveMetadata
Unable to retrieve the file_size for file at location: ...

After digging around a bit I found out, that the plugins tries to download from the filesystem NULL in the DownloadBackupController:

Storage::disk(config('backup.backup.disk'))

The backup.disk variable isn't set in the config file. After adding it to the local config file it works. If this isn't intentional behaveiour you should change the config variable to:

config('backup.destination.disk')

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