NAME

dumpnet.host - backup a single target host


SYNOPSIS

BACKUP MODE
dumpnet.host [-N] [-l LEVEL] [-s SESSIONID] [-d DUMPNET_CONFIG] HOST_CONFIG

RESOTRE MODE
dumpnet.host -R [-v] [-f FILE] [-d DUMPNET_CONFIG] HOST_CONFIG


DESCRIPTION

dumpnet.host does a backup of a single host. For this purpose it will call the modules listed in the host configuration file (in that order). Please see dumpnet.HOST.conf(8). The available modules are:

        dumpnet.host.fstab
        dumpnet.host.userdefined
        dumpnet.host.diff
        dumpnet.host.info
        dumpnet.host.aide
        dumpnet.host.report
        dumpnet.host.reportmail

Please see the corresponding man pages for details.


OPTIONS

BACKUP MODE
-N
Do not update dumpnet.cmddates. This is useful for an irregular backup. Keep in mind that a backup created with the -N switch will not be listed in restore mode. See dumpnet.cmddates(8).

-l LEVEL
Set level to LEVEL. This can be a numerical level (0-9) or a level mode. See the sections LEVELS and LEVEL MODES in dumpnet(8) for details.

-s SESSIONID
Set sessionId to SESSIONID. If you don't know if you need this option, you don't! Read the SESSIONID section in dumpnet(8) before using it!

-d DUMPNET_CONFIG
Use DUMPNET_CONFIG instead of the default $DUMPNET_HOME/conf/dumpnet.conf.

HOST_CONFIG
The host configuration file. For the target host 192.168.1.10 it could be conf/192.168.1.10/dumpnet.HOST.conf.

RESTORE MODE
-R
Restore mode. This will not actually do the restore but will list the files you will need to perform it manually.

-v
Be verbose.

-f FILE
Find the files that are needed to restore FILE. FILE will be used as a pattern to grep in the TOC-files. Please note that entries in the tar TOC-files do not contain a leading slash.

-d DUMPNET_CONFIG
Use DUMPNET_CONFIG instead of the default $DUMPNET_HOME/conf/dumpnet.conf.

HOST_CONFIG
The host configuration file. For the target host 192.168.1.10 it could be conf/192.168.1.10/dumpnet.HOST.conf.


EXAMPLES

Just do a backup of 192.168.1.10 configured in /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf with all default settings - if you don't know what you want, you want something like this:

        dumpnet.host /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf

Force the use of level 0 and do not update dumpnet.cmddates:

        dumpnet.host -Nl 0 /usr/local/dumpnet/conf/example.com/dumpnet.HOST.conf

List the files I need to do a restore of 192.168.1.10:

        dumpnet.host -R /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf

Find the archive/dump, I need to restore /home/jdoe/somefile.txt. Please note that the leading slash must be removed. This is because the tar TOC-files created by dumpnet.host.fstab.tar do not contain a leading slash (only the dump TOC-files do).

        dumpnet.host -Rf home/jdoe/somefile.txt /usr/local/dumpnet/conf/192.168.1.10/dumpnet.HOST.conf


EXIT STATUS

dumpnet.host will return a zero exit status if all called modules exit with 0. In any other case it will return 1.


FILES

 $DUMPNET_HOME/conf/dumpnet.HOST.conf


SEE ALSO

 dumpnet(8)
 dumpnet.HOST.conf(8)


AUTHOR

 Lukas Feiler <lukas.feiler@lukasfeiler.com>


COPYRIGHT AND LICENSE

dumpnet is published under the LGPL (GNU LESSER GENERAL PUBLIC LICENSE). Please see the LICENSE file contained in the installation tarball for details. The official web site is http://dumpnet.sourceforge.net.