My backup scripts and tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.yaml 1.1 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # List multiple roots, in case they come from different file systems.
  2. # Any paths already included by another root will be excluded, so it's
  3. # OK if these paths actually live on the same filesystem.
  4. roots: |
  5. /
  6. /boot
  7. /usr
  8. /var
  9. one-file-system: true
  10. exclude-caches: true
  11. # Files/dirs to exclude from backup.
  12. # Relative paths are treated as if starting with **/
  13. # Paths ending in / will only match directories.
  14. exclude: |
  15. /var/tmp/
  16. /tmp/
  17. /var/cache/apt/archives/
  18. Steam/steamapps/
  19. Steam/ubuntu*/
  20. .cache/
  21. # Rules to exclude files based on file size.
  22. # This is a dict of sizes, each with a list of rules.
  23. # For a given path, the largest size with a matching rule applies.
  24. # Matching follows the same behavior as the "exclude" list.
  25. # Size is calculated as used blocks (think "du", not "du --apparent-size").
  26. max-size-rules:
  27. 500 MiB: |
  28. *
  29. # 1.0 GiB: |
  30. # *.mp4
  31. # Files that are always included, even if they would have been
  32. # excluded due to file size or the "exclude" list.
  33. # Matching follows the same behavior as the "exclude" list.
  34. unexclude: |
  35. .git/objects/pack/*.pack
  36. # Email address for notification at end of backup
  37. notify-email: jim@jim.sh