summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Andrew Engelbrecht [Tue, 19 Oct 2021 00:44:27 +0000 (20:44 -0400)]
exit if there is a missing dependency
Andrew Engelbrecht [Sun, 17 Oct 2021 17:23:49 +0000 (13:23 -0400)]
add underscore to variable name (for clarity)
the script will print a helpful error if the old variable name is used,
and so far, we're probably the only users of this script
Andrew Engelbrecht [Sun, 17 Oct 2021 17:20:15 +0000 (13:20 -0400)]
check for missing settings in kaya.conf
Andrew Engelbrecht [Sun, 17 Oct 2021 17:19:52 +0000 (13:19 -0400)]
Corrected capitalization of "Bash"
Andrew Engelbrecht [Fri, 15 Oct 2021 06:33:22 +0000 (02:33 -0400)]
indentation correction
Andrew Engelbrecht [Fri, 15 Oct 2021 06:01:58 +0000 (02:01 -0400)]
friendlier message about .htaccess file
Andrew Engelbrecht [Fri, 15 Oct 2021 05:41:04 +0000 (01:41 -0400)]
documentation changes
including SPDX identifier for license
Andrew Engelbrecht [Fri, 15 Oct 2021 05:24:12 +0000 (01:24 -0400)]
send protocol version # for checking compatibility
the protocol version number allows us to print errors about mismatched
versions if the client-server API changes in the future
Andrew Engelbrecht [Fri, 15 Oct 2021 04:57:22 +0000 (00:57 -0400)]
print error message if the passwd file is missing
Andrew Engelbrecht [Fri, 15 Oct 2021 04:45:49 +0000 (00:45 -0400)]
just say 32 seconds
> 30 seconds could seem much longer
Andrew Engelbrecht [Fri, 15 Oct 2021 04:43:03 +0000 (00:43 -0400)]
only touch .htpasswd file if it's missing
the touch command is simply for creating an empty file, to enable
storing the first password hash
Andrew Engelbrecht [Fri, 15 Oct 2021 04:37:25 +0000 (00:37 -0400)]
set password file to mode 400 after creating it
to discourage editing the file
Andrew Engelbrecht [Fri, 15 Oct 2021 04:19:45 +0000 (00:19 -0400)]
print error messages to stderr
Andrew Engelbrecht [Fri, 15 Oct 2021 03:02:02 +0000 (23:02 -0400)]
verify .htpasswd every time, update it if needed
the authoritative password lives in repo-password-keep, and if the
.htpasswd file is later deleted, is missing an entry for a host, or
contains invalid information, then the right thing to do is to add /
update the entry in .htpasswd. the script now does this.
Andrew Engelbrecht [Fri, 15 Oct 2021 02:12:05 +0000 (22:12 -0400)]
silence a file check, like above
Andrew Engelbrecht [Fri, 15 Oct 2021 02:10:37 +0000 (22:10 -0400)]
need to wait more than 30 sec after creating repos
The default reload interval on rest-server is 30 seconds, so I set the
time out to 2 seconds longer than that.
Andrew Engelbrecht [Fri, 15 Oct 2021 01:39:51 +0000 (21:39 -0400)]
minor tweaks to kaya-usage function
Ian Kelling [Thu, 14 Oct 2021 13:05:04 +0000 (09:05 -0400)]
documentation and style cleanup
Andrew Engelbrecht [Tue, 12 Oct 2021 04:22:39 +0000 (00:22 -0400)]
updated comment in kaya.conf
there are likely many other restic wrappers
Ian Kelling [Thu, 14 Oct 2021 11:42:34 +0000 (07:42 -0400)]
document and handle dependencies
Ian Kelling [Thu, 14 Oct 2021 11:42:48 +0000 (07:42 -0400)]
error handling for kaya-client
(With a rebase by Andrew. Don't print the password)
Ian Kelling [Thu, 14 Oct 2021 11:30:27 +0000 (07:30 -0400)]
bug fix, 400 file will result in permission denied
Ian Kelling [Wed, 13 Oct 2021 21:05:56 +0000 (17:05 -0400)]
make default port simpler
Ian Kelling [Wed, 13 Oct 2021 20:57:55 +0000 (16:57 -0400)]
readme: kaya.conf has no secrets, use default permissions
Ian Kelling [Wed, 13 Oct 2021 20:57:16 +0000 (16:57 -0400)]
readme: more likely to succeed install instructions
Ian Kelling [Wed, 13 Oct 2021 20:25:31 +0000 (16:25 -0400)]
pass ssh args in a correct safe way
(With rebasing by Andrew. I still want to send the password over stdout
so it doesn't appear in the process list of the host or the target).
Ian Kelling [Wed, 13 Oct 2021 20:09:49 +0000 (16:09 -0400)]
minor: consistently avoid unneded braces in conditions
Ian Kelling [Wed, 13 Oct 2021 20:08:39 +0000 (16:08 -0400)]
consistent simpler redirect
Ian Kelling [Wed, 13 Oct 2021 19:53:26 +0000 (15:53 -0400)]
fix conditionals so error will be raised on failure
Ian Kelling [Wed, 13 Oct 2021 19:52:36 +0000 (15:52 -0400)]
use local variables
Ian Kelling [Wed, 13 Oct 2021 19:46:44 +0000 (15:46 -0400)]
fix error message
Ian Kelling [Wed, 13 Oct 2021 19:45:17 +0000 (15:45 -0400)]
simplify check for positive int
Ian Kelling [Wed, 13 Oct 2021 19:43:30 +0000 (15:43 -0400)]
improve error handling
(With some rebased changes by Andrew. Trying to keep password variable
from printing to stdout, and therefore potentially email).
Ian Kelling [Wed, 13 Oct 2021 19:34:21 +0000 (15:34 -0400)]
minor: emacs auto indent
Andrew Engelbrecht [Tue, 12 Oct 2021 03:58:16 +0000 (23:58 -0400)]
more comments on security model
Andrew Engelbrecht [Tue, 12 Oct 2021 03:56:54 +0000 (23:56 -0400)]
notes on backup security
Andrew Engelbrecht [Tue, 12 Oct 2021 03:50:12 +0000 (23:50 -0400)]
updated design / security notes in readme
Andrew Engelbrecht [Tue, 12 Oct 2021 03:37:12 +0000 (23:37 -0400)]
reorganized installation instructions
Andrew Engelbrecht [Tue, 12 Oct 2021 03:22:26 +0000 (23:22 -0400)]
rewording of comment
Andrew Engelbrecht [Tue, 12 Oct 2021 03:21:31 +0000 (23:21 -0400)]
removed redundant code
Andrew Engelbrecht [Tue, 12 Oct 2021 03:10:38 +0000 (23:10 -0400)]
contributions are welcome
Andrew Engelbrecht [Tue, 12 Oct 2021 03:10:04 +0000 (23:10 -0400)]
improvements to info about Kaya
Andrew Engelbrecht [Tue, 12 Oct 2021 02:18:47 +0000 (22:18 -0400)]
spelling corrections in readme file
Andrew Engelbrecht [Tue, 12 Oct 2021 02:14:13 +0000 (22:14 -0400)]
various improvements to the documentation
Andrew Engelbrecht [Tue, 12 Oct 2021 02:05:41 +0000 (22:05 -0400)]
removed some redundant documentation
Andrew Engelbrecht [Tue, 12 Oct 2021 01:54:01 +0000 (21:54 -0400)]
resolve a linting warning
"$@" should be stored in arrays, not strings
Andrew Engelbrecht [Tue, 12 Oct 2021 01:01:25 +0000 (21:01 -0400)]
Added a README file
Andrew Engelbrecht [Tue, 12 Oct 2021 01:01:05 +0000 (21:01 -0400)]
changing the default backup path for now
Andrew Engelbrecht [Tue, 12 Oct 2021 01:00:38 +0000 (21:00 -0400)]
be more explicit about important file
Andrew Engelbrecht [Mon, 11 Oct 2021 23:56:08 +0000 (19:56 -0400)]
add more cli parameters, breakout into functions
Andrew Engelbrecht [Mon, 11 Oct 2021 22:28:34 +0000 (18:28 -0400)]
split some variables into a conf file
Andrew Engelbrecht [Mon, 11 Oct 2021 22:19:28 +0000 (18:19 -0400)]
Early version of Kaya, a restic backup wrapper
Andrew Engelbrecht [Mon, 11 Oct 2021 21:52:54 +0000 (17:52 -0400)]
added GPLv3 license text
Andrew Engelbrecht [Mon, 11 Oct 2021 18:58:23 +0000 (14:58 -0400)]
basic .gitignore file