User Tools

Site Tools


barman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
barman [2025/10/27 13:21] jbibarman [2025/10/27 13:38] (current) jbi
Line 29: Line 29:
 backup_compression = gzip backup_compression = gzip
 encryption = gpg  encryption = gpg 
-encryption_key_id = barman+encryption_key_id = barman <-- the name you gave previous
 encryption_passphrase_command = "cat /etc/barman.d/secret" encryption_passphrase_command = "cat /etc/barman.d/secret"
 </code> </code>
  
-Done+**Done**
  
-You will have to re-initiate the backup, ie (be careful and not just c&p, but think):+You will have to re-initiate the backup, ie (be careful and not just c&p, but think, you can loose the existing backup):
  
 <code> <code>
Line 47: Line 47:
  
  
-You can see that the encryption is on:+You can check if the encryption is on:
  
 <code> <code>
 sudo -u barman  barman check SERVER-NAME | grep encryption sudo -u barman  barman check SERVER-NAME | grep encryption
    
-# and in your barman-backup-dir/SERVER-NAME/base/BACKUP-SET/ will have a basebackup ending on :gpg+# This should do it 
 +#  
 +# but you can also see it: 
 +# and in your barman-backup-dir/SERVER-NAME/base/BACKUP-SET/ will have a basebackup ending on .gpg
 # and in your barman-backup-dir/SERVER-NAME/wals/WAL-SET/ the wal file will respond to # and in your barman-backup-dir/SERVER-NAME/wals/WAL-SET/ the wal file will respond to
 # file wal-file  # file wal-file 
Line 59: Line 62:
 </code> </code>
  
- +===== Warnings ===== 
 + 
 + 
 +If you - like us - have a monitor system that counts the numbers of "OK" from the output 
 + 
 +<code> 
 +sudo -u barman  barman check SERVER-NAME 
 +</code> 
 + 
 +It will fail because there are now 23 OK's (hopefully) and not the 22 OK's :-) 
  
  
barman.1761567717.txt.gz · Last modified: 2025/10/27 13:21 by jbi