Commit Graph

85 Commits

Author SHA1 Message Date
Heavybullets8
3eb9a1a28c self update fixes 2022-07-20 06:38:51 -06:00
Heavybullets8
d3fe6a6954 fix self update 2022-07-20 06:35:32 -06:00
Heavybullets8
9241f27c2d quoting 2022-07-20 06:29:29 -06:00
Heavybullets8
31c1c7cd9b quoting var 2022-07-20 06:20:40 -06:00
Heavybullets8
2b8a4f1593 remove whitespace 2022-07-20 06:18:58 -06:00
Heavybullets8
e696674486 self update + regex fixes 2022-07-20 06:16:33 -06:00
Heavybullets8
61b8ab3444
Typo in --help 2022-06-22 22:33:34 -06:00
Heavybullets8
ca455cd9a5
cleanup
add git reset in the event a user chmod +x the script.
remove continue from if statement.. it didn't do anything
2022-06-14 23:28:13 +00:00
Heavybullets8
4d34c42f38
remove whitespace 2022-06-13 22:23:34 +00:00
Heavybullets8
b984d2873e
typo in readme 2022-06-13 22:22:29 +00:00
Heavybullets8
893004fe58 add self update option 2022-06-13 16:20:35 -06:00
Heavybullets8
e325ab0a3a
fix DNS regex
Exclude dependency pods unless they were launched with custom-app.
2022-06-13 04:48:10 +00:00
Heavybullets8
8e8f46f4a3
typo in --help 2022-06-12 19:35:10 +00:00
Heavybullets8
85fd3bd672
Merge pull request #6 from Heavybullets8/beta
Merge beta with Main
2022-06-11 19:47:34 +00:00
Heavybullets8
9f741e4742 more indentation 2022-06-11 02:02:07 -06:00
Heavybullets8
c89b217943 remove un-needed indentation 2022-06-11 01:39:44 -06:00
Heavybullets8
45127be73a code cleanup 2022-06-11 00:13:09 -06:00
Heavybullets8
9e429e2a5b remove arg check & readme 2022-06-10 22:41:55 -06:00
Heavybullets8
6469dab7c4 fix help & add read prompt timer 2022-06-10 22:38:50 -06:00
Heavybullets8
b21c2703f3 fix readme again 2022-06-10 20:10:27 -06:00
Heavybullets8
3c42621a95 delete backup readme 2022-06-10 20:04:52 -06:00
Heavybullets8
23858a2a81 delete restore point option 2022-06-10 19:48:34 -06:00
Heavybullets8
d2beb15cfe spacing? 2022-06-10 15:37:59 -06:00
Heavybullets8
ab0fdc24ac readme + help cleanup 2022-06-10 15:37:20 -06:00
Heavybullets8
37be0a61c1 table of contents 2022-06-10 15:25:16 -06:00
Heavybullets8
8a2ec69b75 update readme + script 2022-06-10 14:32:39 -06:00
Heavybullets8
6d1a9fc77b longopts + dns + refactor 2022-06-10 13:40:35 -06:00
Heavybullets8
5d872c952f commit to beta 2022-06-10 13:36:13 -06:00
Heavybullets8
3317a1fb33 fix mounting regex 2022-06-09 13:56:28 -06:00
Heavybullets8
addef531db
cleanup
remove "continue" in unmount feature. Was no longer needed after previous commit.
2022-06-07 00:17:58 +00:00
Heavybullets8
dbfe7f2bb8 regex improvements 2022-06-06 18:10:39 -06:00
Heavybullets8
b013b09204
Update Readme 2022-06-05 21:50:10 +00:00
Heavybullets8
334a22ea1d
Remove redundant lines in -h 2022-05-18 03:43:24 +00:00
Heavybullets8
e34c913651
Merge pull request #5 from Heavybullets8/testing
various fixes/optimizations
2022-05-18 03:36:12 +00:00
Heavybullets8
920ec3c631 various fixes/optimizations 2022-05-17 21:31:55 -06:00
Heavybullets8
b03925de10
Merge pull request #4 from Heavybullets8/testing
Tested Changes
2022-05-16 23:52:48 +00:00
Heavybullets8
b4a53bcddb misc changes 2022-05-16 17:49:48 -06:00
Heavybullets8
dc10af1798 minor bugfixes 2022-05-14 12:25:00 -06:00
Heavybullets8
71a2a49cc0
remove ascii from updates. Looked awful in email :( 2022-05-14 00:09:35 +00:00
Heavybullets8
7657fea1e0
Merge pull request #3 from Heavybullets8/testing
fix various issues
2022-05-13 23:46:17 +00:00
Heavybullets8
0176e2c319 fix various issues 2022-05-13 17:40:15 -06:00
Heavybullets8
68839dac67
Merge pull request #2 from Heavybullets8/testing
Changes from testing to main
2022-05-13 17:05:30 +00:00
Heavybullets8
22c454c326
close update functino if no updates 2022-05-13 16:46:15 +00:00
Heavybullets8
fb7b631693 remove need to rev sort 2022-05-12 08:54:48 -06:00
Heavybullets8
62f1e0a9c2 fix out of order deletion 2022-05-12 08:41:18 -06:00
Heavybullets8
683e8b4d62
Safety Checks
1. Ensure number of backups is AT LEAST 1. Im assuming a value of 0 would be user error.. so we want to ensure we have at least one backup

2. Make restore function use the same sorting method. Which ignores all words, only uses the values. 

3. Changed mountpoint from `/temporary` to `/heavyscript`
Hopefully to avoid any issues of users using /temporary for ANY other reason..

4. Add a safety check within the unmount feature..
Before, there was a possibility users could have two applications, on separate pools, the script would try to mount to both of them. Obviously this is an issue.
So we added a newline count, if the find command finds more than one entry for an application, use the slower, but more reliable method of checking the users current application pool, attempt to mount the application instance that exists on that pool.

5. If user tries using '-r' and '-m' at the same time, report an error and exit. Those two functions cannot be used at the same time..
2022-05-12 04:28:27 +00:00
Heavybullets8
1edff4f384
Re-arrange function calls 2022-05-12 01:28:36 +00:00
Heavybullets8
93e155c0f0
Verbose information README 2022-05-12 01:15:28 +00:00
Heavybullets8
9c6312c3e9 restore + mount cleanup 2022-05-10 20:53:01 -06:00
Heavybullets8
e6250239c4 start # line from 1 in Restore Function 2022-05-10 20:10:26 -06:00