Skip to content

Add filename prefix and suffix support #29

@spaceemotion

Description

@spaceemotion

Hey, thanks for the package and the quick fix last time!

I've just added manual backup creation to my client's project, but would like to distinguish between an automatically (using the scheduler) and a manually created one.
Instead of storing manually ones inside a database or a text file I would like to detect it through the filename.

Would it be possible to add prefix and suffix options to the backup:run command?
The resulting .zip would then look like this: {prefix}20150421000009{suffix}.zip. Adding prefixes would be as simple as running php artisan backup:run --prefix "backup-" --suffix "-manual"

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions