From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Maximiliano Sandoval <m.sandoval@proxmox.com>
Cc: pbs-devel@lists.proxmox.com
Subject: Re: [PATCH] client: support individual repository component parameters
Date: Mon, 30 Mar 2026 20:28:34 +0200 [thread overview]
Message-ID: <1827ab00-229f-4e3b-a9d1-82bbe2865e17@proxmox.com> (raw)
In-Reply-To: <s8oecl9i5i6.fsf@toolbox>
Am 24.03.26 um 16:58 schrieb Maximiliano Sandoval:
>> +.. Note:: Remember to quote API token identifiers on the shell, since the
>> + exclamation mark (``!``) is a special character in most shells
> This makes me wonder if there should too be a dedicated --api-token
> parameter too (that basically appends `!tokenname` to the user). I ran
> into this issue a couple of times in the past, while having it in the
> documentation is good, perhaps it is not the first place one would look
> for this.
Maybe, but that would then need to be adapted also in the user interfaces
(PBS remote, PVE storage, PDM remote, maybe others) for consistency. And
it probably can be it's own change set, so I did not wanted to think to
much about this for the v2 to avoid having it blocked by some additional
potential improvement (should be still easier to implement on top of this
series, if we decide that we actually want it).
>> +
>> The web interface provides copyable repository text in the datastore summary
>> with the `Show Connection Information` button.
>>
>> @@ -70,6 +114,22 @@ Environment Variables
>> ``PBS_REPOSITORY``
>> The default backup repository.
>>
>> +``PBS_SERVER``
>> + Default backup server address. Used as a fallback when neither
>> + ``--repository`` / ``PBS_REPOSITORY`` nor ``--server`` is given.
>> + Requires ``PBS_DATASTORE`` to be set as well.
> I am not sure about the use of "default", since one has to specify one
> or the other. I would personally say something like:
>
> Backup server address. Requires to be used in conjunction to --datastore
> or PBS_DATASTORE. This option is not compatible with --repository or
> PBS_REPOSITORY.
ack
next prev parent reply other threads:[~2026-03-30 18:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 21:11 Thomas Lamprecht
2026-03-24 13:42 ` Fabian Grünbichler
2026-03-25 11:28 ` Thomas Lamprecht
2026-03-24 15:58 ` Maximiliano Sandoval
2026-03-30 18:28 ` Thomas Lamprecht [this message]
2026-03-30 18:25 ` superseded: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1827ab00-229f-4e3b-a9d1-82bbe2865e17@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=m.sandoval@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox