mirror of
https://github.com/turtlebasket/michaelnet.git
synced 2026-03-04 19:44:31 -08:00
initial commit
This commit is contained in:
8
cuddlefish/backup
Executable file
8
cuddlefish/backup
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user