Added port config for (s)ftp
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
##General Configuration
|
||||
RMDAYS=14 #Days until first backup gets removed
|
||||
DOMC=01 #Day of month for monthly backups
|
||||
DOMC=01 #Day of month for monthly backups And Rsync of deletions
|
||||
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
|
||||
|
||||
@@ -8,8 +8,9 @@ SYSBACKENC=0 #Sets if system files use encrypyed tar
|
||||
BACKUPSERVICE=sftp #Transfer prtocal use ftp or sftp
|
||||
|
||||
REMOTESERVER=<Remote-Server> #Addres of Remote Server
|
||||
REMOTEPORT=22 #Port for (s)ftp
|
||||
REMOTEUSER=<user> #User for Remote Server
|
||||
FTPPW=<Password> #Password for FTP Server ##Comment out if SFTP is used##
|
||||
#FTPPW=<Password> #Password for FTP Server ##Un-comment out if FTP is used##
|
||||
REMOTEPATH=/home #Path were backup wil be stored on FTP and a site sub-folder will be made
|
||||
|
||||
#SQL
|
||||
|
||||
@@ -1 +1 @@
|
||||
lftp
|
||||
lftp rsync
|
||||
Reference in New Issue
Block a user