Added exclude parameter to borg create command
This commit is contained in:
		
							parent
							
								
									94399a5b84
								
							
						
					
					
						commit
						d66a8b859b
					
				| @ -232,7 +232,8 @@ export BORG_PASSPHRASE="$(tail -1 $borgDetails)" | ||||
| mapfile -t xtraFiles < $borgXtraFiles | ||||
| 
 | ||||
| ## Call BorgBackup | ||||
| borg --show-rc create --list ::`date +%Y-%m-%d_%H%M%S` \ | ||||
| borg --show-rc create --list --exclude-from $borgExcludeFiles \ | ||||
|     ::`date +%Y-%m-%d_%H%M%S` \ | ||||
|     "${xtraFiles[@]}" \ | ||||
|     "$ncdata" \ | ||||
|     "$sqlDumpDir/$sqlDumpFile" 2>> $logFile | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user