1CFETOOLIMPORT(1) User Contributed Perl Documentation CFETOOLIMPORT(1)
2
3
4
6 cfetool import - import the contents of a database from XML format
7
9 cfetool import name --file⎪-f filename [--path⎪-p directory name]
10 [--daily⎪-d] [--weekly⎪-w] [--yearly⎪-y] [--verbose⎪-v] [--help⎪-h]
11
13 Creates a new database from it's XML representation, in the format cre‐
14 ated by rrdtool dump.
15
16 The -d, -w, and -y options specify which databases to create and look
17 for in the dump, and may be combined. If they are all ommitted, the
18 default is to only import the weekly database.
19
21 --file⎪-f filename
22 Specifies the XML file to restore.
23
24 --path⎪-p
25 The directory in which to create the new database folder. If this
26 argument is not provided, the current working directory will be
27 used.
28
29 --daily⎪-d
30 Create a database for recording daily patterns.
31
32 --weekly⎪-w
33 Create a database for recording weekly patterns.
34
35 --yearly⎪-y
36 Create a database for recording yearly patterns.
37
38 --verbose⎪-v
39 Print details of the command's execution to the standard output
40 stream.
41
42 --help⎪-h
43 Print a short help message and then exit.
44
46 % cfetool import temperature_copy --path /my/path --file ./temperature.xml
47
48 Create a new weekly database, "temperature_copy", in the "/my/path"
49 directory, and import it's contents from the file "temperature.xml" in
50 the current working directory.
51
53 The code and documentation were contributed by Stanford Linear Acceler‐
54 ator Center, a department of Stanford University. This documentation
55 was written by
56
57 Elizabeth Cassell <e_a_c@mailsnare.net> and
58 Alf Wachsmann <alfw@slac.stanford.edu>
59
61 Copyright 2004 Alf Wachsmann <alfw@slac.stanford.edu> and
62 Elizabeth Cassell <e_a_c@mailsnare.net>
63 All rights reserved.
64
65
66
67perl v5.8.4 2004-09-21 CFETOOLIMPORT(1)