How Do I Add Custom Site And Team Site Collections To Backupify 2.0 For Office 365?

Follow

Question

How do I add custom site and team site collections to Backupify 2.0/Datto SaaS Protection 2.0 For Office 365?

Environment

  • Backupify 2.0 for Office 365
  • Datto SaaS Protection for Office 365

Answer

Adding via MS Office website

To add a custom/team site collection via the Microsoft website:

1. Log in to Office and click the Admin option.

Figure 1: Select Admin in O365 

2. In the Admin panel, expand the Admin Centers section of the drop-down menu and select the SharePoint option.

Figure 2: Select SharePoint

3. Select all addresses and copy them to your clipboard. The application filters extraneous text, so it's okay to copy other text from the page.

Figure 3: Select and copy addresses

4. Log into SaaS Protection/Backupify for Office 365 and click the Users button from the toolbar at the top.

Figure 4: The status page

5. Scroll to the bottom of the page and click the Paste URLs from clipboard button.

Figure 4: Paste URLs from clipboard 

6. Paste the text into the box, and your sites will be added automatically.

Adding via PowerShell

To create custom/team site collections via PowerShell:

1. Install the latest version of Microsoft Management Framework (5.1). This is necessary for the latest version of Sharepoint Management Shell, and ensure access to both Site Collection as well as Microsoft Group and Team sites via the Get-SPOSite commandlet.

2. Run Windows Powershell as Admin - Confirm that copyright shows 2016.

3. Enter the following command:
Connect-MSolService

Log in with admin credentials to O365 in the dialog box, then type:
Install-Module -Name MSOnline

Click yes to agree if prompted, then complete the installation.

4. Download the Sharepoint Online Management Shell.

5. Run Sharepoint Online Management Shell as administrator, then enter the following commands:

$adminUPN="<the full email address of a SharePoint administrator account, example: jdoe@contosotoycompany.onmicrosoft.com>"
$orgName="<name of your Office 365 organization, example: contosotoycompany>"
$userCredential = Get-Credential -UserName $adminUPN -Message "Type the password."
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCredential

When prompted with the Windows PowerShell credential request dialog box, type the password for the SharePoint Online SharePoint administrator account.

Multi-Factor Authentication 

1. Fill in the value for the $orgName variable (replacing all the text between the quotes, including the < and > characters), and then run the following commands at the SharePoint Online Management Shell command prompt:

$orgName="<name of your Office 365 organization, example: contosotoycompany>"
Connect-SPOService -Url https://$orgName-admin.sharepoint.com

When prompted with the Microsoft SharePoint Online Management Shell dialog box, type the account name and password for a SharePoint administrator account, and then click Sign in.

2. Run the Get-SPOSite command to Get a full list of team and group sites and site collections.
To export the list with all details:

Get-SPOSite | Export-CSV C:\<Folder path you want the CSV to be stored in>\SiteList.csv

To export the list of just the URLs:

Get-SPOSite | Select-Object URL | Export-CSV C:\<Folder path you want the CSV to be stored in>\SiteList.csv

3. When formatting the CSV for upload to Backupify, open the file in a spreadsheet processor (Excel), ensure that cell A1 contains the word Url, and that the URLs of the sites exist in column A below that. Delete any other headers or columns present.

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
Get-SPWebApplication http://yourwebapp.com | Get-SPSite | Select Url | Out-Csv export.csv

4. Log into SaaS Protection/Backupify for Office 365 and click the Users button.

5. Scroll to the bottom of the page and click the Upload button under CSV Site Collection Upload. 

Figure 6: Upload via CSV

6. Following the prompt, select the CSV file you just created and click Upload File.

Figure 7: Select the CSV and upload.

Backing up Microsoft Teams data

Datto SaaS Protection/Backupify does not currently back up Microsoft Teams separately. To ensure Teams data is backed up, include it in OneDrive or Sharepoint. The data will be accessible to the file's owner. 

To contact Backupify/Datto SaaS Protection support, click here to submit a Support Request, or click here for more contact options.


Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Calling all Partners! We want to hear your feedback! Please participate in this quick survey and help us build a better, more-relevant Knowledge Base!

Want to talk about it? Head on over to our Community Forum!