Download all your photos and videos from your phone to a hard drive or laptop.
Back up all other data to the cloud (for example: emails, contacts, calendar and browser history)