NAME
base_aegi_backup.pl - backup your change to a tar.gz file.
COPYRIGHT
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
DETAILS
MANIFEST: base_aegi_backup.pl
PROJECT: meta
VERSION: 0.41
SYNOPSIS
base_aegi_backup.pl
DESCRIPTION
This script backs up aegis related files to a .tar.gz or tar.bz2 file. It uses the Archive::Tar perl module to create the archive. This script works in one of several ways: 1. change: it backs up all the change files. 2. project: it backs up the baseline (with diregard to change). 3. source: it backs up the super position of change on project. The script uses the Meta::Baseline::Aegis module to get the information from Aegis regarding which files are to be backed up.
OPTIONS
- help (type: bool, default: 0)
-
display help message
- pod (type: bool, default: 0)
-
display pod options snipplet
- man (type: bool, default: 0)
-
display manual page
- quit (type: bool, default: 0)
-
quit without doing anything
- gtk (type: bool, default: 0)
-
run a gtk ui to get the parameters
- license (type: bool, default: 0)
-
show license and exit
- copyright (type: bool, default: 0)
-
show copyright and exit
- description (type: bool, default: 0)
-
show description and exit
- history (type: bool, default: 0)
-
show history and exit
- verbose (type: bool, default: 0)
-
verbose or quiet ?
- tarfile (type: newf, default: [% project %]_[% change %]_[% time %].tar.gz)
-
what file to backup to
- localdir (type: stri, default: [% home_dir %]/backups)
-
what directory to backup to ?
- type (type: enum, default: source)
-
what type of backup ?
options: change - just files from the current change project - just files from the current baseline source - complete source manifest
-
author XML definition file
- encrypt (type: bool, default: 1)
-
encrypt the result ?
- armor (type: bool, default: 0)
-
put ascii armor on encrypted files ?
- sign (type: bool, default: 0)
-
sign the encrypted files ?
- send (type: bool, default: 0)
-
send copy to internet ?
- remote_dir (type: stri, default: backups)
-
remote directory where backups are stored
no free arguments are allowed
BUGS
None.
AUTHOR
Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER
HISTORY
0.00 MV initial code brought in
0.01 MV bring databases on line
0.02 MV make quality checks on perl code
0.03 MV more perl checks
0.04 MV make Meta::Utils::Opts object oriented
0.05 MV more harsh checks on perl code
0.06 MV fix todo items look in pod documentation
0.07 MV make all tests real tests
0.08 MV more on tests/more checks to perl
0.09 MV fix all tests change
0.10 MV more on tests
0.11 MV silense all tests
0.12 MV more perl quality
0.13 MV correct die usage
0.14 MV perl code quality
0.15 MV more perl quality
0.16 MV more perl quality
0.17 MV more perl quality
0.18 MV revision change
0.19 MV languages.pl test online
0.20 MV web site and docbook style sheets
0.21 MV write some papers and custom dssls
0.22 MV perl packaging
0.23 MV validate writing
0.24 MV license issues
0.25 MV fix database problems
0.26 MV md5 project
0.27 MV database
0.28 MV perl module versions in files
0.29 MV md5 progress
0.30 MV thumbnail user interface
0.31 MV more thumbnail issues
0.32 MV website construction
0.33 MV improve the movie db xml
0.34 MV web site automation
0.35 MV SEE ALSO section fix
0.36 MV move tests to modules
0.37 MV bring movie data
0.38 MV web site development
0.39 MV finish papers
0.40 MV teachers project
0.41 MV more pdmt stuff
SEE ALSO
GnuPG(3), Meta::Archive::Tar(3), Meta::Baseline::Aegis(3), Meta::Template::Sub(3), Meta::Utils::File::Remove(3), Meta::Utils::Opts::Opts(3), Meta::Utils::Output(3), Meta::Utils::System(3), Meta::Utils::Utils(3), Net::SCP(3), strict(3)
TODO
-use aedist and not do any querying on your own with the features...
-support bz2 too (and make it the default).
-move all the code here into a library.
-when doing full backup call the result project or something.(not according to change numbers) - the date suffices.
-there are some performance issues with this script due to the use of Archive::Tar which seems to hold all in memory and not be very efficient. Try to test it and imporve it.
-the localdir dir show be an existing directory and not a string type if only the Opts library knew how to do TT2 transformations.