The freezer client is the command-line interface (CLI) for the Backup, Restore, and Disaster Recovery service (freezer) API and its extensions.
This chapter documents freezer version 1.5.0
.
For help on a specific freezer command, enter:
$ freezer help COMMAND
usage: freezer [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]
[--os-auth-url OS_AUTH_URL] [--os-backup-url OS_BACKUP_URL]
[--os-endpoint-type OS_ENDPOINT_TYPE]
[--os-identity-api-version OS_IDENTITY_API_VERSION]
[--os-password OS_PASSWORD] [--os-username OS_USERNAME]
[--os-token OS_TOKEN]
[--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
[--os-project-domain-id OS_PROJECT_DOMAIN_ID]
[--os-project-name OS_PROJECT_NAME]
[--os-region-name OS_REGION_NAME] [--os-tenant-id OS_TENANT_ID]
[--os-project-id OS_PROJECT_ID]
[--os-tenant-name OS_TENANT_NAME]
[--os-user-domain-name OS_USER_DOMAIN_NAME]
[--os-user-domain-id OS_USER_DOMAIN_ID] [-k]
[--os-cacert OS_CACERT] [--os-cert OS_CERT]
--version
-v, --verbose
-q, --quiet
--log-file LOG_FILE
-h, --help
--debug
--os-auth-url OS_AUTH_URL
--os-backup-url OS_BACKUP_URL
--os-endpoint-type OS_ENDPOINT_TYPE
--os-identity-api-version OS_IDENTITY_API_VERSION
--os-password OS_PASSWORD
--os-username OS_USERNAME
--os-token OS_TOKEN
--os-project-domain-name OS_PROJECT_DOMAIN_NAME
--os-project-domain-id OS_PROJECT_DOMAIN_ID
env[OS_PROJECT_ID]
.--os-project-name OS_PROJECT_NAME
--os-region-name OS_REGION_NAME
--os-tenant-id OS_TENANT_ID
--os-project-id OS_PROJECT_ID
--os-tenant-name OS_TENANT_NAME
--os-user-domain-name OS_USER_DOMAIN_NAME
--os-user-domain-id OS_USER_DOMAIN_ID
env[OS_USER_DOMAIN_ID]
.-k, --insecure
--os-cacert OS_CACERT
--os-cert OS_CERT
usage: freezer action-create [-h] --file FILE
Create an action from a file
Optional arguments:
-h, --help
--file FILE
usage: freezer action-delete [-h] action_id
Delete an action from the api
Positional arguments:
action_id
Optional arguments:
-h, --help
usage: freezer action-list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET] [--search SEARCH]
List all actions for your user
Optional arguments:
-h, --help
--limit LIMIT
--offset OFFSET
--search SEARCH
usage: freezer action-show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
action_id
Show a single action
Positional arguments:
action_id
Optional arguments:
-h, --help
usage: freezer action-update [-h] action_id file
Update an action from a file
Positional arguments:
action_id
file
Optional arguments:
-h, --help
usage: freezer backup-delete [-h] backup_uuid
Delete a backup from the api
Positional arguments:
backup_uuid
Optional arguments:
-h, --help
usage: freezer backup-list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET] [--search SEARCH]
List all backups for your user
Optional arguments:
-h, --help
--limit LIMIT
--offset OFFSET
--search SEARCH
usage: freezer backup-show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
backup_uuid
Show the metadata of a single backup
Positional arguments:
backup_uuid
Optional arguments:
-h, --help
usage: freezer client-delete [-h] client_id
Delete a client from the api
Positional arguments:
client_id
Optional arguments:
-h, --help
usage: freezer client-list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET] [--search SEARCH]
List of clients registered in the api
Optional arguments:
-h, --help
--limit LIMIT
--offset OFFSET
--search SEARCH
usage: freezer client-register [-h] --file FILE
Register a new client
Optional arguments:
-h, --help
--file FILE
usage: freezer client-show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
client_id
Show a single client
Positional arguments:
client_id
Optional arguments:
-h, --help
usage: freezer job-abort [-h] job_id
Abort a running job
Positional arguments:
job_id
Optional arguments:
-h, --help
usage: freezer job-create [-h] --file FILE --client CLIENT_ID
Create a new job from a file
Optional arguments:
-h, --help
--file FILE
--client CLIENT_ID, -C
usage: freezer job-delete [-h] job_id
Delete a job from the api
Positional arguments:
job_id
Optional arguments:
-h, --help
usage: freezer job-get [-h] [--no-format] job_id
Download a job as a json file
Positional arguments:
job_id
Optional arguments:
-h, --help
--no-format
usage: freezer job-list [-h] [-f {csv,html,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--fit-width] [--print-empty]
[--noindent] [--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET] [--search SEARCH]
[--client CLIENT_ID]
List all the jobs for your user
Optional arguments:
-h, --help
--limit LIMIT
--offset OFFSET
--search SEARCH
--client CLIENT_ID, -C
usage: freezer job-show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
job_id
Show a single job
Positional arguments:
job_id
Optional arguments:
-h, --help
usage: freezer job-start [-h] job_id
Send a start signal for a job
Positional arguments:
job_id
Optional arguments:
-h, --help
usage: freezer job-stop [-h] job_id
Send a stop signal for a job
Positional arguments:
job_id
Optional arguments:
-h, --help
usage: freezer job-update [-h] job_id file
Update a job from a file
Positional arguments:
job_id
file
Optional arguments:
-h, --help
usage: freezer session-add-job [-h] --session-id SESSION_ID --job-id JOB_ID
Add a job to a session
Optional arguments:
-h, --help
--session-id SESSION_ID
--job-id JOB_ID
usage: freezer session-create [-h] --file FILE
Create a session from a file
Optional arguments:
-h, --help
--file FILE
usage: freezer session-delete [-h] session_id
Delete a session
Positional arguments:
session_id
Optional arguments:
-h, --help
usage: freezer session-list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET]
[--search SEARCH]
List all the sessions for your user
Optional arguments:
-h, --help
--limit LIMIT
--offset OFFSET
--search SEARCH
usage: freezer session-remove-job [-h] --session-id SESSION_ID --job-id JOB_ID
Remove a job from a session
Optional arguments:
-h, --help
--session-id SESSION_ID
--job-id JOB_ID
usage: freezer session-show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
session_id
Show a single session
Positional arguments:
session_id
Optional arguments:
-h, --help
usage: freezer session-start [-h] --session-id SESSION_ID --job-id JOB_ID
--job-tag JOB_TAG
Start a session
Optional arguments:
-h, --help
--session-id SESSION_ID
--job-id JOB_ID
--job-tag JOB_TAG
usage: freezer session-update [-h] session_id file
Update a session from a file
Positional arguments:
session_id
file
Optional arguments:
-h, --help
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.