Skip to main content

px pxb view

View px-backup resources

note

The following commands support a set of global flags that apply to all px pxb commands. For details, see the Global Flags section.

px pxb view config

Display the current PX-Backup configuration from ~/.pxb/config

By default, sensitive authentication tokens are redacted for security. Use --include-tokens to display tokens (not recommended when sharing output).

Examples:

# View config with tokens redacted (safe for sharing)
pxb view config

# View config with tokens included (use with caution)
pxb view config --include-tokens

Flags

FlagInput typeDescriptionDefaultRequired
--authtokenstringoidc auth token-Optional
--dry-runboolSimulate the operation without making any changesfalseOptional
--endpoint, -estringThe endpoint of the server-Optional
--include-tokensboolInclude sensitive authentication tokens in output (not recommended)falseOptional
--labels, -lstringComma separated list of labels as key-value pairs: 'k1=v1,k2=v2'-Optional
--orgIDstringThe org id for which to query the objectdefaultOptional
--output, -ostringOutput format. One of: table|json|yaml|nametableOptional
--tls-certificatestringtls certificate-Optional