Created
          July 29, 2018 20:17 
        
      - 
      
 - 
        
Save angristan/c8a324d2df65596eefe756c9b8f57af5 to your computer and use it in GitHub Desktop.  
    borgmatic example
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | location: | |
| source_directories: | |
| - /backup/lyra/files/rsync | |
| one_file_system: true | |
| repositories: | |
| - /backup/lyra/files/borg | |
| storage: | |
| compression: zstd | |
| umask: 0077 | |
| archive_name_format: 'lyra_files_{now:%Y-%m-%d_%H-%M}' | |
| retention: | |
| keep_daily: 7 | |
| keep_weekly: 4 | |
| keep_monthly: 6 | |
| prefix: "lyra_files" | |
| consistency: | |
| checks: | |
| - repository | |
| - archives | |
| check_last: 1 | |
| hooks: | |
| before_backup: | |
| - echo "`date` - Starting borg files for lyra." | |
| after_backup: | |
| - echo "`date` - Finished borg files for lyra." | |
| on_error: | |
| - echo "`date` - Error while creating borg files for lyra." | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment