39 lines
2.2 KiB
Plaintext
39 lines
2.2 KiB
Plaintext
##General Configuration
|
|
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
|
|
|
|
REMOTESERVER=<Remote-Server> #Addres of Remote Server
|
|
REMOTEUSER=<user> #User for Remote Server
|
|
FTPPW=<Password> #Password for FTP Server ##Comment out if SFTP is used##
|
|
REMOTEPATH=/home #Path were backup wil be stored on FTP and a site sub-folder will be made
|
|
|
|
#SQL
|
|
DBUSER='root' #MySQL Username
|
|
DBPASS='<MSQLRootPW>' #MySQL Root password (syntax '<MSQLRootPW>')
|
|
|
|
#RSYNC
|
|
RSPORT=22 #Rsync port
|
|
|
|
|
|
##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
|
|
#
|
|
# -d "domain.com" #Site Domain name
|
|
# -sn "domain" #Sitename for storage
|
|
# -db "db_1" #Site database,single database "db_1" ,multiple databses is posible using the following contex "db_1 db_2 db3"
|
|
# -sd "/var/www/domain.com/html" #Site folder
|
|
# -ext-files "<optfiles>" #Extra files to get added to the site backup
|
|
# -ai1 #Enable WP all in one migration backup
|
|
# -wpupdate #Enable WP updatedb
|
|
# -nodb #Disable databse backup
|
|
# -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
|
|
|