App::MBUtiny - Websites and any file system elements backup tool
Version 1.13
# mbutiny test # mbutiny backup # mbutiny restore # mbutiny report
Websites and any file system elements backup tool
Recommended: Apache 2.2+ with CGI/FCGI modules
# sudo cpan install App::MBUtiny
...and then:
# sudo mbutiny configure
By default configuration file located in /etc/mbutiny directory
/etc/mbutiny
Every configuration directive detailed described in mbutiny.conf file, also see hosts/foo.conf.sample file for MBUtiny backup hosts configuration
mbutiny.conf
hosts/foo.conf.sample
To automatically launch the program, we recommend using standard scheduling tools, such as crontab
0 2 * * * mbutiny -l backup >/dev/null 2>>/var/log/mbutiny-error.log
Or for selected hosts only:
0 2 * * * mbutiny -l backup foo bar >/dev/null 2>>/var/log/mbutiny-error.log 15 2 * * * mbutiny -l backup baz >/dev/null 2>>/var/log/mbutiny-error.log
For daily reporting:
0 9 * * * mbutiny -l report >/dev/null 2>>/var/log/mbutiny-error.log
Collector is a monitoring server that allows you to collect data on the status of performs backups. The collector allows you to build reports on the collected data from various servers.
How it work?
+------------+ | Monitoring |<--http/https-+ +------------+ | | +----------+ +-----+-----+ +----------+ | Server 1 |--local-->| COLLECTOR |--DBI-->| DataBase | +----------+ +-----+-----+ +----------+ ^ +----------+ | | Server 2 |---http/https---+ +----------+
For installation of the collector Your need Apache 2.2/2.4 web server and CGI/FastCGI script. See collector.cgi.sample in /etc/mbutiny directory
collector.cgi.sample
If you want to use the HTTP server as a storage for backups, you need to install the CGI/FastCGI script on Apache 2.2/2.4 web server.
See server.cgi
server.cgi
The CTK method for classes extension. For internal use only!
See "again" in CTK
The internal method for initializing the project
my $excdir = $app->excdir;
Returns path to processed exclusions
my $dbi = $app->getdbi;
Returns DBI object
my $objdir = $app->objdir;
Returns path to processed objects
my $rstdir = $app->rstdir;
Returns path to restored backups
See Changes file
Changes
CTK
See TODO file
TODO
* none noted
CTK, WWW::MLite
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE file and https://dev.perl.org/licenses/
LICENSE
To install App::MBUtiny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MBUtiny
CPAN shell
perl -MCPAN -e shell install App::MBUtiny
For more information on module installation, please visit the detailed CPAN module installation guide.