Commit Graph

690 Commits

Author SHA1 Message Date
Hannes Laimer
79ba9d0429 cli: migrate namespace and group move commands from manager to client
Move 'datastore move-group' on the manager to 'group move' on the
client, and add a 'move' subcommand to the client's 'namespace' group.

new CLI layout:
  client:
    group forget
[+] group move
    namespace list
    namespace create
    namespace delete
[+] namespace move

  manager:
[-] datastore move-group
[-] datastore move-namespace

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Link: https://lore.proxmox.com/20260424120041.221676-1-h.laimer@proxmox.com
 [TL: drop the addition of a namespace group to manager for now,
  should be its own commit in any case]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-24 20:52:45 +02:00
Christian Ebner
dedf4e83fa docs: mention still missing field in the configuration subtree
There are several new menu entries, which still are not listed in
the documentation. Add them including a concise description of the
functionality they refer to.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20260424125027.804185-3-c.ebner@proxmox.com
2026-04-24 20:16:20 +02:00
Christian Ebner
304f6d1925 docs: describe s3 request notifications and threshold reset schedule
Add a section describing the counter, how they can be used to trigger
notifications and how to periodically reset them.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20260424125027.804185-2-c.ebner@proxmox.com
2026-04-24 20:16:20 +02:00
Thomas Lamprecht
7500161155 docs: storage: drop S3 technology-preview note
The S3 datastore backend has matured nicely over the last releases and
is graduating out of technology preview and is now a regular supported
feature; so remove the corresponding admonition notice from the
storage chapter.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-24 00:20:53 +02:00
Hannes Laimer
4f8e1c9cc7 docs: add section on moving namespaces and groups
Document the move-group and move-namespace operations including merge
behavior, max-depth and delete-source parameters. Add an online help
anchor so the UI move dialogs can link directly to this section.

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Link: https://lore.proxmox.com/20260422133951.192862-9-h.laimer@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-24 00:20:53 +02:00
Christian Ebner
809c769493 docs: add section describing server side encryption for sync jobs
Especially clarify the terminology of active encryption key,
associated keys, key archiving and requirements for removal.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-24 00:20:53 +02:00
Thomas Lamprecht
289837243e docs: storage: document gc-on-unmount for removable datastores
The option addresses the unmount-on-done setup which otherwise has
no natural point to run garbage collection. Document it right after
the paragraph about GC/verify/prune being skipped when unmounted,
since that is the pain point it solves.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-22 21:22:06 +02:00
Thomas Lamprecht
9a760260e7 docs: sync: document the new worker-threads option
Mention the new parallel sync knob alongside the other sync-job
options, with a brief note on when it helps and the memory and
connection overhead to consider.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-22 21:22:06 +02:00
Thomas Lamprecht
34a557cc32 fix #5340: client: repository: add PBS_NAMESPACE environment variable
Add PBS_NAMESPACE as a fallback when --ns is not given on the CLI,
addressing the request in bug #5340.

The env var is supported uniformly across all client tools
(proxmox-backup-client, proxmox-file-restore, proxmox-backup-debug).
Like the other PBS_* atom env vars, it provides a default that can be
overridden by the corresponding CLI option.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
Tested-by: Christian Ebner <c.ebner@proxmox.com>
2026-04-19 23:36:39 +02:00
Thomas Lamprecht
20aa9eafeb docs: document repository component options and env vars
Document the new --server, --port, --datastore, and --auth-id CLI
options, their mutual exclusion with --repository, per-field merge
behavior with PBS_* environment variables, and the corresponding
PBS_SERVER, PBS_PORT, PBS_DATASTORE, PBS_AUTH_ID variables.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
Tested-by: Christian Ebner <c.ebner@proxmox.com>
2026-04-19 23:36:39 +02:00
Gabriel Goller
e9fcc4e535 docs: substitute Proxmox Backup with full Proxmox Backup Server
Sometimes we use `Proxmox Backup` although the `Proxmox Backup Server`
is meant. Use the full name as mentioned in our brand guideline.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2026-04-10 17:48:33 +02:00
Thomas Lamprecht
4ba97bde0b docs: clarify column headers of client repo examples
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-03-30 19:52:10 +02:00
Samuel Rufinatscha
3be93d72d7 token shadow: add TTL window to token secret cache
Verify_secret() currently calls refresh_cache_if_file_changed() on every
request, which performs a metadata() call on token.shadow each time.
Under load this adds unnecessary overhead, considering also the file
usually should rarely change.

