You can use Android Backup Service to back up data connected to one or more of your Google accounts. If you replace your device or erase its data, you can restore your data using the account(s) that you backed up. Swipe down from the Notification Bar with two fingers, then select the Settings icon.
Scroll to the Personal section, then select Backup & reset.
Make sure that "Back up my data" and "Automatic restore" are On.
If desired, select Backup account to ensure extra redundancy for backing up your data on the cloud.
Select the Desired backup account option, or select Add account, to add a new backup account.
When you add your Google account to a device, the data that you previously backed up for that Google account is restored to the device.