To download the latest backup, I have to do two steps:
# get the latest backup id
mw backup list -o json | jq '.[0].id'
# download the backup
mw backup download <BACKUP-ID>
It would be awesome to have a “well known” ID latest which can be used to do this automatically:
mw backup download latest
Or this could be a flag, if given the BACKUP-ID would be optional:
mw backup download --latest
To download the latest backup, I have to do two steps:
It would be awesome to have a “well known” ID
latestwhich can be used to do this automatically:Or this could be a flag, if given the BACKUP-ID would be optional: