Commit Graph

43 Commits

Author SHA1 Message Date
Asif Bacchus 276de6d890 style(script): reformat and fix typos
- reformat spacing, indentation
- fix spelling mistakes
- change textblock functions to camelCase
- add shellcheck exceptions
2021-05-15 10:09:15 -06:00
Asif Bacchus a4221ae6e4 refactor(script): used fixed export location
- previous random name made full restore virtually impossible
- use one container directory to make full restore easy
- store each backup in timestamped subdirectory for easy
incremental restore
2021-05-15 09:59:42 -06:00
Asif Bacchus f87a2356a5 chore: update readme, remove vscode dir 2021-05-15 09:50:56 -06:00
Asif Bacchus 75368e108b update licence and export prefs 2020-08-14 00:44:51 -06:00
Asif Bacchus d0e8eca1d6 add keyfile to details file 2020-08-14 00:43:47 -06:00
Asif Bacchus b6ce0fc673 add keyfile support 2020-08-14 00:42:00 -06:00
Asif Bacchus 6fc82aac83 cleanup printf formatting 2020-08-14 00:39:23 -06:00
Asif Bacchus 760399a0fd update scriptHelp 2020-08-14 00:20:49 -06:00
Asif Bacchus 868398858e add defaults text formatting function 2020-08-14 00:10:48 -06:00
Asif Bacchus 44e57df831 func trapExit: cleanup printf formatting 2020-08-14 00:03:32 -06:00
Asif Bacchus bbea5e871c add textblock formatting functions 2020-08-14 00:02:36 -06:00
Asif Bacchus e74971997f funcs cleanup, exitError: printf formatting 2020-08-14 00:00:09 -06:00
Asif Bacchus ffc7579666 func badParam: proper printf formatting 2020-08-13 23:53:51 -06:00
Asif Bacchus acec0d6b23 check for tput before setting formatting 2020-08-13 23:51:36 -06:00
Asif Bacchus 5b1678c6ae set term to dummy for cron, update path 2020-08-13 23:48:52 -06:00
Asif Bacchus 3f08853826 update logwatch integration 2019-07-30 02:27:09 -06:00
Asif Bacchus c01ea25ed1 update sample logrotate config 2019-07-30 02:26:07 -06:00
Asif Bacchus 698c19b8ed update sample backup file locations 2019-07-30 02:25:17 -06:00
Asif Bacchus 702e039e11 fix errant filename 2019-07-26 06:01:44 -06:00
Asif Bacchus e495b65b24 check for root 2019-07-26 02:33:57 -06:00
Asif Bacchus ebc77e8137 test for pilerexport and use found full path 2019-07-26 02:29:05 -06:00
Asif Bacchus 5dff2a6919 logwatch configuration 2019-07-26 01:25:03 -06:00
Asif Bacchus 224ddd931d sample logrotate config 2019-07-26 01:15:29 -06:00
Asif Bacchus 034d12a85e new directory structure 2019-07-26 01:14:18 -06:00
Asif Bacchus 0de191f904 add simple 503 error page 2019-07-26 01:13:29 -06:00
Asif Bacchus 171cdbe676 clean up spacing errors for success msg in log 2019-07-25 13:10:59 -06:00
Asif Bacchus e273f3274c fix permissions command structure error 2019-07-25 13:06:49 -06:00
Asif Bacchus 8fb80564dd fix incorrect permission assignment on tmp dir 2019-07-25 12:57:15 -06:00
Asif Bacchus f12aa53e54 move export user notifications 2019-07-25 12:46:31 -06:00
Asif Bacchus 257667f12a grant pilerUser permission to write to tmp dir 2019-07-25 12:42:20 -06:00
Asif Bacchus 9c8c250318 change 'cd exportDir' error code 2019-07-25 12:42:02 -06:00
Asif Bacchus 649d162d4c add piler user param and err check 2019-07-25 12:30:11 -06:00
Asif Bacchus c3aa35ab15 fix error in tmp directory removal cmd 2019-07-25 12:16:09 -06:00
Asif Bacchus 2380d19a0d change default start/end to yesterday 2019-07-25 12:11:38 -06:00
Asif Bacchus 775e2feb2b remove seafile references from sample details file 2019-07-25 12:08:08 -06:00
Asif Bacchus 90f8118db5 additional files to backup -- sample default 2019-07-25 02:56:32 -06:00
Asif Bacchus ccbd7541c2 set proper borg backup source paths 2019-07-25 00:56:49 -06:00
Asif Bacchus 62652f63ba update script help 2019-07-25 00:49:31 -06:00
Asif Bacchus 8a747a2eaf add export date params and defaults 2019-07-25 00:41:23 -06:00
Asif Bacchus 6944db98d4 add email export and cleanup 2019-07-25 00:26:42 -06:00
Asif Bacchus f268a2b6b5 basic script skeleton from seafileBackup source 2019-07-25 00:03:32 -06:00
Asif Bacchus 25c54fce7b setup repo 2019-07-24 23:43:08 -06:00
Asif Bacchus df6e651f0c Initial commit 2019-07-24 23:41:37 -06:00