---
name: "upgrade-borgmatic-config"
section: "1"
platform: "linux"
package: "borgmatic"
version: "1.7.7-1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/upgrade-borgmatic-config"
---

# upgrade-borgmatic-config(1)

upgrade borgmatic configuration

## NAME

upgrade-borgmatic-config - upgrade borgmatic configuration

## SYNOPSIS

upgrade-borgmatic-config \[*options*\]

## DESCRIPTION

Convert legacy INI-style borgmatic configuration and excludes files to a single YAML configuration file. Note that this replaces any comments from the source files.

## OPTIONS

- \-h, --help

  Show this help message and exit

- \-s *SOURCE\_CONFIG\_FILENAME*, --source-config *SOURCE\_CONFIG\_FILENAME*

  Source INI-style configuration filename. Default: /etc/borgmatic/config

- \-e *SOURCE\_EXCLUDES\_FILENAME*, --source-excludes *SOURCE\_EXCLUDES\_FILENAME*

  Excludes filename

- \-d *DESTINATION\_CONFIG\_FILENAME*, --destination-config *DESTINATION\_CONFIG\_FILENAME*

  Destination YAML configuration filename. Default: /etc/borgmatic/config.yaml

## SEE ALSO

The borgmatic source code and all documentation may be downloaded from \<https://github.com/witten/borgmatic\>

## AUTHORS

Dan Helfman \<witten@torsion.org\>.
