aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-10-12Enable pg_dump format option.Jacob Anawalt
The format option of pg_dump enables tar and custom archive file formats in addition to the default plain-text file containing SQL commands. When either the tar or custom format are selected the behaviour of database=all is changed to no longer dump a single file via pg_dumpall. Instead pg_dumpall is called once to export the "global" data (roles & tablespaces) and then pg_dump is called once for each non-template table in the database. To support the GZIP and GZIP_OPTS variables in backupninja and to give the default --rsyncable gzip compression flag a chance at working on a PostgreSQL backup, the custom output is forced to not use compression. Instead compression is done via a pipe to gzip. Hopefully this benefits rsync and rdiff-backup style backups for reduced backup and storage costs that outweigh the restoration ones.
2010-09-22Do not error out when no job is configured (Closes: #597684)intrigeri
2010-06-14Added GZIP_OPTS option, defaulting to --rsyncable.intrigeri
... so that this option can be disabled on systems that don't support it. This also allows to use another compression program, such as pbzip2 on SMP machines (closes Roundup bug #2405).
2010-01-09set BACKUPNINJA_DEBUG when invoked with -d (Closes: #537266)intrigeri
2010-01-05reportspace: skip non-directories and places that don't exist on the local ↵intrigeri
filesystem (Closes: #536049)
2010-01-05Fixed indentationintrigeri
2010-01-05Adding optional report of infos sent by handlers in the email (closes #563734)intrigeri
Cherry-picked and re-indented patch 76792c8f45afa1fdaeb81c2af77499ca0b83ce64 from Olivier Berger. Conflicts: src/backupninja.in
2009-12-25autotools: added the stat command to the automagically replaced onesintrigeri
... hoping it will help supporting *BSD some day.
2009-05-23Add a vim modeline with indentation settings.Matthijs Kooijman
The modelines added match the emacs lines already present and also set the filetype to sh (just like the emacs lines).
2009-05-23Make all indentation consistent.Matthijs Kooijman
Previously, there were many indentation styles in use: Real tabs, 2, 3 or 4 spaces, mixing these within the same file, function or even within a single line. This commit changes all bash scripts in the handlers, src and lib dirs to use consistent indentation: three spaces are now used everywhere. Other files (e.g. Makefiles) are left untouched. Additionally, this commit removes all trailing whitespace.
2009-01-12add support for 'when = manual' (Closes: #511299)intrigeri
2008-12-09backupninja: do not assume English locale when using date (Closes: #465837)intrigeri
2008-07-28fix reportspaceintrigeri
2008-06-24Fixed tr construct reporting a warning (Closes: #452669).intrigeri
2008-06-24Allow the entire backup run to be halted by an action (Closes: #455836)intrigeri
2008-05-08fix spelling errorMicah Anderson
2008-03-13fix cstream definitionMicah Anderson
2007-10-12Fixed reportspace option (Trac#10)intrigeri
2007-10-12fixed Trac#11intrigeri
2007-03-04added ninjareportMicah Anderson
added ale to AUTHORS for ldap fixes adjusted sys handler to allow for turning off of sfdisk (#404071)
2007-02-23updated autotools abstraction to properly pick up different awk, sed,Micah Anderson
and md5sum locations
2006-12-15Add Jamie McClelland's cstream patchesMicah Anderson
2006-12-13fixed case where combination of compress=no and specifying individualMicah Anderson
vservers and mysqld wasn't running or mysqldump didn't exist would cause a zero byte backup file
2006-11-01pgsql: support PGSQLUSER for real (Closes: #396578)intrigeri
2006-10-08fixed configuration files permission checkintrigeri
2006-10-07ninjahelper.in: remove runtime overzealous perms checks on the helpersintrigeri
2006-10-07backupninja.in: words missing in error messageintrigeri
2006-10-06Added disk space report option (adam kosmin suggestion)Micah Anderson
removed sys vserver not running noise report (anarcat suggestion)
2006-08-13Fixed stat to use --format instead of --printf to be compatible with coreutilsMicah Anderson
2006-07-13backupninja and ninjahelper: have find following symlinks for config files ↵intrigeri
also work on sarge, by replacing -L with -follow
2006-06-10Changed order of -s in the mail call for compatibility, fromMicah Anderson
anarcat
2006-06-10Add fix from anarcat for ${configdirectory} in ninjahelper, also add -L to ↵Micah Anderson
find to follow symlinks in case this directory is actually not a directory, but instead a symlink to somewhere else
2006-06-10the find that looks in /etc/backup.d didn't follow symlinks and would ↵Micah Anderson
instead fail silently causing me much confusion, so I added -L to find and an if statement to spit something out so its obvious
2006-06-09Added a slightly modified version of the anti-fascist patch (allows forMicah Anderson
a configurable admingroup to be set, instead of forcing it to be root), closes debian bug#370396
2006-05-30ninjahelper: Recursively ignore subdirs in /etc/backup.d (Finally Closes: ↵intrigeri
#361102)
2006-04-08Recursively ignore subdirs in /etc/backup.d (Closes: #361102)intrigeri
2006-01-26Apparantly it is common practice to NOT keep generated files in the repository,Micah Anderson
since Makefile.in is generated through autogen.sh or autoreconf, it shouldn't be put in the repo itself (except on release)
2006-01-17code refactor: backupninja now uses vservers lib to init vservers supportintrigeri
(I hate duplicated code!)
2006-01-17backupninja.in: improved VROOTDIR detection as in lib/vserver.inintrigeri
2006-01-09. now reports error if the helper script has a syntax error or bombs out.Elijah Saxon
. code formatting cleanup (three spaces indent)
2005-12-28 r263@crapouille: intrigeri | 2005-12-28 21:19:10 +0100intrigeri
Reverted indentation level to 3.
2005-12-28 r261@crapouille: intrigeri | 2005-12-28 20:59:01 +0100intrigeri
Changed default indentation level to 8, to make it presbyopia-friendly
2005-12-28Added the "Emacs comment line" on top of every shell file.intrigeri
2005-12-16Fixed broken toint function, causes backups to not run from cronMicah Anderson
when told to run "everyday" (debian bug: #341881)
2005-11-29Reverted bashism removals from r228, after discussing this.intrigeri
2005-11-29 r3566@krups: intrigeri | 2005-11-17 21:59:38 +0100intrigeri
ninjahelper: moved (and enhanced) vservers-related functions to lib/vservers. dup.helper, pgsql.helper: use these functions
2005-11-29 r3565@krups: intrigeri | 2005-11-16 20:43:44 +0100intrigeri
ninjahelper and backupninja: cosmetic enhancement of the "am I root?" test.
2005-11-29 r3563@krups: intrigeri | 2005-11-16 20:32:41 +0100intrigeri
ninjahelper: documented a few pieces of code
2005-11-29 r3562@krups: intrigeri | 2005-11-16 20:20:16 +0100intrigeri
Moved more code to lib/ (conffile-related functions, parseini. Added dup helper, using new modular vservers-related functions shared for all helpers.
2005-11-29 r3561@krups: intrigeri | 2005-11-15 15:16:50 +0100intrigeri
ninjahelper: use autotools' @BASH@ instead of hard-coded path