-g, --gzip |
-b, --bzip2] [
-L, --level=0|1} [
Archive some parts of the filesystem and command output, as directed by the configuration file.
The following options are recognized:
this options applies to the archiving of files. If the level given is 0, the state database is cleared, all files which match the configuration options are archived, and their state is then saved in the state database. If the level is 1, the database is opened readonly, and only the files which are no longer equal with their state as recorded in the database, or files which don't have an entry in the database, are stored.
The recommended operation mode is to create weekly an archive using level 0, and daily one using level 1. In this way, you need any weekly archive to recreate the full system, and if the daily archive is also available, you will have the latest configuration.
use FILENAME as configuration file, instead of the default /etc/bakonf/bakonf.xml
save the generated archive as FILE. Note that if this
parameter is given it will override any directory given with
-d (i.e. this name is taken a a full
save the generated archive under the given DIRECTORY. The filename will be constructed using the current hostname and year, month, day (e.g. host.example.com-2002-12-19.tar). If any of the compression options are given, the file will have the proper suffix appended. If not given, the default directory is /var/lib/bakonf/archives.
This options will override the value for the database. It can be used for quick testing instead of modifying the config file.
compress the generated archive with gzip
compress the generated archive with bzip2
do not save any files in the filesystem. In this case
bakonf does not even open a database, but you must still
do not save command output in the archive
increases the verbosity by one; the default level of verbosity is one, under which information and higher severity messages are displayed; at level two, debug mode is enabled which shows the trace of actions
resets the verbosity to zero; at this level, only warning and higher messages are shown
shows the version number and exits
shows a short help message about the invocation and exits
Copyright © 2002, 2004, 2008, 2009, 2010 by Iustin Pop
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, please write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.