Update README.md

This commit is contained in:
Pavel Dmitriev 2021-11-02 12:17:12 +03:00 committed by GitHub
parent 76fdf5d3ab
commit 8044093efc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 2 deletions

View File

@ -1,17 +1,29 @@
# foxBackup # foxBackup
keys ### keys
-f = full backup (if not = increment) -f = full backup (if not = increment)
-q - suppress logs output -q - suppress logs output
config options
### config options
sqldump_prefix="docker exec -t db mysqldump" = prefix for sqldump sqldump_prefix="docker exec -t db mysqldump" = prefix for sqldump
sql_list="dbname dbname2 dbname3:table:table" = sql db list or tables list sql_list="dbname dbname2 dbname3:table:table" = sql db list or tables list
files_list="/path/to/folder1 /path/to/folder/2:subfolder:file_in_folder:subfodler/subsub" = file list. Each line in separate archive. files_list="/path/to/folder1 /path/to/folder/2:subfolder:file_in_folder:subfodler/subsub" = file list. Each line in separate archive.
prefix='/path_to_temp_folder'; = prefix for compessed and index folders prefix='/path_to_temp_folder'; = prefix for compessed and index folders
sshhost='host'; = ssh host to upload (if empty upload is skipped) sshhost='host'; = ssh host to upload (if empty upload is skipped)
sshport=22; sshport=22;
sshuser='login'; sshuser='login';
sshkey='/path_to_ssh_private_key'; sshkey='/path_to_ssh_private_key';
sshpath='/media/hdd2/backup'; = remote path for SCP store sshpath='/media/hdd2/backup'; = remote path for SCP store