Given everybody updating to the new 4.6.0 version, I thought I'd post a couple quick tar commands to back up your weewx setup.
# for a packaged install using the Debian example tar zcvf /var/tmp/weewx-backup.tgz --exclude=.git* --exclude=__pycache__ /etc/weewx /usr/share/weewx /var/lib/weewx /var/www/html/weewx # for a setup.py installation tar zcvf /var/tmp/weewx-backup.tgz --exclude=.git* --exclude=__pycache__ /home/weewx Notes: - You could choose to not back up your public_html tree but a restore and weewx restart might take a rather 'long' time to rebuild the NOAA files. I found the public_html tree is pretty small so I just back it up too. - For my setup.py system here, I manually back up my databases weekly so I (usually) skip backing that up by adding --exclude=archive to the setup.py example above. - There's an old sysadmin saying that "i*f you haven't done a restore, you haven't done a backup*". As an old (former) sysadmin, I agree :-) Hope this helps. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/43d8a255-bad9-44b5-aeda-04a6bce3e360n%40googlegroups.com.
