Add backup commands.
This commit is contained in:
		
							parent
							
								
									2820d4489f
								
							
						
					
					
						commit
						08ddc7f8b2
					
				| 
						 | 
				
			
			@ -37,4 +37,18 @@ restic-b2 restore <snapshot ID> --target <directory>
 | 
			
		|||
 | 
			
		||||
```zsh
 | 
			
		||||
restic-b2 check
 | 
			
		||||
```
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Backups
 | 
			
		||||
 | 
			
		||||
* Monthly music library backup:
 | 
			
		||||
 | 
			
		||||
```zsh
 | 
			
		||||
restic-b2 backup --tag "$(date -d "$(date +'%Y-%m-01') -1 day" +'%B %Y')" ~/Beets
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
* KeePassXC database:
 | 
			
		||||
 | 
			
		||||
```zsh
 | 
			
		||||
restic-b2 backup ~/Bauke.kdbx
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue