michaelnet/cuddlefish/backup

9 lines
221 B
Plaintext
Raw Normal View History

2023-05-26 12:05:53 -07:00
#!/bin/bash
# CONTAINER_ID=b581d6283772
CONTAINER_ID=gitea
docker commit -p $CONTAINER_ID gitea-checkpoint-latest
docker save -o gitea-checkpoint-$(date | tr '[:upper:]' '[:lower:]' | tr ' ' '_').tar checkpoint-latest