Added encrypted backup function

This commit is contained in:
2020-09-17 14:00:11 +02:00
parent f44cfb0217
commit 0400e31178
3 changed files with 51 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
RMDAYS=14 #Days until first backup gets removed
DOMC=01 #Day of month for monthly backups
SYSTEMFILES="/etc/nginx/ /etc/apache2/ /etc/php/ /etc/mysql/ /etc/crontab /opt/" #Folders and files that will be backed
SYSBACKENC=0 #Sets if system files use encrypyed tar archive
#Remote
BACKUPSERVICE=sftp #Transfer prtocal use ftp or sftp
@@ -33,6 +34,6 @@ RSPORT=22 #Rsync port
# -snotar #Disable site tar creation
# -srsync #syncs site folder via rsync
# -srsyncdel #also syncs deletes monthly (day set by DOMC)
# -tarenc #Enables encrypyed site Tar backup