Commit Graph

52 Commits

Author SHA1 Message Date
Jerome Charaoui
568dbaa9fd whitespace fixes 2021-01-09 23:29:29 -05:00
Jerome Charaoui
eabda5615c Remove vserver support (fixes #11289)
This is probably completely unused by now, as vservers have been
superseeded by alternative technology for many years already.
2021-01-02 15:27:32 -05:00
Jacob Anawalt
7355535ee1 Enable pg_dump format option.
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-10-12 10:49:34 +02:00
intrigeri
aeca6912a8 Added GZIP_OPTS option, defaulting to --rsyncable.
... 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-06-14 19:06:59 +02:00
intrigeri
8fb9415609 Adding optional report of infos sent by handlers in the email (closes #563734)
Cherry-picked and re-indented patch 76792c8f45afa1fdaeb81c2af77499ca0b83ce64
from Olivier Berger.

Conflicts:

	src/backupninja.in
2010-01-05 13:39:32 +01:00
Micah Anderson
c0126ff1ef added ninjareport
added ale to AUTHORS for ldap fixes
adjusted sys handler to allow for turning off of sfdisk (#404071)
2007-03-04 10:29:26 +00:00
Micah Anderson
ea468148c5 Add Jamie McClelland's cstream patches 2006-12-15 23:13:47 +00:00
Micah Anderson
2276e5df3f fixed automake problem if /etc/backup.d already exists 2006-10-07 23:04:27 +00:00
Micah Anderson
787e4aadd2 Change /etc/backup.d permissions to need 0770 for admingroup 2006-10-07 03:59:32 +00:00
Micah Anderson
4ce9c573c8 Added disk space report option (adam kosmin suggestion)
removed sys vserver not running noise report (anarcat suggestion)
2006-10-06 18:42:32 +00:00
intrigeri
eaddb26849 Added (commented out) the default VROOTDIR in the conffile, so that users know
it can be changed.
2006-07-24 20:23:20 +00:00
Micah Anderson
489e294c50 Added a slightly modified version of the anti-fascist patch (allows for
a configurable admingroup to be set, instead of forcing it to be root),
closes debian bug#370396
2006-06-09 17:27:21 +00:00
Micah Anderson
ea111f2a5c Changed cron.d permissions to 644 2006-04-12 21:06:34 +00:00
Micah Anderson
dd0903db42 Apparantly it is common practice to NOT keep generated files in the repository,
since Makefile.in is generated through autogen.sh or autoreconf, it shouldn't be
put in the repo itself (except on release)
2006-01-26 20:53:34 +00:00
intrigeri
368eec9774 r585@crapouille: intrigeri | 2006-01-02 17:18:49 +0100
Added (commented out) to backupninja.conf the default paths to programs such as
 PGSQLDUMP, so that users can figure out more easily they can customize them.
2006-01-02 16:19:54 +00:00
intrigeri
280fdac2bc r3555@krups: intrigeri | 2005-11-15 13:59:57 +0100
Moved easydialog.sh to lib/ directory: more code is going to be shared, let's start here.
2005-11-29 10:08:41 +00:00
Micah Anderson
d58025ceb0 Move logrotate to autotools template 2005-10-26 23:02:25 +00:00
Micah Anderson
554f5263ef change cronjob to autotools template 2005-10-26 23:01:45 +00:00
Micah Anderson
b3ff5ad360 Add autotools Makefile templates 2005-10-26 23:00:48 +00:00
Micah Anderson
195a1bdc07 Move configuration to autotools template 2005-10-26 23:00:18 +00:00
Elijah Saxon
55427e72e2 moved stuff around. 2005-10-05 15:54:23 +00:00
intrigeri
bd0b2eaea8 dup handler: added option to perform a full backup instead of an incremental one. 2005-08-20 18:17:25 +00:00
intrigeri
6b6154879b Security fix: duplicity handler used to put the gpg passphase on the command line. 2005-08-20 15:37:57 +00:00
intrigeri
ddaceb7dda Added helper for pgsql handler. 2005-08-09 20:59:20 +00:00
intrigeri
d675fa6df9 Added vservers support to duplicity handler. 2005-08-09 20:41:37 +00:00
intrigeri
773c194279 Added pgsql (PostgreSQL) handler, with vservers support. 2005-08-09 20:28:52 +00:00
Micah Anderson
1d3e3482be Added stefani's makecd handler 2005-07-08 16:24:57 +00:00
Elijah Saxon
fba2f02032 2005-07-01 01:05:27 +00:00
Micah Anderson
b3b70a8e5d Added trac example 2005-06-21 22:13:38 +00:00
Micah Anderson
d52a1ac97e Added trac handler, changed VSERVERS variable to be lowercase and
added some vserver documentation to README and to the handlers
2005-06-13 19:37:26 +00:00
Micah Anderson
5c87458754 Minor spelling fix 2005-06-13 04:42:49 +00:00
Micah Anderson
72e56ec106 removed extra 0 from cron 2005-06-03 22:44:46 +00:00
Elijah Saxon
1b3449f24c mysql --defaults-file stuff. 2005-06-01 22:44:04 +00:00
Elijah Saxon
a56165ce12 added support for --defaults-file 2005-06-01 18:50:22 +00:00
intrigeri
cadfdca981 Duplicity handler: added "bandwidthlimit" option. 2005-05-27 18:41:40 +00:00
intrigeri
3a6d8d25e4 Duplicity handler example file (example.dup) : uploaded for real, this time, and added a note about symlink management weirdness in "include = " config lines. 2005-05-27 16:31:23 +00:00
Micah Anderson
1e410a6d95 Updates to handle vservers 2005-05-24 19:27:43 +00:00
Micah Anderson
85cb64d249 Implemented fix to report errors (via cron) on fatal problems in the main backupninja script 2005-05-06 01:17:25 +00:00
Micah Anderson
a917f89b1d Added a note about required configuration options for ldapsearch method 2005-04-21 19:05:15 +00:00
Micah Anderson
4924d343a4 Added enhanced options to ldap handler 2005-04-21 18:47:57 +00:00
Elijah Saxon
0528f46c8c 2005-04-19 21:37:49 +00:00
Elijah Saxon
1062a550a2 created 2005-04-19 21:19:13 +00:00
Elijah Saxon
c7e96acc45 rdiff works with sshd banner... rdiff local dest works... create logfile... when=hourly... rdiff nice... 2005-04-13 05:29:33 +00:00
Elijah Saxon
907f7d4455 fixed bug with __star__ and sys handler.
well, not really, but i worked around a bug that i don't understand.
2005-03-14 21:49:29 +00:00
Elijah Saxon
2064c73896 added PATH 2005-03-14 21:48:00 +00:00
Elijah Saxon
b29b969b86 added options, keep passed directly to rdiff-backup 2005-01-19 19:39:14 +00:00
Elijah Saxon
900f269135 added 'when' 2005-01-04 06:28:22 +00:00
Elijah Saxon
6bc45553f0 version 0.4.1 2005-01-03 22:22:58 +00:00
Elijah Saxon
a7bf628e61 added scheduling (!) see readme. 2004-12-26 11:19:06 +00:00
Elijah Saxon
f4843b2fd7 added 'sys' handler. 2004-12-23 02:54:53 +00:00