This patch introduces a TTL boundary, controlled by
TOKEN_SECRET_CACHE_TTL_SECS. File metadata is only re-loaded once the
TTL has expired; documents TTL effects.

Signed-off-by: Samuel Rufinatscha <s.rufinatscha@proxmox.com>
2026-03-18 09:59:41 +01:00
Manuel Federanko
64ad53457e docs: update zfs swap docs to be in line with debian trixie changes.
Debian trixie does no longer read /etc/sysctl.conf [1]

[1] https://www.debian.org/releases/trixie/release-notes/issues.html#etc-sysctl-conf-is-no-longer-honored

Signed-off-by: Manuel Federanko <m.federanko@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Suggested-by: Lukas Wagner <l.wagner@proxmox.com>
Acked-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/all/20260126110114.103151-2-m.federanko@proxmox.com
2026-03-05 09:31:40 +01:00
Shannon Sterz
1f64889737 docgen: use proxmox-rs docgen crate
this has the benefit of also handling the unstable flag correctly.
hence, the api viewer needs to add the css definitions to properly
render unstable endpoints.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
Link: https://lore.proxmox.com/all/20260224115057.140836-1-s.sterz@proxmox.com

FG: remove stray `proxmox` file
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2026-03-04 15:05:51 +01:00
Maximiliano Sandoval
351007e28a maintenance: Document supported maintenance modes
Strings taken from MaintenanceType at pbs-api-types.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Link: https://lore.proxmox.com/20260219151111.508869-1-m.sandoval@proxmox.com
2026-02-19 17:11:43 +01:00
Yahya Jabary
7810caa7b5 add sync-job run to pbs/docs
Signed-off-by: Yahya Jabary <y.jabary@proxmox.com>
Link: https://lore.proxmox.com/all/20260122144900.2144503-2-y.jabary@proxmox.com
2026-02-12 16:15:10 +01:00
Thomas Lamprecht
356a848b32 d/changelog: fix typos in historic entries
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-11-25 15:47:36 +01:00
Thomas Lamprecht
134a93b0b7 docs: fix some typos
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-11-25 15:47:36 +01:00
Nicolas Frey
9b8f1c0150 docs: verify: document {read, verify}-threads and update screenshot
documents new {read,verify}-threads parameters and updates the
screenshot of adding a verifyjob to include them.

Tested-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: Nicolas Frey <n.frey@proxmox.com>
Link: https://lore.proxmox.com/20251124141306.349498-1-n.frey@proxmox.com
2025-11-24 15:17:53 +01:00
Nicolas Frey
a3302af5d1 docs: tuning: document default-verification-{workers, readers}
Signed-off-by: Nicolas Frey <n.frey@proxmox.com>
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
Tested-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20251124110427.194887-8-n.frey@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-11-24 15:13:05 +01:00
Friedrich Weber
559b15e88b docs: storage: fix "persistent" typo
Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
Link: https://lore.proxmox.com/20251121165908.179191-1-f.weber@proxmox.com
2025-11-21 18:04:44 +01:00
Hannes Laimer
8d79779da6 docs: add section about unmount-on-done
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Link: https://lore.proxmox.com/20251112120515.145480-6-h.laimer@proxmox.com
2025-11-14 22:40:25 +01:00
Christoph Heiss
832664ffcf docs: network-management: link to systemd.link documentation
Might be useful for users, to get a quick overview of the syntax and
semantics of the options.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Reviewed-by: Michael Köppl <m.koeppl@proxmox.com>
Link: https://lore.proxmox.com/20250812125719.1301475-3-c.heiss@proxmox.com
2025-09-15 21:31:35 +02:00
Christoph Heiss
1da0b868f6 docs: network-management: use correct syntax for code-blocks
Probably copied over from the asciidoc documentation for PVE, which uses
a different syntax.

