NOTE: You can check this thread for instructions on how to back up data on the device.

Restore Contacts from SD Storage:

  1. Open “Contacts
  2. Tap “Menu” > “Settings
  3. Tap “Contacts to display” and select “All contacts
  4. Tap “Import/Export contacts” > “Import from SD card
  5. Tap “OK” to confirm

Restore Media Files from SD Storage:

  1. Open “My Files”
  2. Tap “SD Card” > “Menu
  3. Tap “Edit” and tick the boxes next to the media files you want to restore
  4. Tap “Menu” > “Move” > “Internal storage” > “Move here
  5. Tap “Create folder” or select the desired folder
  6. Tap “Move here

Restore Media Files from a Windows PC:

  1. Establish a USB connection between the computer and phone
  2. On the phone, enable “File Transfer” / “Media device” when prompted or from the Notification area
  3. Open the File Explorer on the computer
  4. Locate the media backup files on the computer
  5. Copy and paste the files to the phone storage, preferably in the folders of origin
  6. Once the transfer completes, eject the phone storage and safely disconnect the phone from the USB cord

See More: Samsung Galaxy M10: Restore Contacts and Media Files