Asif Bacchus
c73a3b8531
style: cleanup formatting, spelling
...
- use project-custom dictionary
- cleanup spelling mistakes
- rename functions to conform with camelCase for spellcheck
- reformat file: spacing, indentation
2021-05-15 09:15:57 -06:00
Asif Bacchus
8b201ca047
feature(add option for separate keyfile):
2021-05-15 09:05:04 -06:00
Asif Bacchus
a86f13a1e5
perf: run help automatically as needed
2021-05-15 08:58:39 -06:00
Asif Bacchus
7b87c246c3
struct: update mod time, remove vscode dir
2021-05-15 08:58:13 -06:00
Asif Bacchus
29ab2c11a3
derive restorePath abs path
...
Fixes the touch.test removal error and is more robust in commands.
2020-03-27 02:59:17 -06:00
Asif Bacchus
37bd4e69c6
Merge branch 'master' of https://git.asifbacchus.app/asif/borgScripts
2020-03-27 00:36:41 -06:00
Asif Bacchus
d000369b7d
add file/pattern search to archive contents list
2020-03-27 00:36:35 -06:00
Asif Bacchus
d29dec95e2
only create restorePath if operation is 'restore'
2020-03-26 08:06:01 -06:00
Asif Bacchus
f18de4f411
update readme
2020-03-26 06:55:46 -06:00
Asif Bacchus
d6eae39603
remove unused 'yellow' var
2020-03-26 06:50:07 -06:00
Asif Bacchus
8331ff712c
add header comment and disclaimer
2020-03-26 06:49:08 -06:00
Asif Bacchus
7cc69a616a
create restorePath if it does not exist
2020-03-26 06:44:38 -06:00
Asif Bacchus
cfd7d6ede0
remove write-test file in restorePath
2020-03-26 06:43:38 -06:00
Asif Bacchus
4dc77ca3ae
update error code list
2020-03-26 06:30:56 -06:00
Asif Bacchus
71b77857a6
add in-script help
2020-03-26 06:27:34 -06:00
Asif Bacchus
9ef05505a6
make sample borgvars file
2020-03-26 05:49:23 -06:00
Asif Bacchus
846789efe7
restore root-check
2020-03-26 05:43:10 -06:00
Asif Bacchus
ff98225921
process exclusions
2020-03-26 05:40:23 -06:00
Asif Bacchus
bcb6c9c5ef
fix option string spacing issues, unquote them!
2020-03-26 05:37:03 -06:00
Asif Bacchus
91359306aa
make operations mutually exclusive
2020-03-26 04:44:29 -06:00
Asif Bacchus
7bd6f369e7
add info operations
2020-03-26 04:43:27 -06:00
Asif Bacchus
39f519a67e
add progress and file-list options as switches
2020-03-26 04:40:36 -06:00
Asif Bacchus
f80a66439c
add restore operation
2020-03-26 04:33:16 -06:00
Asif Bacchus
07fdd04754
perform list operations
2020-03-26 04:07:37 -06:00
Asif Bacchus
dc75c0afea
exit gracefully, list exit codes
2020-03-26 04:02:05 -06:00
Asif Bacchus
8eb2c07785
change error code for failing to remove tmp dir
2020-03-26 04:01:54 -06:00
Asif Bacchus
7f2f054ebc
catch if tmp dir cannot be removed
2020-03-26 04:01:15 -06:00
Asif Bacchus
5254dba0bf
create tmp dir and clean up after
2020-03-26 03:56:23 -06:00
Asif Bacchus
515e57e4f3
change no borg repo passwd identifier
2020-03-26 03:46:48 -06:00
Asif Bacchus
099be9ff89
wrong operation name in preflight check
2020-03-26 03:46:31 -06:00
Asif Bacchus
ba58997b9f
don't use tput if it's not installed
2020-03-26 03:25:54 -06:00
Asif Bacchus
02a27f55a1
check borgvars file
2020-03-26 03:08:22 -06:00
Asif Bacchus
581f69f429
check for non specified borgvars file
2020-03-26 02:49:20 -06:00
Asif Bacchus
4d1b3a2a65
read configuration file
2020-03-26 02:47:52 -06:00
Asif Bacchus
13bb16bfda
fix missing wildcard
2020-03-26 02:47:26 -06:00
Asif Bacchus
3a0423ad49
add trap handling
2020-03-26 02:43:00 -06:00
Asif Bacchus
7838b0c6e0
preflight checks
2020-03-26 02:35:30 -06:00
Asif Bacchus
3fc67f9fe3
fix missing equal sign on assignment
2020-03-26 02:34:58 -06:00
Asif Bacchus
5836cbd7e7
add restore operation option
2020-03-26 02:25:51 -06:00
Asif Bacchus
65bfe96b68
basic script setup
2020-03-26 02:21:59 -06:00
Asif Bacchus
702e4e6d10
update ignore list
2020-03-26 02:01:55 -06:00
Asif Bacchus
cb303a58a5
initial setup
2020-03-26 01:46:44 -06:00
Asif Bacchus
bce1d63c9b
Initial commit
2020-03-26 01:44:04 -06:00