var ingoreSqlTableList = []string{"information_schema"}
var ingoreFolderNameList = []string{"www"}
Variable Name | Description |
---|---|
hostname | hostname for sql connection |
port | port for sql connection |
dbname | database name for sql connection |
username | username for sql connection |
password | password for sql connection |
Variable Name | Description |
---|---|
sourceFolderDir | name of the folder to be backed up |
backupSqlDir | the name of the folder where the sql backups will be installed |
backupFolderDir | the name of the folder where the file backups will be installed |
go run main.go