1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-15 04:03:41 +01:00
Commit Graph

167 Commits

Author SHA1 Message Date
deajan
4ee20b130e Corrected wrong number of arguments checked for BackupDatabase sub functions 2016-12-23 18:02:03 +01:00
deajan
d48fe86d75 Another dev comment 2016-12-23 17:59:58 +01:00
deajan
85e680cc75 New __CheckArguments call syntax 2016-12-23 17:51:57 +01:00
deajan
7e63f1dab2 WIP for refactoring ListRemoteDirectories 2016-12-23 17:51:15 +01:00
deajan
39cfa7e89e WIP comment 2016-12-20 22:59:09 +01:00
deajan
47b6d21480 WIP for bootstrap 2016-12-20 22:53:22 +01:00
deajan
25fb362762 More work comments 2016-12-19 23:19:45 +01:00
deajan
6d6ea301aa Added TSTAMP suffix to tmp exec files 2016-12-19 23:02:19 +01:00
deajan
31eaee7993 Updated multiple comments and remote sudo execs 2016-12-19 22:57:21 +01:00
deajan
039e057915 Some minor improvements ported from osync 2016-12-04 11:17:51 +01:00
deajan
625a65bee0 Moved trap functions later in init phase 2016-11-30 14:21:53 +01:00
deajan
a527350afa Ported some fixes from osync 2016-11-30 13:59:15 +01:00
deajan
b156013598 Some Mac fixes from osync 2016-11-21 15:11:40 +01:00
deajan
b21fafd523 Fixed Android / CentOS 5 compat 2016-11-19 12:59:33 +01:00
deajan
6c9e4082be Simplified cleanup functions 2016-11-17 21:05:07 +01:00
deajan
3fe2f1eb88 Updated obackup according to new ofunctions 2016-11-17 21:01:09 +01:00
deajan
6f697cc63f Cosmetic change 2016-11-15 13:13:05 +01:00
deajan
03f93d2576 Added --errors-only switch 2016-11-14 17:17:29 +01:00
deajan
321a20558a fi-Fixed 2016-11-12 00:39:06 +01:00
deajan
3975763ed2 Fixed typo 2016-11-10 16:25:07 +01:00
deajan
6075b92c91 Some logging fixes 2016-11-10 16:18:29 +01:00
deajan
e4e1273e5a Implemented SSH_PASSWORD_FILE option 2016-10-23 18:04:39 +02:00
deajan
ba8541d5f0 More portable file size functions 2016-10-23 13:27:02 +02:00
deajan
2118a27bcc Better preflight check 2016-10-19 12:27:37 +02:00
deajan
cfbec5120b Fixed typo 2016-09-09 08:31:16 +02:00
deajan
a35edebafc Check for gpg recipient if encryption is used 2016-09-09 08:14:29 +02:00
deajan
25cb702d22 Better GPG compatibility 2016-09-04 22:48:09 +02:00
deajan
8924ae31ff Still trying to resolve the mystery of GPG in travis 2016-09-04 22:34:42 +02:00
deajan
c6f386bf01 Trying to resolve Travis GPG mystery 2016-09-04 22:25:24 +02:00
deajan
5a8d1ab811 Another typo bites the dust 2016-09-04 22:05:01 +02:00
deajan
e59fcdbe15 Re enabled gpg fix 2016-09-04 21:51:26 +02:00
deajan
93dbcb4f74 Common travis run 2016-09-04 21:26:19 +02:00
deajan
176564769c Mismatch in loglevels 2016-09-04 21:16:32 +02:00
deajan
e741aa6bc2 Fixed typo 2016-09-04 19:42:22 +02:00
deajan
099575fb88 Work in progress on encrpytion 2016-09-04 09:30:12 +02:00
deajan
2346594adc Kept IsNumeric expand for variable variables 2016-09-03 13:30:38 +02:00
deajan
cd3da2d589 Added Integer test function 2016-09-03 13:10:14 +02:00
deajan
cf8f3f20ef Minor fixes 2016-09-02 23:20:07 +02:00
deajan
3134131975 Made tee work with push command 2016-09-02 20:32:17 +02:00
deajan
dd42cd08b0 Fixed problem with gpg 1 2016-09-02 16:33:23 +02:00
deajan
2ce18fb721 Fix paths 2016-09-02 15:53:39 +02:00
deajan
2f7cea1736 Bumped program build 2016-09-02 13:14:30 +02:00
deajan
694b73983a Fixed encryption paths 2016-09-02 12:16:25 +02:00
deajan
6647a7be59 WIP: making encryption coherent 2016-09-01 22:55:11 +02:00
deajan
35c7dc97c2 Multiple typo fixes 2016-09-01 22:15:16 +02:00
deajan
66babd22fa Fixed paths 2016-09-01 20:32:38 +02:00
deajan
758f074d65 Fixed typo 2016-09-01 17:27:53 +02:00
deajan
92258308fe Encryption implemented 2016-09-01 16:07:20 +02:00
deajan
672672af2b Code cleanup 2016-09-01 15:50:29 +02:00
deajan
67b42842db Added encryption support for SQL backups 2016-09-01 15:44:29 +02:00
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