When smallpox was eradicated, the WHO organized teams to collect and destroy samples of smallpox used in remote places for variolation.
https://en.wikipedia.org/wiki/Variolation#Decline IIRC the samples they found were too old and did not contain viable virus, but they were afraid they could start a new smallpox epidemic. So ... I guess they think virus can survive for a long time.