Accidentally deleted a file or contact you needed on iCloud? No worries, you can now retrieve those. iCloud gets a new feature that lets you restore files, Contacts, or data from Reminders and Calendar. You can access the restore features through iCloud.com account. Head over to Settings on the site and rifle through the new Advanced section. There will be links there for restoring files, contacts, calendars, and reminders.
You get 30 days to retrieve a file you deleted from iCloud Drive using the Restore Files feature. After that you can’t get it back. For Restore Contacts, you can pick which backup archive you want back. Just remember that restoring this will replace your contacts on all your iOS and Mac devices. However, before the restoration happens, there will also be a backup of your existing contacts so in case you want those back, you can get those back. For Restore Calendars or Reminders, you’ll need to manually restore sharing privileges if you had reminders you’ve shared with others before. Scheduled events where you invited others will get cancelled and recreated. You might want to let others know this is happening when they get the event notification once again. Your existing Calendars or Reminders will also be backed up in case you need access to these once you restored a previous backup.
Source: Macworld