Add: post-backup hook Renamed:setup cms-handeler

Added funtion for runing script after Backup
Renamed bck-util cms-handeler to CMSHook-conf for future compatibility
This commit is contained in:
2021-02-10 12:03:10 +01:00
parent b3d293b8c3
commit 4e4f52bc1d
4 changed files with 8 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ DBPASS='<MSQLRootPW>' #MySQL Root password (syntax '<MSQLRoot
#RSYNC
RSPORT=22 #Rsync port
## To run a script after the backup has ran create "Post-backup-hook.sh" in this folder
##SiteBackup site backup command, multiple commands are allowed
#example: SiteBackup -d domain.com -sn domain -db wp_093 -sd "/var/www/domain.com/html" -ext-files "/ext/test.txt" -ai1 -wpupdate
@@ -36,4 +37,3 @@ RSPORT=22 #Rsync port
# -srsync #syncs site folder via rsync
# -srsyncdel #also syncs deletes monthly (day set by DOMC)
# -tarenc #Enables encrypyed site Tar backup