generate config - borgmatic 1.7.7.7 - ProxMox 8.3 #1052

Closed
opened 2025-04-03 17:39:47 +00:00 by doguibnu · 9 comments

What I'm trying to do and why

I installed borg and borgmatic on ProxMox 8.3.

In this version, the command to generate yaml file is:
borgmatic generate config --destination /path/mypath_file.yaml

Error parsing arguments: /usr/bin/borgmatic config generate --destination /mypath/.mypath/file.yaml

Need some help? https://torsion.org/borgmatic/#issues

Steps to reproduce

No response

Actual behavior

Error parsing arguments: /usr/bin/borgmatic config generate --destination /mypath/.mypath/file.yaml

Need some help? https://torsion.org/borgmatic/#issues

Expected behavior

Simply generate file for me do the rest configuration

Other notes / implementation ideas

I try to use the command:
generate-borgmatic-config --destination

But, I believe this command to the borgmatic version 1.7.15

borgmatic version

borgmatic --version 1.7.7

borgmatic installation method

Debian package (apt get install

Borg version

borg --version borg 1.2.4

Python version

No response

Database version (if applicable)

No response

Operating system and version

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

### What I'm trying to do and why I installed borg and borgmatic on ProxMox 8.3. In this version, the command to generate yaml file is: borgmatic generate config --destination /path/mypath_file.yaml Error parsing arguments: /usr/bin/borgmatic config generate --destination /mypath/.mypath/file.yaml Need some help? https://torsion.org/borgmatic/#issues ### Steps to reproduce _No response_ ### Actual behavior Error parsing arguments: /usr/bin/borgmatic config generate --destination /mypath/.mypath/file.yaml Need some help? https://torsion.org/borgmatic/#issues ### Expected behavior Simply generate file for me do the rest configuration ### Other notes / implementation ideas I try to use the command: generate-borgmatic-config --destination But, I believe this command to the borgmatic version 1.7.15 ### borgmatic version borgmatic --version 1.7.7 ### borgmatic installation method Debian package (apt get install ### Borg version borg --version borg 1.2.4 ### Python version _No response_ ### Database version (if applicable) _No response_ ### Operating system and version PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Owner

I think you've already got your answer in your ticket! borgmatic config generate was added to borgmatic in 1.7.15, but you're using 1.7.7. So you can either upgrade (highly encouraged!) or you can use generate-borgmatic-config instead.

Let me know if I'm missing something here!

I think you've already got your answer in your ticket! `borgmatic config generate` was added to borgmatic in 1.7.15, but you're using 1.7.7. So you can either upgrade (highly encouraged!) or you can use `generate-borgmatic-config` instead. Let me know if I'm missing something here!
witten added the
question / support
label 2025-04-03 17:58:07 +00:00
Author

Yes, with command: generate-borgmatic-config ok, its generate the file yaml but the validation command does not works, so I am thinking the problem was the version reading Internet posts. I have others servers with borgmatic and works nice. I will verify the proper indentation again.

Thanks

Yes, with command: generate-borgmatic-config ok, its generate the file yaml but the validation command does not works, so I am thinking the problem was the version reading Internet posts. I have others servers with borgmatic and works nice. I will verify the proper indentation again. Thanks
Owner

Are you validating with the same version of borgmatic you're generating with? And yeah, if indentation is off, then validation could be complaining about that. I'm happy to look at any validation error you're seeing.

Are you validating with the same version of borgmatic you're generating with? And yeah, if indentation is off, then validation could be complaining about that. I'm happy to look at any validation error you're seeing.
Author

Hello! Yes, I am validating with the same version validate-borgmatic-config --config /path/.path/teste2.yaml and try to config notify with uptime_kuma and after add apprise that I use on other server and works fine.

The error:

Error parsing configuration file
An error occurred while parsing a configuration file at /path/.path/teste2.yaml:
At the top level: Additional properties are not allowed ('uptime_kuma' was unexpected)

Yesterday I tried to fix but, can not. I am thinking that my fault doing the indentation correctly on this version

Hello! Yes, I am validating with the same version `validate-borgmatic-config --config /path/.path/teste2.yaml` and try to config notify with uptime_kuma and after add `apprise` that I use on other server and works fine. The error: ``` Error parsing configuration file An error occurred while parsing a configuration file at /path/.path/teste2.yaml: At the top level: Additional properties are not allowed ('uptime_kuma' was unexpected) ``` Yesterday I tried to fix but, can not. I am thinking that my fault doing the indentation correctly on this version
Owner

Uptime Kuma support was added in borgmatic 1.8.13! I'm afraid you'll need to upgrade to a more modern version if you'd like that integration to work.

Uptime Kuma support was added in borgmatic 1.8.13! I'm afraid you'll need to upgrade to a more modern version if you'd like that integration to work.
Author

Hello! Is There an easy mode to upgrade borgmatic on ProxMox 8.3. Borgmatic still on 1.7.7 version on ProxMox 8.3

Hello! Is There an easy mode to upgrade borgmatic on ProxMox 8.3. Borgmatic still on 1.7.7 version on ProxMox 8.3
Owner

I don't know how borgmatic is installed or integrated with ProxMox, but if you're able to install packages directly, you could try uninstalling the ProxMox version of borgmatic and installing it manually with pipx or via another mechanism to get a more up-to-date version.

I don't know how borgmatic is installed or integrated with ProxMox, but if you're able to install packages directly, you could try uninstalling the ProxMox version of borgmatic and [installing it manually with pipx](https://torsion.org/borgmatic/docs/how-to/set-up-backups/) or via another mechanism to get a more up-to-date version.
Author

Hello!
Very nice!

I follow that you said. Installing manually with pipx
Its installed

pipx install borgmatic
 installed package borgmatic 2.0.2, installed using Python 3.11.2
 These apps are now globally available

I think that now I can do property configuration.

Thank you so much for help and attention.

Hello! Very nice! I follow that you said. `Installing manually with pipx` Its installed ``` pipx install borgmatic installed package borgmatic 2.0.2, installed using Python 3.11.2 These apps are now globally available ``` I think that now I can do property configuration. Thank you so much for help and attention.
Owner

Sure thing! I'll close this for now, but please feel free to file another ticket if you have any issues.

Sure thing! I'll close this for now, but please feel free to file another ticket if you have any issues.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#1052
No description provided.