Skip to main content

px pxb import

Import 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 import config

Import PX-Backup configuration from a YAML file

Examples:

# Import config from a file (replace existing)
pxb import config --file config-backup.yaml

# Import and merge with existing config
pxb import config --file config-backup.yaml --merge

Flags

FlagInput typeDescriptionDefaultRequired
--authtokenstringoidc auth token-Optional
--dry-runboolSimulate the operation without making any changesfalseOptional
--endpoint, -estringThe endpoint of the server-Optional
--file, -fstringInput file path (required)-Yes
--labels, -lstringComma separated list of labels as key-value pairs: 'k1=v1,k2=v2'-Optional
--mergeboolMerge with existing config instead of replacingfalseOptional
--orgIDstringThe org id for which to query the objectdefaultOptional
--output, -ostringOutput format. One of: table|json|yaml|nametableOptional
--tls-certificatestringtls certificate-Optional