Backup-Duplicity-YADW

 view release on metacpan or  search on metacpan

bin/yadw  view on Meta::CPAN

		. "\texpire\n"
		. "\tverify\n"
		. "\tstatus\n" . "\n";

	exit 1;
}

__END__

=pod

=encoding UTF-8

=head1 NAME

yadw - Yet Another Duplicity Wrapper command line utility

=head1 VERSION

version 0.12

=head1 SYNOPSIS

  yadw full
  yadw inc
  yadw verify
  yadw status
  yadw expire
  yadw restore /path/to/dir/or/file
  
  yadw -c /etc/yadw/extras.conf full
  yadw -c /etc/yadw/extras.conf inc
  ....

=head1 NAME

yadw - Yet Another Duplicity Wrapper command line utility

=head1 VERSION

version 0.11

=head1 SAMPLE ETC FILES

Sample config/cron scripts can be found in the "share" dir.  To find your 
"share" dir run this:

  perl '-MFile::ShareDir ":ALL"' -E 'say dist_dir("Backup-Duplicity-YADW")';

=head1 CONFIGURATION

To setup your system for backups I recommend these steps:

1.  Login as root and install Backup::Duplicity::YADW if you have not done so
already.

2.  Install the default.conf:

  mkdir /etc/yadw
  cp <sharedir>/yadw/default.conf /etc/yadw
  chmod 600 /etc/yadw/default.conf

2.  Modify /etc/yadw/default.conf to your liking.

3.  Run a manual full backup test.  This will also prime the pump so to speak
for automated backups to run.

  yadw full

=head1 AUTOMATE

1.  *AFTER* a successful manual full backup, install weekly cron to perform
weekly full backups.

  cp <sharedir>/cron.weekly/yadw_full_backup.sh /etc/cron.weekly

2.  Install hourly cron for inc backups.

  cp <sharedir>/cron.hourly/yadw_inc_backup.sh /etc/cron.hourly

=head1 AUTHOR

John Gravatt <john@gravatt.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by John Gravatt.

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

=head1 AUTHOR

John Gravatt <john@gravatt.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by John Gravatt.

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



( run in 1.792 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )