mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-09 08:51:54 -04:00
parent
45c63ff084
commit
dd38e2c2df
3 changed files with 35 additions and 0 deletions
|
|
@ -619,6 +619,14 @@ Please disclose security issues responsibly.
|
|||
Common issues
|
||||
#############
|
||||
|
||||
Command error: ... needed to match precisely one archive, but matched N.
|
||||
------------------------------------------------------------------------
|
||||
|
||||
The command wanted one archive to work with. But the parameters you gave either
|
||||
didn't match anything or they matched multiple archives.
|
||||
|
||||
See :ref:`archive_specification` about how to refer to an archive.
|
||||
|
||||
/path/to/repo is not a valid repository. Check repo config.
|
||||
-----------------------------------------------------------
|
||||
|
||||
|
|
|
|||
25
docs/usage/general/archive-specification.rst.inc
Normal file
25
docs/usage/general/archive-specification.rst.inc
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
.. _archive_specification:
|
||||
|
||||
Specifying an archive
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
How to refer to an archive depends on whether you use archive series or not.
|
||||
|
||||
**By ID:** if you use archive series, many or all archives will have the same name, thus
|
||||
you need to refer to a single archive by its archive ID (see ``borg repo-list``
|
||||
output)::
|
||||
|
||||
borg info aid:f7dea078
|
||||
|
||||
The ``aid:`` prefix does a prefix match on the archive ID (the hex representation
|
||||
of the archive fingerprint). You only need to give enough hex digits to uniquely
|
||||
identify the archive. This is useful when archive names are ambiguous or when
|
||||
you want to refer to an archive by its immutable ID.
|
||||
|
||||
**By name:** if you don't use archive series, but do it old-style by giving every archive
|
||||
a unique name, you can refer to an archive by its name::
|
||||
|
||||
borg info my-backup-202512312359
|
||||
|
||||
For more details on archive matching patterns (including shell-style globs,
|
||||
regular expressions, and matching by user/host/tags), see :ref:`borg_match-archives`.
|
||||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
.. include:: general/repository-locations.rst.inc
|
||||
|
||||
.. include:: general/archive-specification.rst.inc
|
||||
|
||||
.. include:: general/logging.rst.inc
|
||||
|
||||
.. include:: general/return-codes.rst.inc
|
||||
|
|
|
|||
Loading…
Reference in a new issue