Commit Graph

107 Commits

Author SHA1 Message Date
Jerome Charaoui
beff3adc1e Remove remaining vserver bits 2021-01-03 12:07:56 -05:00
Jerome Charaoui
40a346ff13 rsync: change id_dsa to id_rsa in rsync handler, fixes #11315
Also changed in example config.
2021-01-02 15:56:54 -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
Jerome Charaoui
43c0f9d9bf rsync: fix rsync_options example
Copy-pasting this in a rsync handler config will cause an error as the
quotes will be used on the command line directly...
2020-12-31 14:36:04 -05:00
Gabriel Filion
7db5c9c3e8 Document the new ionice configuration in example config files 2020-12-31 02:08:50 -05:00
LeLutin
e28da8c390 borg: add configuration to displace the cache directory
borg will by default create its cache directory in ~/.cache/borg. This
means that during backup runs, borg will read and write quite
extensively from/to this directory.

In some situations, it is rather undesirable to have this amount of IO
activity in this location and it would make sense to tell borg to place
its cache elsewhere. This can help for example with placing the cache on
a hard drive where the added IO load will not have as big of an impact
on other running activity for the system.

This change also makes sure that the cache directory environment
variable is cleared out when the configuration option is unset. This
should avoid unpleasant surprises when this environment variable is set
to some unknown value in the context where backupninja is called, which
could lead to borg reading and writing to random places on the system.
2020-08-14 05:46:34 -07:00
Jerome Charaoui
1efa23869c [borg] improve comments in example.borg 2018-06-06 22:03:19 -04:00
Jerome Charaoui
9c3dffa2cd [borg] "repofile" is not a valid encryption mode 2018-06-06 22:03:12 -04:00
Jerome Charaoui
0132b2453a [borg] scrap exclude*, add create_options
This allows the handler to fully make use of the advanced command-line
options for "borg create", such as the replaced "exclude*" options and
others like "--read-special" and "--numeric-owner".
2018-01-26 11:47:47 -05:00
Jerome Charaoui
f43c85662d [borg] replace "keep*" options with simpler "keep"
The effect of "keep*" options is not straightforward to understand, so
replacing it with a simpler "keep" option, which replicates the
functionality of other backupninja handlers. This also simplifies the
helper, as the use is then only asked how many days of backups to keep.

