repository-locations.rst.inc 614 B

1234567891011121314
  1. Repository Locations / Archive Names
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. Many commands need to know the repository location; specify it via ``-r``/``--repo``
  4. or use the ``BORG_REPO`` environment variable.
  5. Commands that need one or two archive names usually take them as positional arguments.
  6. Commands that work with an arbitrary number of archives usually accept ``-a ARCH_GLOB``.
  7. Archive names must not contain the ``/`` (slash) character. For simplicity,
  8. also avoid spaces or other characters that have special meaning to the
  9. shell or in a filesystem (Borg mount uses the archive name as a directory
  10. name).