mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-07 01:01:47 -04:00
The --hostname/--username options on borg create (added in 2.0.0b21, #9402) are removed in favor of the BORG_HOSTNAME / BORG_USERNAME environment variables. When set, these override the hostname/username stored in newly created archives and used by the {hostname}/{user} placeholders (so they also apply to archive names, prune --glob-archives, check, etc.). Useful to run borg on host A but impersonate host B. The env vars are read at the point of use; fqdn/hostid (see BORG_HOST_ID) and the auto-detection are intentionally left untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| archive-specification.rst.inc | ||
| config.rst.inc | ||
| date-time.rst.inc | ||
| environment.rst.inc | ||
| file-metadata.rst.inc | ||
| file-systems.rst.inc | ||
| logging.rst.inc | ||
| positional-arguments.rst.inc | ||
| repository-locations.rst.inc | ||
| repository-urls.rst.inc | ||
| resources.rst.inc | ||
| return-codes.rst.inc | ||
| units.rst.inc | ||