DaneOS CLI Reference
Overview
The DaneOS CLI - command line interface - is a set of commands that can be run from the Linux command line. The command sudo tos help will list all CLI commands. All DaneOS commands require root privileges to run, they must be run using sudo as user root is not available on the Dane Operating System.
Global Parameters
Many of the commands can be run with the following optional flags
--help or -h: lists the usage, available commands and the flags (options) for the command for example, sudo dc backup --help --debug: adds additional information for some commands, used for troubleshooting for example, sudo dc backup --debug
DaneOS CLI Commands
Backup Creation and Management
A subset of commands to create on-time backups and manage backup policy.
- sudo dc backup create
- sudo dc backup delete
- sudo dc backup export
- sudo dc backup import
- sudo dc backup status
- sudo dc backup list
Certificate Management
This is a subset of commands related to certificates:
- sudo dc config set cert
Cluster Management
This is a subset of commands related specifically to clusters:
- sudo dc cluster list
- sudo dc cluster primary-vip get
- sudo dc cluster primary-vip set
- sudo dc cluster snapshot create
- sudo dc cluster snapshot restore
Configuration Management
dc config is a subset of commands for viewing and changing various DaneOS settings or properties. It has the following formats:
- sudo dc config get
- sudo dc config set
General Commands
This is a subset of commands :
- sudo dc help
- sudo dc stop
- sudo dc start
- sudo dc restart
- sudo dc report
- sudo dc version
- sudo dc history