SIMPLE SOLUTIONS

CFETOOLIMPORT(8) - Linux man page online | Administration and privileged commands

Import the contents of a database from XML format.

Chapter
2004-09-21
CFETOOLIMPORT(8) User Contributed Perl Documentation CFETOOLIMPORT(8)

NAME

cfetoolimport - import the contents of a database from XML format

SYNOPSIS

cfetool import name --file⎪-f filename [--path⎪-p directory name] [--daily⎪-d] [--weekly⎪-w] [--yearly⎪-y] [--verbose⎪-v] [--help⎪-h]

DESCRIPTION

Creates a new database from it's XML representation, in the format created by rrdtool dump. The -d, -w, and -y options specify which databases to create and look for in the dump, and may be combined. If they are all omitted, the default is to only import the weekly data‐ base.

OPTIONS

--file⎪-f filename Specifies the XML file to restore. --path⎪-p The directory in which to create the new database folder. If this argument is not pro‐ vided, the current working directory will be used. --daily⎪-d Create a database for recording daily patterns. --weekly⎪-w Create a database for recording weekly patterns. --yearly⎪-y Create a database for recording yearly patterns. --verbose⎪-v Print details of the command's execution to the standard output stream. --help⎪-h Print a short help message and then exit.

EXAMPLE

% cfetool import temperature_copy --path /my/path --file ./temperature.xml Create a new weekly database, "temperature_copy", in the "/my/path" directory, and import it's contents from the file "temperature.xml" in the current working directory.

AUTHORS

The code and documentation were contributed by Stanford Linear Accelerator Center, a department of Stanford University. This documentation was written by Elizabeth Cassell <@mailsnare.net> and Alf Wachsmann <@slac.stanford.edu>
Copyright 2004 Alf Wachsmann <@slac.stanford.edu> and Elizabeth Cassell <@mailsnare.net> All rights reserved.
perl v5.8.4 2004-09-21 CFETOOLIMPORT(8)
This manual Reference Other manuals
cfetoolimport(8) referred by cfetool(8)
refer to
Download raw manual
Main page User Contributed Perl Documentation (+23303) perl v5.8.4 (+9) № 8 (+5755)
Go top