summary refs log tree commit diff
path: root/nixos/modules/services/backup
Commit message (Collapse)AuthorAge
* restic-rest-server module: initPascal Bach2018-05-04
|
* nixos/restic: init (#38948)Lassulus2018-04-21
|
* duplicati: create servicenyanloutre2018-04-07
|
* Address @yegortimoshenko reviewMichishige Kaito2018-03-27
|
* Add restore service for tarsnap archivesMichishige Kaito2018-03-27
| | | | | | | This service will never run automatically, but it encapsulates the necessary logic and configuration to run a restore of the latest archive, and allows to hook more specific logic, such as loading a database dump, via `postStart`.
* Add support for tarsnap options -H and -LMichishige Kaito2018-03-27
| | | | | | | | | | A new option `explicitSymlinks` will set `-H` when creating an archive. This option makes tarsnap follow any symlinks specified explicitly on the commandline, but not any found inside the file tree. A new option `followSymlinks` will set `-L` when creating an archive. This option makes tarsnap follow any symlinks found anywhere in the file tree instead of storing them as-is.
* almir: also remove the corresponding module.Guillaume Maudoux2018-03-25
| | | | | The almir package was removed in 30291227f2411abaca097773eedb49b8f259e297 at about 2017-08 This module can no more be used without it.
* Merge pull request #35073 from Infinisil/fix/znapzendMichael Raskin2018-03-25
|\ | | | | nixos/znapzend: fix when no previous zetup
| * nixos/znapzend: fix when no previous zetupSilvan Mosberger2018-02-17
| | | | | | | | | | | | | | When the znapzend module was enabled for the first time with pure = true; then the list of previous entries is empty, but xargs still tried to execute a znapzendzetup delete command with no arguments, which made it fail
* | nixos/borgbackup: initRobert Schütz2018-03-19
| |
* | crashplan-small-business: remove unneeded functionMarti Serra2018-02-21
| |
* | Merge pull request #32761 from xvapx/crashplan-small-businessJoachim F2018-02-20
|\ \ | |/ |/| crashplan-small-business: init at 6.6.0
| * crashplan-small-business: init at 6.6.0Marti Serra2017-12-18
| |
* | nixos/znapzend: stateless setupSilvan Mosberger2017-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | This enables znapzend users to specify its full configuration through NixOS options, without ever needing to use the stateful `znapzendzetup` command. This works by running znapzendzetup with the specified config in ExecPre, just before the znapzend daemon is started. There is also the `pure` option which will clear all previous znapzend setups, making it as stateless as can get, as only the setup declared in configuration.nix will be persisted.
* | nixos/tarsnap: update doc for printStatsYurii Rashkovskii2017-12-20
|/ | | | after the change made in 15567e6d8e338f339e4fafada1362bdaa9612cb3
* mysqlBackup service: let it work with default settingsRodney Lorrimar2017-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Grants enough privileges to the configured user so that it can run mysqldump. * Adds a nixos test. * Use systemd timers instead of a cronjob (by @fadenb). * Creates a new user for backups by default, instead of using mysql user. * Ensures that backup user has write permissions on backup location. * Write backup to a temporary file before renaming so that a failed backup won't overwrite the previous backup, and so that the backup location will never contain a partial backup. Breaking changes: * Renamed period to calendar to reflect the change in how to configure the backup time. * A failed backup will no longer result in cron sending an e-mail -- users' monitoring systems must be updated. Resolves #24728
* znapzend service: add autoCreation optionSilvan Mosberger2017-08-30
|
* znapzend service: options for logging/nodestroy/restart on failureSilvan Mosberger2017-05-22
| | | | fixes #25960
* znapzend service: fix autostartRobin Stumm2017-05-15
|
* tarsnap service: add 'verbose' config option (#25353)Renzo Carbonara2017-05-01
|
* znapsend: do not spawn a shell in the serviceJörg Thalheim2017-04-19
|
* znapzend service: fix reloadRobin Stumm2017-04-19
|
* sitecopy: removeRobin Gloster2017-03-30
|
* nixos/treewide: remove boolean examples for optionsFranz Pletz2017-03-17
| | | | | | | They contain no useful information and increase the length of the autogenerated options documentation. See discussion in #18816.
* tarsnap service: fix multiple simultaneous archives with a single keyNikolay Amiantov2016-11-20
|
* crashplan: 4.7.0r2 -> 4.8.0r1Matt McHenry2016-11-13
|
* nixos: use types.lines for extraConfigEmery Hemingway2016-10-23
|
* Merge pull request #18511 from ericsagnes/feat/remove-optionSetJoachim F2016-10-01
|\ | | | | modules: optionSet -> submodule
| * bacula module: optionSet -> submoduleEric Sagnes2016-09-13
| |
* | rsnapshot: add default options to module configDamien Cassou2016-09-22
|/
* crashplan: Wait for filesystems to be mounted before startingSvein Ove Aas2016-08-14
|
* rsnapshot module: Enable manual rsnapshot usage with module config.Alexei Robyn2016-05-12
|
* rsnapshot module: Avoid package rebuild, pass config file explicitly.Alexei Robyn2016-05-12
|
* Merge pull request #14977 from jerith666/crashplan-46-r3Arseniy Seroka2016-04-25
|\ | | | | Crashplan: 4.6.0-r2 -> 4.6.0-r3
| * crashplan: always overwrite binaries in /var/lib/ to ensure that updates are ↵Matt McHenry2016-04-25
| | | | | | | | applied fully
* | Merge pull request #14405 from jerith666/crashplan-46-r2joachifm2016-04-02
|\| | | | | Crashplan 46 r2
| * crashplan: fix vardir file existence checkMatt McHenry2016-04-02
| |
* | Merge pull request #14045 from otwieracz/masterArseniy Seroka2016-03-24
|\ \ | |/ |/| znapzend: added
| * znapzend service: init at 0.15.3Slawomir Gonet2016-03-24
| |
* | crashplan: 3.6.4 -> 4.6.0Matt McHenry2016-03-20
|/ | | | | | | | | | | * the major change is to set TARGETDIR=${vardir}, and symlink from ${vardir} back to ${out} instead of the other way around. this gives CP more liberty to write to more directories -- in particular it seems to want to write some configuration files outside of conf? * run.conf does not need 'export' * minor tweaks to CrashPlanDesktop.patch
* tarsnap: 1.0.36.1 -> 1.0.37Tanner Doshier2016-03-14
|
* Add missing 'type', 'defaultText' and 'literalExample' in module definitionsThomas Strobel2016-01-17
| | | | | | - add missing types in module definitions - add missing 'defaultText' in module definitions - wrap example with 'literalExample' where necessary in module definitions
* nixos: tarsnap - allow keys for individual archivesAustin Seipp2016-01-07
| | | | | | | | | | | | | | | Two concurrent tarsnap backups cannot be run at the same time with the same keys - completely separate sets of keys must be generated for each archive in this case, if you want backups to overlap. This extends the archives attrset to support a 'keyfile' option, which defaults to /root/tarsnap.key like the top-level attribute. With this change, if you generate two keys with tarsnap-keygen(1) and use each of those separately for each archive, you can backup concurrently. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* nixos: tarsnap - separate archive cachedirsAustin Seipp2016-01-07
| | | | | | | | | | | | | | Tarsnap locks the cachedir during backup, meaning if you specify multiple backups with a shared cache that might overlap (for example, one backup may take an hour), secondary backups will fail. This isn't very nice behavior for the obvious reasons. This splits the cache dirs for each archive appropriately. Note that this will require a rebuild of your archive caches (although if you were only using one archive for your whole system, you can just move the directory). Signed-off-by: Austin Seipp <aseipp@pobox.com>
* nixos: tarsnap - make systemd timer persistentTanner Doshier2016-01-07
| | | | | | | | | | | | | | | A machine may not always be active (or online!) when a backup timer triggers, meaning backups can be missed - now we properly set the tarsnap timer's Persistent option so systemd will run the command even when the machine wasn't online at that exact time. However, we also need to make sure that we can contact the tarsnap server reliably before we start the backup. So, we attempt to ping the access endpoint in a loop with a sleep, before continuing. This fixes #8823. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Revert "nixos: tarsnap - separate archive cachedirs"Austin Seipp2016-01-07
| | | | | | | This reverts commit 5f0253ace683bae4c7989f4db167676dd0a507e7. I didn't intend to push this - I meant to push it to *my fork's* remote...
* nixos: tarsnap - separate archive cachedirsAustin Seipp2016-01-07
| | | | | | | | | | | | | | Tarsnap locks the cachedir during backup, meaning if you specify multiple backups with a shared cache that might overlap (for example, one backup may take an hour), secondary backups will fail. This isn't very nice behavior for the obvious reasons. This splits the cache dirs for each archive appropriately. Note that this will require a rebuild of your archive caches (although if you were only using one archive for your whole system, you can just move the directory). Signed-off-by: Austin Seipp <aseipp@pobox.com>
* nixos: sitecopy service: re-format descriptionsTobias Geerinckx-Rice2015-09-07
|
* nixos: bacula service: re-format descriptionsTobias Geerinckx-Rice2015-09-07
|
* types.uniq types.int -> types.intEelco Dolstra2015-06-15
| | | | types.int already implies uniqueness.