aboutsummaryrefslogtreecommitdiff
path: root/src/backupninja.in
AgeCommit message (Collapse)Author
2012-06-11Make it clear what lockfile could not be acquired.intrigeri
2011-07-19Fix "Locking mechanism causes variable problem".intrigeri
Thanks to Olivier Berger for the patch.
2010-12-24Implement locking with flockOlivier Berger
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-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-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-04-08Recursively ignore subdirs in /etc/backup.d (Closes: #361102)intrigeri
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
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 r3565@krups: intrigeri | 2005-11-16 20:43:44 +0100intrigeri
ninjahelper and backupninja: cosmetic enhancement of the "am I root?" test.
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 r3560@krups: intrigeri | 2005-11-15 15:13:35 +0100intrigeri
backupninja now uses the maketemp function shared in lib/tools, instead of its own one.
2005-11-29 r3559@krups: intrigeri | 2005-11-15 15:07:17 +0100intrigeri
ninjahelper & backupninja now set $libdir when bootstrapping. improved $scriptdir search, too.
2005-11-19Converted some bashisms to POSIX -- no concept of arrays in posix, blehMicah Anderson
2005-11-19Color comments were wrong - error is red, fatal is purple. CommentsMicah Anderson
said error was orange and fatal was red, maybe this is better?
2005-10-26Move to templated versionMicah Anderson