Datagard
From MidgardWiki
Datagard is a Midgard database administration tool. It is part of the main Midgard distribution since the first preview releases of Midgard 1.6.0.
Contents |
Available Commands
Features include:
- install: the default if you don't specify action - installs the database and the Midgard PEAR packages, and then creates a virtual host
- upgrade: upgrades the database and the Midgard PEAR packages
- vhost: creates a new virtual host - this operation requires that the database contains a style template for the vhost - style templates are imported to the db during the install action
- midcom3vhost: creates a new virtual host for MidCOM3 - not recommended for end users
- dbinstall: installs a new database and its configuration file - remember to specify the database name using the -c option if you already have a database called "midgard" - keep in mind that this action doesn't import style templates to the db like the install action does
- dbupdate: updates the database structure
- pear: installs/upgrades the Midgard PEAR packages without modifying the database sturcture - therefore usually you should be running upgrade instead
- sitegroup: creates a new domain/sitegroup
- config-set: sets configuration setting value - datagard's internal action - not recommended for end users because you can edit the configuration manually
Man Page
These are the contents of the tool's man page:
NAME
datagard - User friendly tool to manage Midgard database and packages
SYNOPSIS
datagard
DESCRIPTION
Datagard has no command line arguments. Instead it fully supports dialog widgets.
AUTHOR
Written by Piotr Pokora.
REPORTING BUGS
http://www.midgard-project.org/development/
COPYRIGHT
Midgard Framework is licensed under GNU LGPL license.
SEE ALSO
http://www.midgard-project.org/documentation/
Troubleshooting
When you get the following error during the creation of a new database:
Updating database: multilang /usr/local/bin/repligard: error while loading shared libraries: libmidgard.so.9: cannot open shared object file: No such file or directory Can not import languages.xml
Please make sure that the directory where libmidgard is installed is included in your library path
