logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

borg-info - Show archive details such as disk space used

Author

       The Borg Collective

                                                   2022-02-19                                       BORG-INFO(1)

Description

       This command displays detailed information about the specified archive or repository.

       Please note that the deduplicated sizes of the individual archives do not add up to the deduplicated size
       of the repository ("all archives"), because the two are meaning different things:

       This  archive  /  deduplicated size = amount of data stored ONLY for this archive = unique chunks of this
       archive.  All archives / deduplicated size = amount of data stored in  the  repo  =  all  chunks  in  the
       repository.

       Borg  archives  can  only  contain a limited amount of file metadata.  The size of an archive relative to
       this limit depends on a number of factors, mainly the number of files, the lengths  of  paths  and  other
       metadata stored for files.  This is shown as utilizationofmaximumsupportedarchivesize.

Examples

          $ borg info /path/to/repo::2017-06-29T11:00-srv
          Archive name: 2017-06-29T11:00-srv
          Archive fingerprint: b2f1beac2bd553b34e06358afa45a3c1689320d39163890c5bbbd49125f00fe5
          Comment:
          Hostname: myhostname
          Username: root
          Time (start): Thu, 2017-06-29 11:03:07
          Time (end): Thu, 2017-06-29 11:03:13
          Duration: 5.66 seconds
          Number of files: 17037
          Command line: /usr/sbin/borg create /path/to/repo::2017-06-29T11:00-srv /srv
          Utilization of max. archive size: 0%
          ------------------------------------------------------------------------------
                                 Original size      Compressed size    Deduplicated size
          This archive:               12.53 GB             12.49 GB              1.62 kB
          All archives:              121.82 TB            112.41 TB            215.42 GB

                                 Unique chunks         Total chunks
          Chunk index:                 1015213            626934122

          $ borg info /path/to/repo --last 1
          Archive name: 2017-06-29T11:00-srv
          Archive fingerprint: b2f1beac2bd553b34e06358afa45a3c1689320d39163890c5bbbd49125f00fe5
          Comment:
          Hostname: myhostname
          Username: root
          Time (start): Thu, 2017-06-29 11:03:07
          Time (end): Thu, 2017-06-29 11:03:13
          Duration: 5.66 seconds
          Number of files: 17037
          Command line: /usr/sbin/borg create /path/to/repo::2017-06-29T11:00-srv /srv
          Utilization of max. archive size: 0%
          ------------------------------------------------------------------------------
                                 Original size      Compressed size    Deduplicated size
          This archive:               12.53 GB             12.49 GB              1.62 kB
          All archives:              121.82 TB            112.41 TB            215.42 GB

                                 Unique chunks         Total chunks
          Chunk index:                 1015213            626934122

          $ borg info /path/to/repo
          Repository ID: d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
          Location: /path/to/repo
          Encrypted: Yes (repokey)
          Cache: /root/.cache/borg/d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
          Security dir: /root/.config/borg/security/d857ce5788c51272c61535062e89eac4e8ef5a884ffbe976e0af9d8765dedfa5
          ------------------------------------------------------------------------------
                                 Original size      Compressed size    Deduplicated size
          All archives:              121.82 TB            112.41 TB            215.42 GB

                                 Unique chunks         Total chunks
          Chunk index:                 1015213            626934122

Name

       borg-info - Show archive details such as disk space used

Options

       See borg-common(1) for common options of Borg commands.

   argumentsREPOSITORY_OR_ARCHIVE
              repository or archive to display information about

   optionalarguments--json format output as JSON

   Archivefilters-PPREFIX, --prefixPREFIX
              only consider archive names starting with this prefix.

       -aGLOB, --glob-archivesGLOB
              only consider archive names matching the glob. sh: rules apply, see "borg help patterns". --prefix
              and --glob-archives are mutually exclusive.

       --sort-byKEYS
              Comma-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp

       --firstN
              consider first N archives after other filters were applied

       --lastN
              consider last N archives after other filters were applied

See Also

borg-common(1), borg-list(1), borg-diff(1)

Synopsis

       borg [common options] info [options] [REPOSITORY_OR_ARCHIVE]

See Also