At the same time, we add "prune_options" which allows for the use of the
"keep*" options as well as other useful prune options, like "--prefix".
2018-01-26 11:26:37 -05:00
Jerome Charaoui
fc0e0849dc [borg] add init option to allow skipping init command
In some cases it may be desirable to skip repository initialization, for
example when the repository is located at the root of a mount point.
2018-01-26 09:53:54 -05:00
Jerome Charaoui
54cc8c6b32 [borg] support for --exclude-caches and --exclude-nodump 2018-01-26 09:43:58 -05:00
Jerome Charaoui
fcdbaa3447 [borg] add bwlimit config (sets --remote-ratelimit) 2018-01-26 09:43:58 -05:00
Jerome Charaoui
c9b72249ae [borg] make help references consistent in example 2018-01-26 09:43:58 -05:00
Jerome Charaoui
87ea9c3dad [borg] update compression info in example 2018-01-26 09:43:58 -05:00
Jerome Charaoui
910676f3ea [borg] sync example default for archive 2018-01-26 09:43:58 -05:00
Jerome Charaoui
7b2917bbec [borg] Rewrite include/exclude notes to match docs 2018-01-26 09:43:58 -05:00
Jerome Charaoui
fa834367c0 [borg] Fix default value for testconnect in example config 2018-01-26 09:43:58 -05:00
Jerome Charaoui
88adbaa990 [borg] support keephourly option 2018-01-26 09:43:58 -05:00
Ben
fdd0280a00 [borg] fixed include order in example file 2018-01-26 09:43:58 -05:00
Thomas Preissler
d1058620e9 [borg] add example.borg to Makefile 2018-01-26 09:43:58 -05:00
Ben
02d595baab [borg] added encryption support (credit to @mxroo and @leoberry) 2018-01-26 09:43:58 -05:00
Ben
060de6853a [borg] added support for local backups, without ssh (host=localhost) 2018-01-26 09:43:58 -05:00
Ben
2e6d94d89a [borg] added borg handler and example straight from @maethor gists 2018-01-26 09:43:58 -05:00
intrigeri
0356db5dcc Documentation: bandwidthlimit for the dup handler needs to be given in KB/s, and not (as wrongly advertised previously) in Kbit/s.
Closes: #7603
2017-08-12 22:10:29 +00:00
intrigeri
f8e1664e01 dup handler: correctly handle Dropbox access token (Closes: #11260).
Thanks to Daniel Lo Nigro for the patch.
2017-07-25 09:55:13 +00:00
Silvio Rhatto
03292147f6 Rsync example: show 'user' parameter as a required option (#4380) 2014-04-17 19:13:07 -03:00
Dominik George
c5738b11d9 Added SIGN_PASSPHRASE support for dup handler. 2014-02-22 14:56:58 +00:00
intrigeri
0cb6fcd647 Delete trailing whitespace. 2013-09-23 10:19:26 +00:00
Micah Anderson
54ec07be55 add additional sys backup options to provide the ability to backup the MBR for every device found, and to backup the BIOS (if the flashrom program is installed, and the mainboard is supported) 2013-09-20 16:48:13 -04:00
intrigeri
b3275eb7b1 Clarify that duplicity/paramiko doesn't support spaces between -o and IdentityFile anymore. 2013-07-23 12:01:02 +02:00
intrigeri
1c6677ebdd Add option to include rdiff-backup output in reports.
Thanks to David Gasaway <dave@gasaway.org> for the patch.
2013-06-08 08:59:03 +02:00
intrigeri
38a0fc572a Merge remote-tracking branch 'sarava/bug/3838' 2012-05-13 02:31:06 +02:00
Silvio Rhatto
461275fa4d Documenting rotation parameters at example.rsync (#3891) 2012-05-10 17:59:24 -03:00
Silvio Rhatto
a99421620f Removing lockfile from rsync example (#3838) 2012-05-10 17:34:15 -03:00
intrigeri
a74db16e51 Fix typos. 2012-02-25 14:01:49 +01:00
Silvio Rhatto
7c4d7e4dbe Remove default value from rsync example 2012-02-25 14:01:02 +01:00
Silvio Rhatto
9bc4ffceed Updating rsync example 2012-02-25 14:00:50 +01:00
intrigeri
357a17b155 Use --ssh-options with dup >= 0.6.17.
... and warn about unsupported options.
2012-01-29 15:09:37 +01:00
intrigeri
f351306d82 dup: add support for RackSpace's CloudFiles.
Thanks to Yuval Kogman <nothingmuch@woobling.org> for the patch.
2011-10-22 21:46:50 +02:00
intrigeri
08ec567290 Don't install LDAP handler, helper and example configuration file.
The handler has been heavily broken for a while.
It clearly lacks a maintainer.
2011-09-20 22:29:42 +02:00
intrigeri
e691eb7a10 Allow 'when = XXX' in sh jobs.
when=XXX did work already. This patch allow to write this with spaces around the
equal sign - as in every other backup.d/ file.
2011-08-17 12:15:37 +02:00
intrigeri
ee587946a6 Add sshoptions to rdiff example config file. 2011-04-26 12:31:58 +02:00
Olivier Berger
3e60fd37de Adding new option 2011-04-25 22:49:57 +02:00
intrigeri
2392094a24 Make units clearer (Closes Redmine bug #2737). 2011-02-16 08:22:10 +01:00
intrigeri
a036144de8 Documentation: recommend using 4096 bits RSA keys everywhere. 2011-01-27 19:02:28 +01: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
6e2a9468cf Fix ssl and tls options description (Closes Roundup bug #2407) 2010-06-14 19:16:34 +02:00
intrigeri
46ace65573 Added /var/cache/backupninja/duplicity to default excludes.
... for rdiff.helper, dup.helper, example.dup and example.rdiff.
2010-05-10 22:18:49 +02:00
intrigeri
99434c8b07 Added ftp_password option.
This is the only way to securely transmit the FTP password from backupninja
to duplicity.
2010-05-06 20:05:20 +02:00