Fixes: 03fc1efc ("docs: add documentation for proxmox-network-interface-pinning")
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Reviewed-by: Michael Köppl <m.koeppl@proxmox.com>
Link: https://lore.proxmox.com/20250812125719.1301475-2-c.heiss@proxmox.com
2025-09-15 21:31:35 +02:00
Dominik Csapak
85f23a998d fix #6714: docs: remove wrong --drive parameter from cli example
pool creation does not depend or use a drive at all, since it's just a
logical operation. This was probably a type or copy&paste error, so
remove the wrong `--drive` parameter from that example.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2025-08-25 11:37:53 +02:00
Thomas Lamprecht
b3ef29ad7d docs: add link to PBS 4 to 4 upgrade how-to
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-08-05 19:22:57 +02:00
Thomas Lamprecht
07363c9ee8 docs: drop index.php from PBS wiki links
We now correctly handle wiki URL paths on the PBS wiki.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-08-05 19:22:57 +02:00
Thomas Lamprecht
05802f755f docs: update release EOL table in FAQ
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-08-05 19:22:57 +02:00
Stefan Hanreich
03fc1efceb docs: add documentation for proxmox-network-interface-pinning
Mostly taken from the Proxmox VE documentation, but removed the
Proxmox VE specific parts and added a short introductory paragraph
that describes the problem of network interface name changes.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
2025-08-05 12:31:43 +02:00
Christian Ebner
20c9b998ba docs: s3: extend recommendations and limitations for local cache
Specify that the local cache must be a dedicated storage, it cannot
reuse pre-existing datastores. Further, give some more
recommendations about size and clarify that storage backed by
volatile memory cannot be used for this, at least for the time being.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250731070945.34344-1-c.ebner@proxmox.com
2025-07-31 12:16:11 +02:00
Lukas Wagner
c18ad8de2e docs: notification: improve wording for legacy-sendmail mode
Suggested-by: Michael Köppl <m.koeppl@proxmox.com>
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Link: https://lore.proxmox.com/20250725080236.32318-1-l.wagner@proxmox.com
2025-07-25 17:28:56 +02:00
Thomas Lamprecht
8174ef5a4b docs/ui: add anchors for S3 sections and use in onlineHelp
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-24 13:57:03 +02:00
Thomas Lamprecht
d2011ce6b6 avoid leaking internal s3client struct name to the outside, favor s3-endpoint
Mostly affects docs and some JS UI components, but also changes the
section type name of the s3 client endpoints.

While the s3 client crate is aptly named, the config actually
describing how to access an S3 object storage is not really a client,
but a definition of an endpoint/remote/repo/address.

This is really no problem per se, but such internal names tend to leak
and can cause (a tiny bit!) confusion for users if they see with e.g.
"S3 Endpoints" in the UI but the same thing now uses "s3client" in the
config file.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-23 21:29:02 +02:00
Lukas Wagner
948dd68daf docs: notifications: adapt to latest notification system UI changes
The latest updates to the backup-job UI completely drop the term
"Notification System" from the UI, instead we now use "Global
notification settings", which should be hopefully a bit clearer to users
with regards to what this actually means.

Some of the touched sections were slightly rephrased to improve clarity.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Michael Köppl <m.koeppl@proxmox.com>
Link: https://lore.proxmox.com/20250723112220.278700-1-l.wagner@proxmox.com
2025-07-23 15:49:17 +02:00
Christian Ebner
cda8987040 docs: s3: add object store provider specific configuration examples
To reduce friction, provide several provider specific example
configurations as reference.

