Changes

Jump to: navigation, search

stoney backup: Server set-up

1,180 bytes added, 13:19, 12 June 2014
/* snapshot.pl */
* Execute all these commands
** Use controlled parallel execution, you can specify how many commands can be executed in parallel (see [[#snapshot.pl_Configuration | configuration]] below)
* Pod documentation:
<pre>
NAME
snapshot.pl
 
DESCRIPTION
This script gets all active online backup accounts from the LDAP backend
for which the rsnapshot process for the given interval must be executed.
According to these accounts and the given interval, the commands to be
executed are generated and finally executed. The commands can be
executed in parallel, however there is a limit defined in the
configuration file which limits the amount of parallel running
processes.
 
USAGE
./snapshot.pl --interval interval [--debug] [--help]
 
OPTIONS
--interval/-i interval
Specifies the rsnapshot interval (can be hourly, daily, weekly,
monthly or yearly)
 
--debug/-d
Turns on debug mode
 
--help/-h
Shows this help
 
CREATED
2012-03-19 pat.klaey@stepping-stone.ch created
 
VERSION
2012-03-19 pat.klaey@stepping-stone.ch created
 
INCORPORATED CODE
Incorporated code with use:
 
warnings;
strict;
Getopt::Long;
Sys::Syslog;
PerlUtil::Logging;
PerlUtil::LDAPUtil;
File::Basename;
Parallel::ForkManager;
Time::Stopwatch;
</pre>
=== Configuration ===
486
edits