Changes

Jump to: navigation, search

stoney backup: Server set-up

1,387 bytes added, 08:00, 13 June 2014
/* ResellerBackupBilling.pl */
== ResellerBackupBilling.pl ==
 
* Pod documentation
<pre>
NAME
ResellerBackupBilling.pl
 
DESCRIPTION
This script processes the reseller with the passed UID and creates a
very simplistic backup-billing overview which then is sent to the
addressspecified in the configuration file. The billing overview
contains all backup accounts which belong to the given reseller, as well
as their quota. According to the billing plan specified in the
configuration file, the script also calculates the prcie for each backup
account.
 
The script uses syslog for logging purposes.
 
Command Line Interface (CLI) parameters:
 
OPTIONS
--reseller/-r UID
Process the reseller with this UID
 
--debug/-d
Turn on debug mode
 
--help/-h
Display this help
 
USAGE
./ResellerBackupBilling.pl --reseller 2000000
This processes the reseller with the UID 200000 and sends the
billing overview to the address specified in the configuration file
 
CREATED
2014-01-24 pat.klaey@stepping-stone.ch created
 
VERSION
2014-01-24 pat.klaey@stepping-stone.ch created
 
INCORPORATED CODE
Incorporated code with use:
 
warnings;
strict;
Getopt::Long;
PerlUtil::LDAPUtil;
PerlUtil::Logging;
PerlUtil::Mail;
Number::Format;
File::Basename;
Cwd 'abs_path';
</pre>
==== Configuration ====
== writeDate.pl ==
486
edits