mirror of
				https://github.com/borgbase/ansible-role-borgbackup.git
				synced 2025-10-25 11:24:41 +02:00 
			
		
		
		
	Add optional argument: remote_rate_limit. By @kenayagi (#47)
This commit is contained in:
		
							parent
							
								
									3e87b539d2
								
							
						
					
					
						commit
						613b565716
					
				| @ -68,6 +68,7 @@ $ git clone https://github.com/borgbase/ansible-role-borgbackup.git roles/borgba | ||||
| - `borg_lock_wait_time`: Config maximum seconds to wait for acquiring a repository/cache lock. Defaults to 5 seconds. | ||||
| - `borg_ssh_command`: Command to use instead of just "ssh". This can be used to specify ssh options. | ||||
| - `borg_remote_path`: Path to the borg executable on the remote. It will default to `borg`. | ||||
| - `borg_remote_rate_limit`: Remote network upload rate limit in kiBytes/second. | ||||
| - `borg_encryption_passcommand`: The standard output of this command is used to unlock the encryption key. | ||||
| - `borg_retention_policy`: Retention policy for how many backups to keep in each category (daily, weekly, monthly, etc). | ||||
| - `ssh_key_file`: Path to a private ssh key file (default is `.ssh/id_ed25519`). It generates a ed25519 key if the file doesn't exist yet. | ||||
|  | ||||
| @ -14,6 +14,7 @@ borg_encryption_passcommand: false | ||||
| borg_lock_wait_time: 5 | ||||
| borg_ssh_command: false | ||||
| borg_remote_path: false | ||||
| borg_remote_rate_limit: 0 | ||||
| borg_retention_policy: | ||||
|   keep_hourly: 3 | ||||
|   keep_daily: 7 | ||||
|  | ||||
| @ -66,7 +66,9 @@ storage: | ||||
|     compression: auto,zstd | ||||
| 
 | ||||
|     # Remote network upload rate limit in kiBytes/second. | ||||
|     #remote_rate_limit: 5000 | ||||
| {% if borg_remote_rate_limit %} | ||||
|     remote_rate_limit: {{ borg_remote_rate_limit }} | ||||
| {% endif %} | ||||
| 
 | ||||
|     # Command to use instead of just "ssh". This can be used to specify ssh options. | ||||
|     # ssh_command: ssh -i ~/.ssh/id_ed25519 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user