If you have an iphone phone,next time Use iCloud and upload the morst important items to it(up to 5mb) or make every 1/2 weeks a backup from your phone with itunes on your PC, i will safe all apps, fotos, contacts, IOS and more. you can easily recover your iPhone data directly.