https://github.com/uefi-code/water-shortcircuit-auto-backup
This project provides a comprehensive solution for monitoring hardware test points' potential or impedance, shutting down unnecessary hardware components, and backing up data to a remote server in case of water-caused short circuits or other disasters.
https://github.com/uefi-code/water-shortcircuit-auto-backup
arduino backup datacenter disaster-recovery iot windows
Last synced: 3 months ago
JSON representation
This project provides a comprehensive solution for monitoring hardware test points' potential or impedance, shutting down unnecessary hardware components, and backing up data to a remote server in case of water-caused short circuits or other disasters.
- Host: GitHub
- URL: https://github.com/uefi-code/water-shortcircuit-auto-backup
- Owner: UEFI-code
- Created: 2025-02-08T05:24:04.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-02-09T04:03:10.000Z (8 months ago)
- Last Synced: 2025-02-09T05:18:11.724Z (8 months ago)
- Topics: arduino, backup, datacenter, disaster-recovery, iot, windows
- Language: C
- Homepage:
- Size: 229 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auto Data Backup and Circuit Protection for Water Disasters
## Introduction
This project contains a sensor system and software components that can monitor hardware test points' potential or impedance, shut down unnecessary hardware components, and back up data to a remote server in case of water-caused short circuits or other disasters.
Our solution is very useful for data centers, and much lower cost than traditional Fully_Geographic-Redundant-Solution (F_GRS) systems.
# Hardware Implementation
We provide an Arduino-based sensor system, using the serial port for feedback on potential status. You may replace the Arduino with any other microcontroller and using any other communication method, as long as the system can provide the potential status of the test points.
If you choose our implementation, you will need the following steps:
1. Attach a potential board to your server's metal case, and connect the board to the Arduino's `A0` pin.
2. Attach a resistor between the Arduino's `3.3v` pin and the `A0` pin.
3. Connect the Arduino to your server's USB port.
4. Check the GND connection between the Arduino and the server.
5. Follow the software implementation steps.# Software Implementation
## Windows
We assume that the `C:\Important` folder contains your important data, and `Y:\` is your backup drive (you can map this drive using SMB, SSHFS, or any other method).
We assume you are using Windows 7 / Windows Server 2008 x64 or later. (If you are on a 32-bit system, please recompile the source code.)
To try this system, build and flash `Arduino_Sample/Arduino_Sample.ino` to your Arduino board, and make sure the board is assigned to COM port `COM3`. Then double-click `trigger_serial.exe` to test, and run `install.bat` to install this software as a scheduled task.
Pls note, the drive `Y:\` should be available at earlier time before the disaster happens. If you are using SMB, you can use `net use Y: \\server\share` to map the drive, and `Y:\` will be become available after you log in. You may enable auto-login by setting the following registry keys:
- "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon" to 1
- "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName" to your username
- "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword" to your password## Linux
Under development.
## MacOS
Under development.
# License
This implementation is under patent CN-B-111901961(CN2020107900105), and the inventor & copyright holder is `ZHANG SHIZHUO`.If you are interested in implementing this system, please email `zhuoshizhang@hotmail.com` for queries.