1. onedb(1)
  2. onedb(1) -- OpenNebula database migration tool
  3. onedb(1)

NAME

onedb - OpenNebula database migration tool

This command enables the user to manage the OpenNebula database. It provides information about the DB version, means to upgrade it to the latest version, and backup tools.

OPTIONS

 -f, --force               Forces the backup even if the DB exists
 --federated               Limit backup/restore to federated tables
 -b, --backup file         Use this file to store SQL dump
 --extra arg               Extra args
 -s, --start TIME          First time to process
 -e, --end TIME            Last time to process
 --pages pages             Nummber of pages to purge VMs
 -i, --id ID               Filter by ID
 -x, --xpath ID            Filter by xpath
 -e, --expr ID             Filter by expression (UNAME=oneadmin)
 --dry                     Do not write in the database, output xml
 -d, --delete              Delete all matched xpaths
 -a, --append              Append new attributes to the current template
 --seq SEQ                 Sequence number of a hitory record
 --recreate                Delete FTS index and create a new one
 -v, --verbose             Verbose mode
 -h, --help                Show this message
 -V, --version             Show version and copyright information
 -s, --sqlite file         SQLite DB file
 -t, --type type           Backend type.
 -S, --server host         MySQL or PostgreSQL server hostname or IP.
                           Defaults to localhost
 -P, --port port           MySQL or PostgreSQL server port. Defaults to 3306
                           for MySQL and 5432 for PostgreSQL
 -u, --username user       MySQL or PostgreSQL username
 -p, --password pass       MySQL or PostgreSQL password. Leave unset to be
                           prompted for it
 -d, --dbname dbname       MySQL or PostgreSQL DB name for OpenNebula
 --encoding charset        MySQL or PostgreSQL encoding to use for the
                           connection

COMMANDS

ARGUMENT FORMATS

  1. July 2020
  2. onedb(1)