Avoid race conditions when creating backups (#10234)
Avoid race conditions when creating backups (#10234)

Under load, multiple backups for a single user could be planned, which
is very expensive.
kirakiratter/mastodon,ykzts/mastodon,clworld/mastodon,danhunsaker/mastodon,tri-star/mastodon,tateisu/mastodon,glitch-soc/mastodon,kirakiratter/mastodon,cobodo/mastodon,pinfort/mastodon,tateisu/mastodon,tri-star/mastodon,rainyday/mastodon,yukimochi/mastodon,masto-donte-com-br/mastodon,tateisu/mastodon,5thfloor/ichiji-social,primenumber/mastodon,im-in-space/mastodon,masto-donte-com-br/mastodon,Kirishima21/mastodon,tootcafe/mastodon,imas/mastodon,KnzkDev/mastodon,Ryanaka/mastodon,lindwurm/mastodon,primenumber/mastodon,yukimochi/mastodon,abcang/mastodon,maa123/mastodon,pinfort/mastodon,yi0713/mastodon,gol-cha/mastodon,glitch-soc/mastodon,dunn/mastodon,imas/mastodon,koba-lab/mastodon,Kirishima21/mastodon,rainyday/mastodon,sylph-sin-tyaku/mastodon,maa123/mastodon,pso2club/mastodon,yi0713/mastodon,Nyoho/mastodon,theoria24/mastodon,tootsuite/mastodon,koba-lab/mastodon,tateisu/mastodon,salvadorpla/mastodon,salvadorpla/mastodon,ikuradon/mastodon,imas/mastodon,glitch-soc/mastodon,sylph-sin-tyaku/mastodon,abcang/mastodon,theoria24/mastodon,dunn/mastodon,musashino205/mastodon,d6rkaiz/mastodon,lindwurm/mastodon,MitarashiDango/mastodon,MitarashiDango/mastodon,ykzts/mastodon,sylph-sin-tyaku/mastodon,tootcafe/mastodon,yi0713/mastodon,pso2club/mastodon,salvadorpla/mastodon,pso2club/mastodon,salvadorpla/mastodon,ikuradon/mastodon,h3zjp/mastodon,h3zjp/mastodon,h3zjp/mastodon,gol-cha/mastodon,h3zjp/mastodon,KnzkDev/mastodon,glitch-soc/mastodon,lynlynlynx/mastodon,yukimochi/mastodon,maa123/mastodon,Ryanaka/mastodon,5thfloor/ichiji-social,gol-cha/mastodon,ykzts/mastodon,im-in-space/mastodon,kazh98/social.arnip.org,danhunsaker/mastodon,lynlynlynx/mastodon,koba-lab/mastodon,sylph-sin-tyaku/mastodon,cobodo/mastodon,primenumber/mastodon,rainyday/mastodon,tootsuite/mastodon,im-in-space/mastodon,KnzkDev/mastodon,rainyday/mastodon,musashino205/mastodon,abcang/mastodon,musashino205/mastodon,tootsuite/mastodon,danhunsaker/mastodon,kirakiratter/mastodon,lindwurm/mastodon,d6rkaiz/mastodon,theoria24/mastodon,d6rkaiz/mastodon,d6rkaiz/mastodon,abcang/mastodon,imas/mastodon,masto-donte-com-br/mastodon,cobodo/mastodon,kazh98/social.arnip.org,Kirishima21/mastodon,yi0713/mastodon,5thfloor/ichiji-social,pinfort/mastodon,5thfloor/ichiji-social,kazh98/social.arnip.org,maa123/mastodon,lynlynlynx/mastodon,pso2club/mastodon,pinfort/mastodon,Ryanaka/mastodon,yukimochi/mastodon,MitarashiDango/mastodon,musashino205/mastodon,tootcafe/mastodon,clworld/mastodon,Kirishima21/mastodon,Nyoho/mastodon,primenumber/mastodon,tootcafe/mastodon,KnzkDev/mastodon,ikuradon/mastodon,clworld/mastodon,clworld/mastodon,dunn/mastodon,kazh98/social.arnip.org,koba-lab/mastodon,cobodo/mastodon,lindwurm/mastodon,Nyoho/mastodon,MitarashiDango/mastodon,danhunsaker/mastodon,tri-star/mastodon,masto-donte-com-br/mastodon,Ryanaka/mastodon,tootsuite/mastodon,dunn/mastodon,tri-star/mastodon,lynlynlynx/mastodon,theoria24/mastodon,ikuradon/mastodon,im-in-space/mastodon,kirakiratter/mastodon,ykzts/mastodon,Nyoho/mastodon,gol-cha/mastodon