#!/usr/bin/perl

# workaround for dzil
package rsybak;
BEGIN {
  $rsybak::VERSION = '0.11';
}
# ABSTRACT: Backup files/directories with histories, using rsync

use 5.010;
use strict;
use warnings;
use Log::Any::App;

use Sub::Spec::CmdLine qw(run);
use File::RsyBak;

run(module => 'File::RsyBak', sub => 'backup');



=pod

=head1 NAME

rsybak - Backup files/directories with histories, using rsync

=head1 VERSION

version 0.11

=head1 DESCRIPTION

See L<File::RsyBak> for more documentation.

=head1 FAQ

=head2 How to see more verbose/debugging output?

B<rsybak> uses L<Log::Any::App>. You can customize logging levels using a
variety of ways, e.g. environment variable:

 % TRACE=1 rsybak ...

By default it also writes log to ~/rsybak.log. You can disable this using:

 % FILE_LOG_LEVEL=off rsybak ...

Or you can customize the level using:

 % FILE_QUIET=1 rsybak ...

See the documentation for Log::Any::App for more details.

=head1 SEE ALSO

L<File::RsyBak>

=head1 AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut


__END__

