Linux.pl
Opcje wyszukiwania podręcznika man:
Lista stron man zaczynających się od znaku:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   ALPHA   NUM   OTHER   ALL
BORG-PLACEHOLDERS(1)           borg backup tool           BORG-PLACEHOLDERS(1)

NAME
       borg-placeholders - Details regarding placeholders

DESCRIPTION
       Repository  (or Archive) URLs, --prefix, --glob-archives, --comment and
       --remote-path values support these placeholders:

       {hostname}
              The (short) hostname of the machine.

       {fqdn} The full name of the machine.

       {reverse-fqdn}
              The full name of the machine in reverse domain name notation.

       {now}  The current local date and time, by default in ISO-8601  format.
              You   can   also   supply   your   own   format   string,   e.g.
              {now:%Y-%m-%d_%H:%M:%S}

       {utcnow}
              The current UTC date and time, by default  in  ISO-8601  format.
              You   can  also  supply  your  own  format  string,  e.g.  {utc-
              now:%Y-%m-%d_%H:%M:%S}

       {user} The user name (or UID, if no name is available) of the user run-
              ning borg.

       {pid}  The current process ID.

       {borgversion}
              The version of borg, e.g.: 1.0.8rc1

       {borgmajor}
              The version of borg, only the major version, e.g.: 1

       {borgminor}
              The version of borg, only major and minor version, e.g.: 1.0

       {borgpatch}
              The  version of borg, only major, minor and patch version, e.g.:
              1.0.8

       If literal curly braces need to be used, double them for escaping:

          borg create /path/to/repo::{{literal_text}}

       Examples:

          borg create /path/to/repo::{hostname}-{user}-{utcnow} ...
          borg create /path/to/repo::{hostname}-{now:%Y-%m-%d_%H:%M:%S} ...
          borg prune --prefix '{hostname}-' ...

       NOTE:
          systemd uses a difficult, non-standard syntax for command  lines  in
          unit files (refer to the systemd.unit(5) manual page).

          When  invoking borg from unit files, pay particular attention to es-
          caping, especially when using  the  now/utcnow  placeholders,  since
          systemd performs its own %-based variable replacement even in quoted
          text. To avoid interference from systemd, double all  percent  signs
          ({hostname}-{now:%Y-%m-%d_%H:%M:%S}          becomes          {host-
          name}-{now:%%Y-%%m-%%d_%%H:%%M:%%S}).

AUTHOR
       The Borg Collective

                                  2021-03-22              BORG-PLACEHOLDERS(1)

Czas wygenerowania: 0.00026 sek.


Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson

Copyright © 2003-2025 Linux.pl
Hosted by Hosting Linux.pl