Commit Graph

167 Commits

Author SHA1 Message Date
deajan 5ca743f7da Added crypt disk space calculation 2016-09-01 15:11:56 +02:00
deajan 1c88c73b5c WIP: encrypt & decrypt functions working 2016-09-01 14:37:01 +02:00
deajan 084fd91005 Work in progress for encryption 2016-08-31 23:32:21 +02:00
deajan f74aad596d Changed --database since it's deprecated 2016-08-31 12:27:53 +02:00
deajan 0127da6ac3 Added more mysqldump flexibility 2016-08-31 11:15:12 +02:00
deajan a9077af7bb Minor fixes 2016-08-30 18:11:54 +02:00
deajan 8c17c2dfe2 Added ~ expansion 2016-08-30 15:36:08 +02:00
deajan cf908c4fab Replaced 0/1 with booleans 2016-08-29 18:27:12 +02:00
deajan 9cfcf338e1 SendAlert now triggered as last action 2016-08-26 15:09:01 +02:00
deajan 809e6a1d4f Improved logging output 2016-08-26 12:28:53 +02:00
deajan e966682ecc Fixed double time check in database backup 2016-08-26 11:57:55 +02:00
deajan fc84c633a8 Work in progress for encryption 2016-08-26 11:55:58 +02:00
deajan 0d4664cae0 Fixed typo 2016-08-22 08:32:56 +02:00
deajan 775866b62d Fixed RunAfterHook exec + signal posix compliance 2016-08-22 08:25:31 +02:00
deajan 37b94c6712 Adapted parameters for WaitFor function 2016-08-18 22:15:08 +02:00
deajan bda19b3822 Finally fixed all space related errors 2016-08-18 12:58:05 +02:00
deajan f6c916f6ef Fixed infamous typo 2016-08-18 11:05:30 +02:00
deajan 9f6e676a9a Fixed GetDirectoriesSize...again 2016-08-18 10:58:35 +02:00
deajan a6be969081 Fixed spaces in backup dirs 2016-08-18 10:18:56 +02:00
deajan 2d49c957de Fixed backup rotation bug introduced with code rework 2016-08-17 15:27:40 +02:00
deajan a84a8c95f9 Standarised exit codes 2016-08-17 10:01:27 +02:00
deajan a74e83185a Fixed double backup path in rotate functions 2016-08-17 09:20:52 +02:00
deajan 01ddddcb49 Added keep logging preflight check 2016-08-17 09:14:09 +02:00
deajan 9fe0aa3546 Fixed double RunAfterHook launch 2016-08-16 23:19:01 +02:00
deajan cccb358373 Moved keep logging back to ofunctions 2016-08-16 22:37:36 +02:00
deajan cd35771399 Added keep logging argument 2016-08-16 21:23:57 +02:00
deajan 4e95245374 Ignoring backup size should give size -1Ko 2016-08-15 11:52:55 +02:00
deajan 2d3ce5cd6f Rebuilt targets 2016-08-15 10:29:13 +02:00
deajan ec5720623d Added shellcheck wrapper for debug env 2016-08-08 18:55:22 +02:00
deajan 7b378dafb7 Added missing -r to read 2016-08-08 18:43:35 +02:00
deajan 40af118c1e Rebuilt targets 2016-08-08 16:35:11 +02:00
deajan 6fb84d1441 Fixed wrong variable names 2016-08-08 00:10:28 +02:00
deajan dbe0020c85 Fixed wrong variable names 2016-08-08 00:03:19 +02:00
deajan 88a927c0b4 Refactor wait functions 2016-08-07 23:45:40 +02:00
deajan 9ef1841543 Bumped version to dev 2016-08-06 14:04:35 +02:00
deajan 69d1729b2e Begin code rewrite 2016-08-06 14:02:52 +02:00
deajan 8828a21741 Added new logger prefix option 2016-08-06 13:53:12 +02:00
deajan 200b0a8685 Bumped version to 2.0 2016-08-06 13:42:25 +02:00
deajan b1c6aeb6fc Fixed mysqldump error codes not honored 2016-07-19 13:28:16 +02:00
deajan 557738a5e5 Code cleanup 2016-07-19 12:58:05 +02:00
deajan 7a7a7c08bc Fixed regression for Mac/BSD 2016-05-26 11:11:43 +02:00
deajan 5808e87057 Bumped version to v2.0-RC1 2016-05-25 20:11:37 +02:00
deajan 2c51055209 More debugging love for KillChilds 2016-04-12 09:41:16 +02:00
deajan d0982a6cf6 Added more preflight checks 2016-04-06 21:02:33 +02:00
deajan 15d3d98164 Added an option to run after exec cmd on error 2016-04-06 20:47:04 +02:00
deajan 9d057ea95f Made logging begin before remote checks 2016-04-06 20:41:58 +02:00
deajan 4ad99413f4 Added userland logging 2016-04-06 20:40:20 +02:00
deajan 38c39360b7 Added pre-flight check for SSH_IGNORE_KNOWN_HOSTS 2016-03-31 10:54:24 +02:00
deajan 60266c40a6 Fixed bogus SSH_OPTS variable 2016-03-31 10:02:42 +02:00
deajan 234fcd9887 Fixed not using remote find cmd defined by InitRemoteOSSettings 2016-03-18 19:20:28 +01:00
deajan d2ab111f90 Improved mail sending 2016-03-03 16:33:59 +01:00
deajan 192e1d2f65 Added instance run check. 2016-03-03 16:06:27 +01:00
deajan 6eea38afdf Fixed rsync options placement 2016-03-01 20:11:38 +01:00
deajan 18f530ce0c Raised soft exec time for RotateCopies 2016-03-01 19:35:40 +01:00
deajan 42a86c116d Typo fixing and shellcheck pass 2016-02-19 22:14:13 +01:00
deajan 0096fe81c8 Minor adapts from osync 2016-02-16 21:09:57 +01:00
deajan 6cd1815ed9 Added include patterns to backup 2015-11-28 12:48:19 +01:00
deajan 954606b8ba Fixed bogus directory creation in some backup cases 2015-11-21 13:22:14 +01:00
deajan 61a70b1ba5 Fixed ofunctions.sh path 2015-11-19 23:05:59 +01:00
deajan 4b2b99d016 Revert "Fixed ofunctions path"
This reverts commit 896eb0b650.
2015-11-19 23:04:02 +01:00
deajan 896eb0b650 Fixed ofunctions path 2015-11-19 23:03:18 +01:00
deajan da043ed3ae Added remote dir creation before file backup. 2015-11-19 22:14:15 +01:00
deajan 213b2de002 Fixed sudo not necessary on local commands 2015-11-18 10:52:43 +01:00
deajan 013fbdf000 Added file / sql backup rotation distinction 2015-11-16 12:52:15 +01:00
deajan 87dd950199 Fixed wrong file size detection 2015-11-15 14:47:20 +01:00
deajan 3b17f127cf Fixed remote rotation for filenames containing spaces 2015-11-15 12:20:42 +01:00
deajan 197f3036d1 Initial v2.0 upload 2015-11-12 01:26:38 +01:00