add pre post backup scripts
This commit is contained in:
8
backup_scripts/gitea/post_backup.sh
Normal file
8
backup_scripts/gitea/post_backup.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
HOST_GITEA_BACKUP_DIR="/backup/gitea"
|
||||
HOST_CONFIG_BACKUP_DIR="/backup/system_dirs"
|
||||
|
||||
rm -rf ${HOST_GITEA_BACKUP_DIR}/*
|
||||
rm -rf ${HOST_CONFIG_BACKUP_DIR}/*
|
||||
# notification
|
||||
|
||||
Reference in New Issue
Block a user