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 DB name for OpenNebula
 -d, --delete              Delete all matched xpaths
 --dry                     Do not write in the database, output on stdout
 --encoding charset        MySQL 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
 --file file               File with object XML to update directly in the
                           database
 -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 password. Leave unset to be prompted for it
 -P, --port port           MySQL server port. Defaults to 3306
 --seq SEQ                 Sequence number of a hitory record
 -S, --server host         MySQL 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 username
 -v, --verbose             Verbose mode
 -V, --version             Show version and copyright information
 -x, --xpath ID            Filter by xpath

COMMANDS

ARGUMENT FORMATS

  1. July 2024
  2. onedb(1)