{"repo":"Paraphraser/IOTstackBackup","free":true,"listed":false,"github":"https://github.com/Paraphraser/IOTstackBackup","clone":"git clone https://github.com/Paraphraser/IOTstackBackup.git","description":"Backup and Restore scripts for SensorsIot/IOTstack","language":"Shell","stars":38,"topics":["home-automation","raspberry-pi","iotstack","backup-script","restore-script"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"IOTstack Backup and Restore This project documents my approach to backup and restore of SensorsIot/IOTstack. My design goals were: 1. Live backup: I see no sense in a backup strategy which only works when the stack is down. 2. Avoid the double-compression implicit in the scripts supplied with SensorsIot/IOTstack: An InfluxDB backup produces .tar.gz files. This is true for both InfluxDB&nbsp;1.8 and InfluxDB&nbsp;2. Simply collecting those into a separate .tar is more efficient than recompressing them into a .tar.gz. 3. Provide a variety of post-backup methods to copy backup files from a \"live\" Raspberry Pi to another machine on the local network and/or to the cloud. With appropriate choices, three levels of backup are possible: Recent backups are stored on the Raspberry Pi in /IOTstack/backups/ On-site copies are stored on another machine on the local network Off-site copies are stored in the cloud (eg Dropbox). 4. More consistent and cron-friendly logging of whatever was written to stdout and stderr as the backup script ran. 6. Efficient restore of a backup, including a \"bare-metal\" restore: When I first developed these scripts, there was no equivalent for iotstack restore in SensorsIot/IOTstack. That was a gap I wanted to rectify. about non-copy-safe containers These scripts will never be guaranteed to cover the full gamut of container types supported by SensorsIot/IOTstack. The main problem lies with containers where it is unsafe to copy the container's persistent storage ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Paraphraser","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Paraphraser/IOTstackBackup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}