Local to Git migration

This commit is contained in:
Bram Prieshof
2020-06-11 14:03:42 +02:00
parent ba909944a6
commit cc692b3de3

View File

@@ -0,0 +1,31 @@
##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
#Remote
BACKUPSERVICE=sftp #Transfer prtocal use ftp or sftp
REMOTESERVER=<Remote-Server> #Addres of Remote Server
REMOTEUSER=HOSTNAME #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='PASSword' #MySQL Root password (syntax '<MSQLRootPW>')
##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