If you're using online backup, your files will be automatically restored to you device. Factory resets erase the part of the storage where media is saved on many devices. If your files are no longer in Vaulty after a factory reset and don't return after running a scan from within Vaulty, they were most likely erased by the factory reset.