![]() Seatbelts, All passengers in vehicle must use permanently installed seat belts. ![]() See my answer that covers it in more details here: How to download a file from repo, and install it later w/o internet connection?. There is no curfew, but the driver must be accompanied by a qualified trainer. I cam across another tool called Duplicacy which claims to be faster and more efficient at deduplication without requiring locks in the repo. Read through and run the script to install and start the daemon. Anyone using Duplicacy for backups vitobotta Member April 2022 in General I am currently using Borg to back up my server to Hetzner Storage Box, and Restic to Backblaze B2. It is trivial to modify the script to store data elsewhere if homes service is undesirable. Notice it's doing a dependency check, and then downloading the missing pieces. Duplicacy configuration will be stored in the home folder of the user defined in step 1. Loaded plugins: langpacks, presto, refresh-packagekit What if I want to download everything that package X requires? $ yumdownloader -resolve Įxample $ yumdownloader -resolve vim-X11 $ yum -downloadonly Īnd then install it like so: $ sudo yum localinstall You can also use one of the following options to download a particular RPM from the web, and then use yum to install it. $ sudo yum install yum-utils # (to get `repoquery`) If you're ever unsure that you're constructing the arguments right you can consult with repoquery too. In this case since I'm dealing with Fedora 20 (F20) the release info would be "fc20", and the architecture info too. You can also include the release info when specifying a package. Loading mirror speeds from cached hostfileĪs far as installing a particular version? You can append the version info to the name of the package, removing the architecture name, like so: $ sudo yum install -įor example in this case if I wanted to install the older version, 2.4.6-6 I'd do the following: $ sudo yum install httpd-2.4.6-6 Loaded plugins: fastestmirror, langpacks, refresh-packagekit It gives you a list like "package name.architecture version": $ yum -showduplicates list httpd | expand I’m sure there’s lots of other ways to do this.To see what particular versions are available to you via yum you can use the -showduplicates switch. 0 2 * * * root sh /home/mwav3/hass_backup.shġ5 2 * * * mwav3 docker start homeassistant 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. To make sure that all the root files copy, I did this in the global crontab by running sudo gedit /etc/crontab Rsync -ab -backup-dir=old_`date +%F` -delete -exclude=old_* /home/mwav3/homeassistant /media/mwav3/MyPassport/backups/hassrsync 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 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. |