repository-locations.rst.inc 614 B

1234567891011121314
  1. Repository Locations / Archive names
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. Many commands need to know the repository location, give it via ``-r`` / ``--repo``
  4. or use the ``BORG_REPO`` environment variable.
  5. Commands needing one or two archive names usually get them as positional argument.
  6. Commands working with an arbitrary amount of archives, usually take ``-a ARCH_GLOB``.
  7. Archive names must not contain the ``/`` (slash) character. For simplicity,
  8. maybe also avoid blanks or other characters that have special meaning on the
  9. shell or in a filesystem (borg mount will use the archive name as directory
  10. name).