If the iPhone backup fails, all the data stored in your device will be lost immediately. Regardless of any specific file, message, photo, video, or anything, the whole data will be lost until it won’t recovered.