

BORG_PASSPHRASE When set, use the value to answer the passphrase question for encrypted repositories. If a command needs a repository parameter, youĬan either leave it away or abbreviate as ::, if a positional parameter is required. Parameter, you can abbreviate as ::archive. Give different output on different log levels - it’s just a possibility.īorg uses some environment variables for automation: General: BORG_REPO When set, use the value to give the default repository location. log levels, do not expect that every command will Use -critical to set CRITICAL log level.

To get warning, error and critical level output. Use -warning (default) to set WARNING log level. To get info, warning, error and critical level output.

Use -info (or -v or -verbose) to set INFO log level. To get debug, info, warning, error and critical level output. Log levels: DEBUG < INFO < WARNING < ERROR < CRITICAL Warnings, errors and critical messages, unless output has been requestedīy supplying an option that implies output (e.g. This is because we want Borg to be mostly silent and only output The log level of the builtin logging configuration defaults to WARNING.
Sshd trim enabler archive#
If you frequently need the same repo URL, it is a good idea to set theīORG_REPO environment variable to set a default for the repo URL:īorg create repo :: archive myfiles 2 > logfileĬustom logging configurations can be implemented via BORG_LOGGING_CONF. Remote repositories with relative paths, alternative syntax with - path relative to current - path relative to user’s home - path relative to other’s home directory Note: giving or is also supported, but not required here. Remote repositories with relative paths can be given using this - path relative to current - path relative to user’s home - path relative to other’s home directory Remote repositories accessed via ssh user - remote repo, absolute - same, alternative syntax, port can be given Note: you may also prepend a file:// to a filesystem path to get URL style. Path/to/repo - filesystem path to repo directory, relative pathĪlso, stuff like ~/path/to/repo or ~other/path/to/repo works (this is path/to/repo - filesystem path to repo directory, absolute path Local filesystem (or locally mounted network filesystem):
