storeBackupSearch.pl allows you to search in specific backups in a
backup series or in all backups under backupDir. You can define any
rule built from combinations of file name, size, mode (permissions),
owner (uid, gid), creation time, modify time and file type -
naturally the ones of the original source directory.
See section rules how to define rules. It will help you if you have at least some very basic knowledge about scripting or programming.
storeBackupSearch.pl -g configFile storeBackupSearch.pl [-f configFile] [-b backupDirectory] [-s rule] [--absPath] [-w file] [--parJobs number] [-d level] [--once] [--print] [-T tmpdir] [backupRoot . . .]
This program allows you to set the options on the command line and in a configuration file. You have to set the options backupDir and searchRule.
First, the options which can be used only on command line. There is always a long option (like --file) and sometimes also a shortcut (-f):
The following options can be used on the command line and in the configuration file (see section 7.1). There is a long option for the command line (like --searchRule), sometimes also a shortcut for the command line (like -s) and the name of the term used in the configuration file (like searchRule)).
$TMPDIR. If it does not exist, /tmp is set as the default value.
# storeBackupSearch.pl <all_options> 2008.08.27_16.59.01 2008.08.30_10.13.38
In the configuration file this is similar to:
backupRoot = 2008.08.27_16.59.01 2008.08.30_10.13.38
You can define a relative path to directories below backupDir where to search. This can be a specific backup itself (like in this example), a whole backup series or a directory in which directories with backup series are stored (and so on). You can configure storeBackupSearch.pl to search in multiple directories.
If you do not specify any directory, then all backups below backupDir are used for the search.
You need read permissions for the .md5CheckSum.*-files in the backups.
Heinz-Josef Claes 2014-04-20