obnam.conf 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #
  2. # This is the global obnam configuration file
  3. #
  4. # see 'man obnam' for all available config options
  5. #
  6. [config]
  7. ###
  8. ### BACKUP REPOSITORY (backup destination)
  9. ###
  10. ### configure where to store backups and how
  11. ###
  12. # name of the backup repository
  13. # can be a local path (or NFS mount ...) or a sftp URL
  14. #
  15. # local directory:
  16. #repository = /mnt/mybackupspace
  17. #
  18. # or remote via sftp
  19. #repository = sftp://someuser@server/path/to/backup
  20. #
  21. # enable compression of files in repository (disabled by default)
  22. #compress-with = deflate
  23. ###
  24. ### BACKUP ROOT(s) (backup source)
  25. ###
  26. ### configure what to backup and what to exclude
  27. ###
  28. #root = /boot, /home
  29. #exclude = ^/var/tmp/, .*\.pid$, \.cache/, ^/usr/src/linux.*/, ^/var/tmp/portage/, .*/.local/share/Trash/
  30. #one-file-system = true
  31. ###
  32. ### FORGET POLICY (repository housekeeping)
  33. ###
  34. ### configure which backup generations to keep when
  35. ### cleaning up repository
  36. #keep = 72h,14d,10w,12m
  37. ###
  38. ### LOGGING
  39. ###
  40. # where to write a logfile
  41. # log = /var/log/obnam/obnam.log
  42. # log-level = debug
  43. # log-keep = 10
  44. # log-max = 0
  45. # log-mode = 0600
  46. ###
  47. ### BACKUP ENCRYPTION
  48. ###
  49. # Encryption:
  50. # --encrypt-with=ENCRYPT-WITH
  51. # PGP key with which to encrypt data in the backup
  52. # repository
  53. # --keyid=KEYID PGP key id to add to/remove from the backup repository
  54. # --weak-random use /dev/urandom instead of /dev/random to generate
  55. # symmetric keys
  56. # --symmetric-key-bits=SYMMETRIC-KEY-BITS
  57. # size of symmetric key, in bits
  58. ###
  59. ### PERFORMANCE TWEAKING
  60. ###
  61. #
  62. # Performance tweaking:
  63. # --node-size=SIZE size of B-tree nodes on disk (default: 262144)
  64. # --chunk-size=SIZE size of chunks of file data backed up (default:
  65. # 1048576)
  66. # --upload-queue-size=SIZE
  67. # length of upload queue for B-tree nodes (default:
  68. # 1024)
  69. # --lru-size=SIZE size of LRU cache for B-tree nodes (default: 500)
  70. # --idpath-depth=IDPATH-DEPTH
  71. # depth of chunk id mapping
  72. # --idpath-bits=IDPATH-BITS
  73. # chunk id level size
  74. # --idpath-skip=IDPATH-SKIP
  75. # chunk id mapping lowest bits skip
  76. # --chunkids-per-group=NUM
  77. # encode NUM chunk ids per group (1024)
  78. #
  79. # EOF