6 save-config - save configuration
11 save-config <safe-options>
16 This script generates a plain bzip2 compressed tar archive containing the
17 specified files, suitable as a GCA ('grml configuration archive', see
18 grml-autoconfig(1) for details).
23 The following options are supported for specifying which parts should be saved
24 in the configuration file:
28 Store hidden files from $HOME ($HOME/.*).
32 Store hidden files from \$HOME (\$HOME/.*) of user grml [use as user root].
36 Sstore modified files from /etc.
44 Store all configuration files (:= -home, -configdir and -etc).
47 It is also possible to use environment variables for specifying which parts
48 should be saved. Just set the corresponding variable: $SAVE_HOME, $SAVE_ETC,
49 $SAVE_CONFIGDIR and $SAVE_ALL
51 The default filename of the generated configuration file is config.tbz. The
52 following options are supported for specifying another destination of the
55 *-ssh user@host:/path/to/file*::
57 Copy configuration via ssh/scp to remote host.
61 Send configuration via mail.
63 *-file foo_bar_config.tbz*::
65 Save configuration in specified file.
72 Store all configuration files in config.tbz in current dir.
74 *save-config -home -mail devnull@grml.org*::
76 Store $HOME/.* in config.tbz and send it via mail.
78 *save-config -etc -ssh devnull@grml.org:/path/*::
80 Store /etc in config.tbz and scp it to specified host.
82 *save-config -all -file foo.tbz*::
84 Store all configuration files in foo.tbz.
86 *SAVE_ALL=yes save-config -file /path/foo.tbz*::
88 Store all configuration files in /path/foo.tbz.
92 If you find a bug please report it. See link:http://grml.org/bugs/ for details
93 about how to report bugs.
97 grml-autoconfig(1), grml-autoconfig(8), mkpersistenthome(1), restore-config(1)
101 (c) 2005++, Michael Prokop <mika@grml.org>