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

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

COMMANDS

ARGUMENT FORMATS

  1. November 2021
  2. onedb(1)