39 Commits

Author SHA1 Message Date
cimryan
5ac737bdba Add logging to mountability verification. 2018-11-04 07:15:24 -08:00
cimryan
35d62917ab Add missing $. 2018-11-03 22:28:53 -07:00
cimryan
cb528de152 Move archiveloop.log to /mutable, and add primitive log rotation. 2018-11-03 22:01:48 -07:00
cimryan
c7d6d42792 Pass $ARCHIVE_HOST_NAME to archive-is-reachale.sh 2018-11-03 20:16:33 -07:00
cimryan
357a70d75f Move installation of the hping3 package to run/cifs_archive/verify-archive-configuration.sh 2018-11-03 18:05:53 -07:00
cimryan
2a463ba40b Move installation of the CIFS package to run/cifs_archive/configure-archive.sh
Don't need hping3 for other systems.

Keep the reconfiguration of the packages that is done specifically for making the root file system read-only in make-root-fs-readonly.sh.
2018-11-03 17:43:35 -07:00
cimryan
2eec8864c8 Testing for archive reachability is different for each archive system, but necessary for all systems. 2018-11-03 17:31:28 -07:00
Cisien
fdbc659527 switch to using hping3 for connectivity testing/ip resolution 2018-11-03 16:30:46 -07:00
Ray Tanaka
83c661be63 remove errant tab 2018-11-02 15:42:53 -07:00
Ray Tanaka
aefdb082d0 refactoring to add back write configs script 2018-11-02 15:24:25 -07:00
Ray Tanaka
9687859297 typo 2018-10-31 03:26:39 -07:00
Ray Tanaka
aae15da2e5 case fix because i'm ocd 2018-10-31 01:40:20 -07:00
Ray Tanaka
203ad8b1b5 cleaning up config functions. 2018-10-31 01:11:24 -07:00
Ray Tanaka
fd4d161f1a also check for configuration file as part of verification step 2018-10-31 00:37:11 -07:00
Ray Tanaka
34690ca9d4 add logic to move config file into /mutable as part of configuring the archive 2018-10-31 00:36:27 -07:00
Ray Tanaka
d908f7caed addig rclone verification step 2018-10-31 00:00:05 -07:00
Ray Tanaka
9dd3b135c5 - removing echo
- using new ip lookup function
2018-10-30 23:11:41 -07:00
Ray Tanaka
9c0c8ad09c bug fix 2018-10-30 22:59:51 -07:00
Ray Tanaka
777db26f27 testing to see if verify-archive works as expected 2018-10-30 22:53:51 -07:00
Ray Tanaka
7c3a5f4b94 change this function to be more generic and taken in server name as an argument instead of a environment variable 2018-10-30 18:05:35 -07:00
Ray Tanaka
bb9347b115 since this is an undocumented configuration variable we'll move this into the main cifs config 2018-10-30 16:44:38 -07:00
Ray Tanaka
fc1568db61 fixing cifs issue with my last change and reordering so we don't need a separate credential file 2018-10-29 23:59:04 -07:00
Ray Tanaka
d91aff3ced remove write archive dependency 2018-10-29 22:54:29 -07:00
Ray Tanaka
4d0b010e8d removing since this is done in configure-archive and to make it more consistent with the others 2018-10-29 22:54:29 -07:00
cimryan
dfd2a61785 Merge branch 'master' into u/rtgoodwin/headless-patch 2018-10-29 07:10:06 -07:00
cimryan
969d8a4f0e Merge branch 'u/rtgoodwin/headless-patch' into headless-patch 2018-10-28 22:44:11 -07:00
Gocnak
636b1a1819 Disregard copying perms to catch another edge case
Pesky, was caught up trying to copy permissions over and didn't really need to
2018-10-29 01:38:38 -04:00
Gocnak
f15d597025 10-try retry the disconnect check
Also lost in the great merge of '18
2018-10-29 01:38:37 -04:00
Gocnak
c3554cac89 Use compression (-z) with rsync
This was dropped during the great merge of '18
2018-10-29 01:38:37 -04:00
cimryan
b45dade31f Merge pull request #65 from rtanaka/rclone_archive
add support for cloud based syncing (e.g. Google Drive) via rclone
2018-10-26 18:05:11 -07:00
Richard Goodwin
e15506681d Extra checks for whether to send push 2018-10-26 09:06:37 -05:00
Ray Tanaka
485cec4e41 explicitly adding config file path since it is throwing errors 2018-10-26 01:42:05 -07:00
cimryan
ea7a12ef8b More gracefully handle failures to archive to cifs shares. 2018-10-25 20:33:12 -07:00
cimryan
13e26f0589 Merge archive-teslacam-clips into archiveloop.
Now that the archiving of clips has been factored out of archive-teslacam-clips there isn't much value in keeping the template method for archiving in a separate file.
2018-10-25 20:32:30 -07:00
Ray Tanaka
00d77474b1 bug fix: script tries to create a filename 0 when files sent is 0 2018-10-25 15:27:17 -07:00
Ray Tanaka
9bb8f1e046 adding support and documentation for using rclone 2018-10-25 15:18:06 -07:00
cimryan
93b7663142 Use values for CIFS vers from the mount.cifs man page. 2018-10-25 07:21:39 -07:00
Ray Tanaka
3263313cdb bug fix: missing space to address script error 2018-10-25 01:40:49 -07:00
cimryan
e875763e58 Separate files into those used for setup and those used at runtime.
Files used for both will go in the run tree.
2018-10-24 20:55:29 -07:00