Greetings! Thanks for running your relays!<br><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Sunday, October 10, 2021 at 4:49:16 AM UTC-4 sysmanager7 via tor-relays wrote:<br></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Greetings All, I have three relays that are in need of an upgrade and reboot.<br></div><div>What is the best way to restart these relays without loosing flags or time?<br></div></blockquote><div><br></div><div>We routinely reboot our nodes for kernel updates and retain the stable flag. High uptime is not something to brag about for a tor node, so don't worry about that.</div><div><br></div><div>If you're running a debian-based linux distro, you can have unattended-upgrades[0] do the work for you and warn you via email. There are tools that will allow for similar workflows for other OSes, eg. with dnf on rpm-based distros[1].<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div></div><div>Secondly how long can a relay be down before flags are dropped?<br></div></blockquote><div><br></div><div>I don't know the upper bound, but twice I've migrated keys from an old piece of hardware to a new piece of hardware when the support warranty expired, and that node still has the stable flag. I took my time and did the migration carefully. It's far more important that you follow the advice[2] on how to keep your relay in good shape once it's up and running than that you find the limits of certain flags.<br></div><div><br></div><div>Cheers!</div><div>--</div><div>ibiblio Tor Manager</div><div><br></div><div>[0] <a href="https://wiki.debian.org/UnattendedUpgrades" style="font-weight: 400; font-style: normal; text-decoration: none;">https://wiki.debian.org/UnattendedUpgrades</a></div><div>[1] https://dnf.readthedocs.io/en/latest/automatic.html</div><div>[2] https://community.torproject.org/relay/setup/post-install/<br></div></div>