You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.