removed quotes from borg create commandlines
This commit is contained in:
		
							parent
							
								
									21476ff27b
								
							
						
					
					
						commit
						9808201128
					
				
							
								
								
									
										10
									
								
								backup.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								backup.sh
									
									
									
									
									
								
							| @ -560,17 +560,17 @@ if [ -z "$borgExclude" ]; then | ||||
|     echo -e "${bold}${op}${stamp} Executing borg without exclusions${normal}" \ | ||||
|         >> "$logFile" | ||||
|     borg --show-rc create ${borgCreateParams} ::`date +%Y-%m-%d_%H%M%S` \ | ||||
|         "${xtraFiles[@]}" \ | ||||
|         "${sqlDumpDir}" "${ncDataDir}" \ | ||||
|         ${xtraFiles[@]} \ | ||||
|         ${sqlDumpDir} ${ncDataDir} \ | ||||
|         2>> "$logFile" | ||||
| else | ||||
|     # borgExclude is not empty | ||||
|     echo -e "${bold}${op}${stamp} Executing borg with exclusions${normal}" \ | ||||
|         >> "$logFile" | ||||
|     borg --show-rc create ${borgCreateParams} --exclude-from "${borgExclude}" \ | ||||
|     borg --show-rc create ${borgCreateParams} --exclude-from ${borgExclude} \ | ||||
|         ::`date +%Y-%m-%d_%H%M%S` \ | ||||
|         "${xtraFiles[@]}" \ | ||||
|         "${sqlDumpDir}" "${ncDataDir}" \ | ||||
|         ${xtraFiles[@]} \ | ||||
|         ${sqlDumpDir} ${ncDataDir} \ | ||||
|         2>> "$logFile" | ||||
| fi | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user