Commit Graph

556 Commits

Author SHA1 Message Date
Michael Stanclift
1092db143e z variable 2020-07-16 11:44:20 -05:00
Michael Stanclift
a994652b2b ping avoid and custom ssh prompts 2020-07-16 11:37:06 -05:00
Michael Stanclift
fb23d48296 color restore 2020-07-12 10:27:15 -05:00
Michael Stanclift
e2acade063 Log backup jobs 2020-07-12 10:26:07 -05:00
Michael Stanclift
dd5e7a63b5 star trek reference 2020-07-12 09:24:45 -05:00
Michael Stanclift
d4276042b5 select different files for restore 2020-07-12 09:20:58 -05:00
Michael Stanclift
ad1f758384 if 2020-07-11 21:15:01 -05:00
Michael Stanclift
8e78bca575 beta updater 2020-07-11 21:12:21 -05:00
Michael Stanclift
bc75664129 load previous md5 for compare 2020-07-11 21:06:06 -05:00
Michael Stanclift
90ea491d9e comment out warning on recheck 2020-07-11 21:01:21 -05:00
Michael Stanclift
985ce62355 settime 2020-07-11 20:50:59 -05:00
Michael Stanclift
ac8e638998 adjust md5 hash checking 2020-07-11 20:48:51 -05:00
Michael Stanclift
0617525e64 extra quotes 2020-07-11 18:46:29 -05:00
Michael Stanclift
668475c103 beta mode in changelog 2020-07-11 18:42:22 -05:00
Michael Stanclift
a158a2d042 betamode 2020-07-11 18:34:22 -05:00
Michael Stanclift
624ab9aab7 New backup and copy method 2020-07-11 15:33:35 -05:00
Michael Stanclift
78f97716a8 backup remote grav 2020-07-11 15:17:27 -05:00
Michael Stanclift
9b7d536977 Updates 2020-07-11 14:55:03 -05:00
Michael Stanclift
e14588add5 breakup into functions 2020-07-11 14:42:52 -05:00
Michael Stanclift
39aea0d602 2.1.2 2020-07-11 10:04:40 -05:00
Michael Stanclift
4eacab6fa7 2.1.1 2020-07-11 08:53:04 -05:00
Michael Stanclift
ac7a897f10 2.0.1 2020-07-11 08:50:32 -05:00
Michael Stanclift
2f57ab6d69 warn for dbclient 2020-07-10 23:34:54 -05:00
Michael Stanclift
63cf87c1dc then 2020-07-10 23:15:51 -05:00
Michael Stanclift
87f1a0fd37 Push back 2020-07-10 23:15:28 -05:00
Michael Stanclift
a284d3b4d2 restore function 2020-07-10 22:58:43 -05:00
Michael Stanclift
958aa017f8 wrong variable 2020-07-10 22:33:31 -05:00
Michael Stanclift
2c31da31e4 automate backups 2020-07-10 22:32:32 -05:00
Michael Stanclift
693ca75715 Backup cleanup 2020-07-10 22:19:28 -05:00
Michael Stanclift
bc08ed3fa6 backup retention variable 2020-07-10 22:13:49 -05:00
Michael Stanclift
043928237f backup status 2020-07-10 21:57:04 -05:00
Michael Stanclift
54ba8dab34 date format 2020-07-10 21:47:40 -05:00
Michael Stanclift
248536417b backup 2020-07-10 21:43:05 -05:00
Michael Stanclift
23a6ceed3a 2.0.2 2020-07-09 10:42:09 -05:00
Michael Stanclift
201807bc4d Warn instead of info 2020-07-09 10:10:25 -05:00
Michael Stanclift
270b354e80 Messages 2020-07-09 10:06:55 -05:00
Michael Stanclift
e725ab7f5d New rsync validation method 2020-07-09 10:02:51 -05:00
Michael Stanclift
c13ca47f06 0 2020-07-08 21:23:15 -05:00
Michael Stanclift
34f47c1267 rewrite check 2020-07-08 21:18:13 -05:00
Michael Stanclift
49a9198a51 Sed 2020-07-08 21:00:03 -05:00
Michael Stanclift
e10c202601 Thing down flip it and reverse it 2020-07-08 20:55:59 -05:00
Michael Stanclift
dc75b2b7ae bracket 2020-07-08 20:53:20 -05:00
Michael Stanclift
4d824c54eb Check for rsync on remote host 2020-07-08 20:48:53 -05:00
Michael Stanclift
c8955d0ecf Correct output of argument listing 2020-07-08 09:48:24 -05:00
Michael Stanclift
d46b2f5a9a " 2020-07-08 09:32:20 -05:00
Michael Stanclift
583c7c8400 2.0.0 2020-07-07 15:37:20 -05:00
Michael Stanclift
6fe6a46794 BAH 2020-07-07 15:21:58 -05:00
Michael Stanclift
95dd3d5634 missing $ 2020-07-07 15:19:59 -05:00
Michael Stanclift
d5ededce12 checks for history_md5 existing 2020-07-07 15:15:42 -05:00
Michael Stanclift
c7a6ba4f69 extra letter 2020-07-07 15:00:08 -05:00
Michael Stanclift
d3966191f0 checks dates 2020-07-07 14:55:52 -05:00
Michael Stanclift
c604697d54 logic insert 2020-07-07 14:29:38 -05:00
Michael Stanclift
1ef5fec676 building both sides check 2020-07-07 14:26:45 -05:00
Michael Stanclift
c0b594b2bc No r 2020-06-29 16:08:27 -05:00
Michael Stanclift
3114f72e4c recheck 2020-06-29 16:08:06 -05:00
Michael Stanclift
0e72da570f Recompare 2020-06-29 16:06:28 -05:00
Michael Stanclift
fa270aff67 Validate changes 2020-06-29 15:50:58 -05:00
Michael Stanclift
adb63debc1 Full sync logic 2020-06-29 15:49:16 -05:00
Michael Stanclift
5cee345ee9 Automate update 2020-06-29 14:42:53 -05:00
Michael Stanclift
9abf85c3f7 HISTORY_MD5 2020-06-29 14:03:47 -05:00
Michael Stanclift
570d8fc86d Oops 2020-06-29 13:48:54 -05:00
Michael Stanclift
afc33c5429 Break up push and pull into more subfunctions 2020-06-29 13:41:54 -05:00
Michael Stanclift
c229d5e12e No changes detected 2020-06-29 13:04:38 -05:00
Michael Stanclift
06338d6a77 Comparison logic 2020-06-29 12:57:13 -05:00
Michael Stanclift
339d5a456f Mark hashes 2020-06-29 09:25:14 -05:00
Michael Stanclift
37fd78858d Import last hashes 2020-06-29 09:21:50 -05:00
Michael Stanclift
75eb9c7695 Write hashes from log out 2020-06-29 08:47:09 -05:00
Michael Stanclift
f7a1ec367e Building out smart sync 2020-06-28 22:23:43 -05:00
Michael Stanclift
2842eea71e 0 to disable 2020-06-22 10:35:42 -05:00
Michael Stanclift
33d71dc7c8 range 2020-06-22 10:34:20 -05:00
Michael Stanclift
459c714f2d nevermind 2020-06-22 10:33:24 -05:00
Michael Stanclift
016dc64cf2 skip the checks 2020-06-22 10:32:45 -05:00
Michael Stanclift
5bb0a1012a Cronexist=0 2020-06-22 10:30:49 -05:00
Michael Stanclift
e27a93905a comments 2020-06-22 10:27:30 -05:00
Michael Stanclift
c0e4880467 more specific 2020-06-22 10:20:38 -05:00
Michael Stanclift
45fba8428f out to files 2020-06-22 10:19:54 -05:00
Michael Stanclift
f7eeb41d97 space? 2020-06-22 10:17:28 -05:00
Michael Stanclift
d20e22bb68 cron exist 2020-06-22 10:16:44 -05:00
Michael Stanclift
cacedf20fa then 2020-06-22 10:14:49 -05:00
Michael Stanclift
3179d31512 sed 2020-06-22 10:14:01 -05:00
Michael Stanclift
d7c6b62271 1-30 2020-06-22 10:10:24 -05:00
Michael Stanclift
dd379e7ae5 Remove existing cron 2020-06-22 10:04:48 -05:00
Michael Stanclift
2915a8c49e input 2020-06-22 09:54:29 -05:00
Michael Stanclift
d2f14f63c3 -gt 2020-06-22 09:52:03 -05:00
Michael Stanclift
d434485b2c Add dev version output 2020-06-22 09:45:35 -05:00
Michael Stanclift
52e547fa4f 1.8.3 2020-06-22 09:42:04 -05:00
Michael Stanclift
e233a42daa 1.8.2 2020-06-11 21:35:20 -05:00
Michael Stanclift
e725363595 Fix for no custom.list locally not replicating 2020-06-11 21:24:12 -05:00
Michael Stanclift
f908739ae1 Remove esc check 2020-06-11 21:08:13 -05:00
Michael Stanclift
1f3aac8142 Hide output 2020-06-03 18:14:16 -05:00
Michael Stanclift
db546425ff Check for sudo ability 2020-06-03 18:12:07 -05:00
Michael Stanclift
64afbd4e8d 1.8.1 2020-06-03 15:52:36 -05:00
Michael Stanclift
c8207a48e1 Root function 2020-06-03 15:47:20 -05:00
Michael Stanclift
71827c613a Must not run as root 2020-06-03 15:45:41 -05:00
Michael Stanclift
0ff690a2f0 check for root 2020-06-03 15:43:36 -05:00
Michael Stanclift
99e04ffa08 1.8.0(1) 2020-06-03 15:15:45 -05:00
Michael Stanclift
3810b67808 Back to awk 2020-06-03 15:12:39 -05:00
Michael Stanclift
44f9f70cef Some day I'll understand how quotes work in bash 2020-06-03 15:09:26 -05:00
Michael Stanclift
8c4b3a1268 sed instead of awk 2020-06-03 15:06:03 -05:00
Michael Stanclift
2616ab5987 Remove unconditional connection 2020-06-03 14:53:09 -05:00