Showing posts with label SharePoint Online. Show all posts
Showing posts with label SharePoint Online. Show all posts

SharePoint Online Backup and Restore - Nice article

I got the below nice article about SharePoint Online backup and Restore by Threewill

http://www.threewill.com/the-4-options-you-need-to-know-about-sharepoint-online-backup-and-restore/ 


  1. Use the recycle bin and version history.
  2. Use a 3rd party tool for backup and restore (there are several).
  3. Manually backup sites, lists, and libraries 
  4. Create an Office 365 support request 
Few more pieces of information:
  • Site collection backups are performed every 12 hours and are kept for 14 days.
  • If you want to restore a backup, you need to create a support ticket and specify the earliest backup time, latest backup time, and optimal backup time.  Say your site collection was messed up during the day on Tuesday.  You could state the earliest backup time as close of business Monday (e.g., 6 PM), the latest backup time as open of business on Tuesday (e.g., 6 AM), and the optimal backup time as Tuesday at 4 AM.  The support team will get you the best backup based on this information.  You should have at least 12 hours between the earliest and latest times.
  • The restoration is done to a site collection.  The entire site collection will be replaced and any changes made after the backup time will be lost (must be re-done after the restore).
  • Once a restore is requested, it may take 2 or more days for the restore to be performed.  This is done based on O365 support’s triage process and the perceived priority of the request.  The tenant license or overall number of users for the tenant does not change the priority.

Running Powershell for SharePoint Online from local machine

1- download SharePoint Online Management Shell  on your local machine.

Download SharePoint Online Management Shell

2- once this is installed, you will find an icon for Powershell Online.

3- click on that icon.

4- before you execute any command for SharePoint online. run the below command

Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking

5- With SharePoint 2013 online you need to connect to your tenant administration site to be able to do anything.

Connect-SPOService –url  $siteCollectionUrl –Credential $O365Credential

6-Note: I was facing an error while executing the above command. i took the help from microsoft office 356 community. see the link below.

Help from office 365 community


7- Finally i got it run. after executing the step 4. i ran the below command.
$cred = [System.Net.CredentialCache]::DefaultCredentials
[System.Net.WebRequest]::DefaultWebProxy.Credentials = $cred

8- then i ran the command in step 5 and i was able to connect to SharePoint Online powershell.