faq.rst 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .. _faq:
  2. .. include:: global.rst.inc
  3. Frequently asked questions
  4. ==========================
  5. Which platforms are supported?
  6. Currently Linux, FreeBSD and MacOS X are supported.
  7. Can I backup VM disk images?
  8. Yes, the :ref:`deduplication <deduplication_def>` technique used by |project_name|
  9. makes sure only the modified parts of the file are stored.
  10. Can I backup from multiple servers into a single repository?
  11. Yes, but in order for the deduplication used by Borg to work, it
  12. needs to keep a local cache containing checksums of all file
  13. chunks already stored in the repository. This cache is stored in
  14. ``~/.cache/borg/``. If Borg detects that a repository has been
  15. modified since the local cache was updated it will need to rebuild
  16. the cache. This rebuild can be quite time consuming.
  17. So, yes it's possible. But it will be most efficient if a single
  18. repository is only modified from one place. Also keep in mind that
  19. Borg will keep an exclusive lock on the repository while creating
  20. or deleting archives, which may make *simultaneous* backups fail.
  21. Which file attributes are preserved?
  22. The following attributes are preserved:
  23. * Name
  24. * Contents
  25. * Hardlinks and symlinks
  26. * Time of last modification (nanosecond precision with Python >= 3.3)
  27. * User ID of owner
  28. * Group ID of owner
  29. * Unix Permission
  30. * Extended attributes (xattrs)
  31. * Access Control Lists (ACL_) on Linux, OS X and FreeBSD
  32. * BSD flags on OS X and FreeBSD
  33. How can I specify the encryption passphrase programmatically?
  34. The encryption passphrase can be specified programmatically using the
  35. `BORG_PASSPHRASE` environment variable. This is convenient when setting up
  36. automated encrypted backups. Another option is to use
  37. key file based encryption with a blank passphrase. See
  38. :ref:`encrypted_repos` for more details.
  39. When backing up to remote servers, is data encrypted before leaving the local machine, or do I have to trust that the remote server isn't malicious?
  40. Yes, everything is encrypted before leaving the local machine.
  41. If a backup stops mid-way, does the already-backed-up data stay there? I.e. does Borg resume backups?
  42. Yes, during a backup a special checkpoint archive named ``<archive-name>.checkpoint`` is saved every 5 minutes
  43. containing all the data backed-up until that point. This means that at most 5 minutes worth of data needs to be
  44. retransmitted if a backup needs to be restarted.