Make backup script self-discoverable
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#MISE description="Backup the production database to the local development env"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
current_date=$(date +%s)
|
current_date=$(date +%s)
|
||||||
@@ -140,10 +140,6 @@ run = "gh run watch"
|
|||||||
description = 'Open an ssh console to the production env'
|
description = 'Open an ssh console to the production env'
|
||||||
run = 'ssh music-library-prod'
|
run = 'ssh music-library-prod'
|
||||||
|
|
||||||
[tasks."prod:backup"]
|
|
||||||
description = 'Backup the production database to the local development env'
|
|
||||||
run = 'scripts/prod-backup.sh'
|
|
||||||
|
|
||||||
[tasks."prod:prune-backups"]
|
[tasks."prod:prune-backups"]
|
||||||
confirm = 'Are you sure you want to delete all downloaded database backups?'
|
confirm = 'Are you sure you want to delete all downloaded database backups?'
|
||||||
description = 'Deletes all downloaded database backups'
|
description = 'Deletes all downloaded database backups'
|
||||||
|
|||||||
Reference in New Issue
Block a user