Skip to content

Feature Request: When restore target file is not specified, restore the latest backup by timestamp #436

@shaunakv1

Description

@shaunakv1

This will make the automation of restores specifically in a "mirroring" scenario where two databases just need to be kept in sync a lot simpler.

Idea would be that if restore command is called without a specified dump file, then use the list API of s3 to find the newest backup file by the timestamp using the file pattern configured ( or default) and use the newest dump to restore the database.

It could be beneficial to optionally enable this behaviour with a config or environment variable like "AUTO_RESTORE_LATEST" which defaults to false.

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