With vhost style vs. path style bucket addressing, templating and all
the other provider specific configuration options, it can be rather
confusing on how to actually configure an S3 endpoint to be used as
PBS datastore backend. So having some concrete examples to lookup or
point to can help.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Link: https://lore.proxmox.com/20250723080231.189207-3-c.ebner@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-23 13:55:57 +02:00
Christian Ebner
71f806aa39 docs: s3: add warning of potential costs when using s3 backends
S3 object store providers typically charge not only for storage
usage, but also for API requests. Explicitley warn the user about
this in the docs.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Link: https://lore.proxmox.com/20250723080231.189207-2-c.ebner@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-23 13:55:52 +02:00
Thomas Lamprecht
a5dc26adbc docs: move hint about tech-previe from heading to admonition
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-22 22:01:19 +02:00
Hannes Laimer
90f7c434de docs: add section about run-on-mount sync job flag
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Link: https://lore.proxmox.com/20250721113314.59342-9-h.laimer@proxmox.com
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
Tested-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-22 21:43:43 +02:00
Christian Ebner
f7eb5fc86d docs: use endpoint over client for the s3 endpoint configuration
The WebUI and CLI have been adapted to use s3 endpoint rather than S3
client, so update the documentation to be consistent.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-22 21:43:43 +02:00
Christian Ebner
96f9096931 docs: Add section describing how to setup s3 backed datastore
Describe required basic S3 client setup and possible configuration
options as well as the actual setup of a datastore using the client and
a bucket as backend.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Hannes Laimer <h.laimer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-22 21:43:43 +02:00
Shannon Sterz
00ac201db7 docs: update apt key installation guide to use the new release key rings
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
Link: https://lore.proxmox.com/20250718091452.69458-1-s.sterz@proxmox.com
2025-07-19 20:01:23 +02:00
Shannon Sterz
cd23b5372f docs: update repository chapter to reflect new deb822 format
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
Link: https://lore.proxmox.com/20250717075330.53355-1-s.sterz@proxmox.com
2025-07-17 17:58:30 +02:00
Thomas Lamprecht
8382d66513 docs: actually add pbs3to4 man page
Fixes: 11b1bd5bc ("build: Adapt from pbs2to3 to pbs3to4")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-16 01:52:15 +02:00
Christian Ebner
4cba26673d docs: rephrase and extend rate limiting description for sync jobs
Since commit 37a85cf6 ("fix: ui: sync job: edit rate limit based on
sync direction") rate limits for sync jobs can be correctly applied
for both directions. State this in the documentation and explicitley
mention the directions to reduce confusion.

Further, also mention the burst parameters, as they are not mentioned
at all.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250623124543.590388-1-c.ebner@proxmox.com
2025-07-16 00:14:55 +02:00
Christian Ebner
11b1bd5bc0 build: Adapt from pbs2to3 to pbs3to4
Build and package the new version of the upgrade check binary,
ropping the no longer required old one.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250714101217.4178-1-c.ebner@proxmox.com
2025-07-15 22:20:03 +02:00
Thomas Lamprecht
bfa0893b34 docs: scan refs: cast _StrPath type explicitly to str
To fix the following exception one gets with the Sphinx and Python
versions from Trixie:

  File "/home/tom/sources/others/pbs/proxmox-backup/build/docs/_ext/proxmox-scanrefs.py", line 92, in write_doc
    filename_html = re.sub('.rst', '.html', filename)
  File "/usr/lib/python3.13/re/__init__.py", line 208, in sub
    return _compile(pattern, flags).sub(repl, string, count)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  TypeError: expected string or bytes-like object, got '_StrPath'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-06-16 13:59:37 +02:00
Christian Ebner
ace285861e docs: tuning: list default and maximum values for gc-cache-capacity
Explicitly mention that the value sets the available cache slots and
not only mention the value being set to 0 disables the cache, but
rather give also the default and maximum values.

Reported in the community forum:
https://forum.proxmox.com/threads/164869/post-771224

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2025-06-04 13:31:56 +02:00
Christian Ebner
9247d57fdf docs: describe the intend for the statically linked pbs client
Discurage the use of the statically linked binary for systems where
the regular one is available.

Moves the previous note into it's own section and link to the
installation section.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250410093059.130504-1-c.ebner@proxmox.com
2025-04-10 21:01:24 +02:00
Christian Ebner
f91d5912f1 docs: mention verify or encrypted only flags for sync jobs
Extends the sync job documentation to explicitely mention that sync
jobs can be constrained by this on snapshot level.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250409155223.309771-1-c.ebner@proxmox.com
2025-04-09 18:00:06 +02:00