![]() ![]() I’m sure there’s lots of other ways to do this. You can also read about how I run the Unifi controller, how I run Plex, and how I update DuckDNS. This is my fourth post documenting containers I use at home. In this post, I’ll explain how I have Duplicacy run nightly via Docker. 0 2 * * * root sh /home/mwav3/hass_backup.shġ5 2 * * * mwav3 docker start homeassistant Every night, I have Duplicacy backup data from my local NAS to Backblaze B2. I also then added another command to the crontab to start the container at 2:15 AM in case anything happens where the first script fails at some point so Home Assistant doesn’t stay offline. I then added commands to run the script nightly at 2 AM as root. Synology DSM 6.xx uses upstart to manage services. At one point, to backup 2TB, it was saying it would take 8 days using the -stats option. I have been doing some informal testing of duplicacy to figure out how to speed up my backups to a local RAID5 4-hard-drive array. It can be used as-is, or to be used as a starting point for your customizations and to illustrate various techniques. optimization of speed (was: one thread for local HD backup) Morgan G Dec 25 3:59PM 2017 CLI. To make sure that all the root files copy, I did this in the global crontab by running sudo gedit /etc/crontab In this article I describe the simple script to download and install duplicacyweb as a service on a Synology Diskstation natively, without the aid of docker. Rsync -ab -backup-dir=old_`date +%F` -delete -exclude=old_* /home/mwav3/homeassistant /media/mwav3/MyPassport/backups/hassrsync 4.Once you see Applied, the discount will. At checkout, paste the code into promo code box and click Apply button. 2.Click 'copy' button, 'Copied' meaning coupon has been copied 3. Generally following the directions here - Using rsync and cron to automate incremental backupsįirst I created a script file called hass_backup.sh that stops the container, does the backup using rsync, then starts the home assistant docker container back up docker stop homeassistant How to apply Duplicacy discount code (picture introduction) Click on the picture to view detailed steps (4 pictures) 1. I wrote a script to backup and run it nightly through the crontab. ![]() Update - I think I figured out a way to automate. ![]() I just haven’t figured out a good way to do that though. I mean, this works, but I really would like to automate the process if possible. So the way I backup seems overly involved, but it works.ġ- Use Portainer to stop the Home Assistant container - if Home Assitant is running I’ve found files skip and don’t copy overĢ- Sudo nautilus which pulls up the root file explorer and gets around the permission issues.ģ- Copy the entire config directory to my NAS drive and backup folderĤ- Start the container again in portainer after copying is complete ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |