Difference between revisions of "Lat-dump"
From SME Server
Jump to navigationJump to searchLine 37: | Line 37: | ||
lat-dump -d -o=/var/tmp | lat-dump -d -o=/var/tmp | ||
Creates the configuration files and writes them to /var/tmp. | Creates the configuration files and writes them to /var/tmp. | ||
+ | [[Category:Howto]] [[Category:Administration]] |
Revision as of 18:16, 24 June 2013
lat-dump
The lazy administrator's tool to extract config info
DESCRIPTION
Creates input-files for the lat-toolkit, based on the current configu- ration of the SME server (5.x/6.x). The information is extracted from the /home/e-smith/* databases.
The resulting input-files can be used to replicate user accounts, ibays, etc on a different SME server, or recreate them on a clean install. To facilitate the restoring/replicating, the lat-restore script is automatically created. This will launch the various lat-tools in the right sequence.
Smecontribs repository for SME Server
yum install --enablerepo=smecontribs smeserver-lazy_admin_tools signal-event post-upgrade; signal-event reboot
SYNOPSIS
lat-config [options]
OPTIONS
The following options are supported:
-d, --dump Create input files
-h, --help Extended help for this tool
-o=/path/, --output-dir=/path/ Directory where the configuration files should be stored. If omit- ted, the current directory is used.
EXAMPLES
lat-dump -d -o=/var/tmp Creates the configuration files and writes them to /var/tmp.