From be015042c796dccc694da71c8fb923877b047916 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 21 Oct 2018 17:20:34 -0600 Subject: [PATCH] readme: Finished borg details section. Removed sql details section. --- README.md | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index f8bb198..efcfed2 100644 --- a/README.md +++ b/README.md @@ -263,14 +263,14 @@ ### borg remote location ### Examples -Repo in directory *'NCBackup'*, all fields including pointers to additional +Repo in directory *'MailcowBackup'*, all fields including pointers to additional files to backup, exclusion patterns and a remote borg path. Prune: keep all backups made in the last 14 days. ```Ini /var/borgbackup /var/borgbackup/SSHprivate.key -myuser@server001.rsync.net:NCBackup/ +myuser@server001.rsync.net:MailcowBackup/ myPaSsWoRd /root/NCscripts/xtraLocations.borg /root/NCscripts/excludeLocations.borg @@ -308,40 +308,6 @@ ### Examples **Notice that the blank lines are very important!** -## SQL details file - -This file contains all the information needed to access your Mailcow SQL -database in order to dump it's contents into a file that can be easily -backed-up. Each line must contain specific information in a specific order. The -sample file includes this data and example entries. The file must have the -following information in the following order (**all entries required**): - - 1. name of machine hosting mySQL (usually localhost) - 2. name of authorized user - 3. password for above user - 4. name of Mailcow database - -For example: - -```Ini -localhost -Mailcow -pAsSwOrD -MailcowDB -``` - -### Protect your sql details file - -This file contains information on how to access your SQL installation therefore, -you **must** protect it. You should lock it out for all users except root. -Putting it in your root folder is not enough! Run the following commands to -restrict access to the root user only (assuming filename is *'nc_sql.details'*): - -```Bash -chown root:root nc_sql.details # make root the owner -chmod 600 nc_sql.details # restrict access to root only (read/write) -``` - ## 503 functionality This script includes an entire section dedicated to copying an html file to act