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

Wednesday, September 7, 2022

Check the SharePoint sites / Mailboxes are backing up in Veeam

 

Recently I got request from customer that, they want to know what are the SharePoint sites and Mailboxes are backing up in Veeam server. 

The small script helped to fetch this,

SP site:

$Org = Get-VBOOrganization -Name "YourOrg.onmicrosoft.com"

$Job = Get-VBOJob -Name "SPSite_BackupJob_Name"

$Sites = Get-VBOOrganizationSite -Organization $Org 

$Sites | Select-Object Name |  Sort-Object -property Name 

---

Mailboxes :

$user = Get-VBOOrganizationUser -Organization $Org |Select-Object UserName |  Sort-Object -property UserName


Credit goes to :

https://github.com/nielsengelen/veeam-powershell/blob/master/VBO365/VBO365-ExcludePersonalSharePointSites.ps1

Tuesday, April 26, 2022

Veeam Explorer for SharePoint shows as empty while restore

We are unable to view any site/content in Veeam Explorer for SharePoint when I initiate restore, it looks empty under content DB path. We kept the screen more than an hour but no use. 

Here is the solution:

1.Please make sure there is no backup job running or wait for some time to complete all the backup jobs.
2.Stop Veeam console and Veeam services (also from the remote proxies):

  • Veeam Backup for Microsoft Office 365 service (Veeam server)
  • Veeam Backup Proxy for Microsoft Office 365 services. (Veeam server & remote proxies)

3.Go to Veeam Backup for Office 365 - %programdata%\Veeam\Backup365\config.xml and proxy.xml
4.Edit the config.xml in a text editor.
5.Edit the proxy.xml in a text editor.
 
Add the bold text as per examples below:
 
The config.xml for Backup365 should be like this:
<Veeam>
  <Archiver OperationTimeout="1200">
   ….
    <WCF OperationTimeout="1200" />
   ….
  </Archiver>
</Veeam>
 
The proxy.xml from Veeam server should be like this:
<Veeam>
    <Archiver OperationTimeout="1200">
      <RemoteConnection Timeout="10:00:00" />
      <WCF OperationTimeout="1200" />
       ….
  </Archiver>
</Veeam>
 
We`ll need to increase the timeout for the SharePoint explorer in order to have time to load all the items in the GUI. To do this we`ll need to modify the config.xml.
 
In order to view to config.xml, we need to enable extended logging in the SharePoint explorer. To enable extended logging, please do the following:
 
1)Open the Sharepoint explorer
2)Go to General Options -> Advanced
3)Click on "Enable extended logging"
 
After this go to C:\ProgramData\Veeam\Backup\SharePointExplorer and you`ll have the config.xml. Before we edit it please stop both VBO365 services:

  • Veeam Backup for Microsoft Office 365 Service
  • Veeam Backup Proxy for Microsoft Office 365 Service

 
Add the bold text as per examples below:
 
The SharePoint Explorer config.xml should look like this:
<Veeam>
<Archiver OperationTimeout="1200">
    <RemoteConnection Timeout="10:00:00" />
    <WCF OperationTimeout="1200" />        
….
 </Archiver>
</Veeam>
 
 
The proxy.xml from the remote proxy, should be like this:
<Veeam>
  <Archiver OperationTimeout="1200>
      <RemoteConnection Timeout="10:00:00" />
      <WCF OperationTimeout="1200" />
   ….
  </Archiver>
</Veeam>
 
The issue should fix now. 
If the issue persists, please change the value "1200" to "2400" and check again.

Saturday, June 17, 2017

This item cannot be deleted because it is still referenced by other pages in SharePoint 2013

I got the error This item cannot be deleted because it is still referenced by other pages, when I delete a Test.master and Test.html files from SharePoint 2013.

I have checked more suggestions and solutions from Google, but no one suggestions and solutions helps me.
Somebody suggest me to do  Create a folder, move the master page into the folder, delete that folder through SPD. MS blogs suggests to Hide the File using this link http://support.microsoft.com/?kbid=926812 (This trick for MOSS 3.0 i.e SP 2007). Some people told me to use SCRIPT http://blogs.msdn.com/b/kvosters/archive/2011/10/12/this-item-cannot-be-deleted-because-it-is-still-referenced-by-other-pages.aspx ), and many more suggestions. I spent more than Two days for this issue, but no more improvement. That time my colleague give the below Solution. It works fine.

Please try this,

1) My Issues with Test.html and Test.master
2) Go to Root Site, Site Settings->Look and Feel Section: Design Manager. Here the Master Page Html file can          be modified what changes are we make in .master file.
3) But Site Settings->Look and Feel Section: Design Manager ->Edit Master Pages Test.html was missing.(By default Seattle and Oslo will be appear)
4) Open the site collection through SharePoint Designer, Right click on Seattle.html file -> Select "Edit File in Advanced Mode" from context menu.
5) Seattle.html opens in a new Tab. Select all and copy the code.
6) Then Go to Test.html (Right Click) -> "Edit File in Advanced Mode". Opens in a new tab.
7) Replace the existing code in the "Test.html" by pasting the code from Seattle.html
8) Save the file (This is done in "Check In" status)
9) In the Browser, Go To Root Site, Site Settings -> Look and Feel: Design Manager -> "Edit Master Pages" in the left side.
10) Now here the Test.html file will appear. Delete this file.
11) Check the "Delete" Folder. Here the files will be removed automatically. Delete the Delete folder.


Thursday, November 28, 2013

Add a crawled property in SharePoint 2013 with sortable/Refinable using Powershell

Add a crawled property in SharePoint 2013 with sortable/Refinable using Powershell

For Sortable:

New-SPEnterpriseSearchMetadataCrawledProperty -Category SharePoint -IsNameEnum $false -Name "ows_MyCrawledProperty" -PropSet 00130329-0000-0130-c000-000000131346 -SearchApplication "Search Service Application" -VariantType 0
 
New-SPEnterpriseSearchMetadataManagedProperty -Name "MyCrawledProperty" -SearchApplication "Search Service Application" -Type 1 -Queryable $true -Retrievable $true
 
$cp = Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication "Search Service Application" "ows_MyCrawledProperty"
 
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication "Search Service Application" -Identity "MyCrawledProperty"

$mp.sortable= $true

$mp.update
 
New-SPEnterpriseSearchMetadataMapping -SearchApplication "Search Service Application" -CrawledProperty $cp -ManagedProperty $mp


For Refinable:

New-SPEnterpriseSearchMetadataCrawledProperty -Category SharePoint -IsNameEnum $false -Name "ows_MyCrawledProperty" -PropSet 00130329-0000-0130-c000-000000131346 -SearchApplication "Search Service Application" -VariantType 0
 
New-SPEnterpriseSearchMetadataManagedProperty -Name "MyCrawledProperty" -SearchApplication "Search Service Application" -Type 1 -Queryable $true -Retrievable $true
 
$cp = Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication "Search Service Application" "ows_MyCrawledProperty"
 
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication "Search Service Application" -Identity "MyCrawledProperty"

$mp.Refinable= $true

$mp.update
 
New-SPEnterpriseSearchMetadataMapping -SearchApplication "Search Service Application" -CrawledProperty $cp -ManagedProperty $mp

Wednesday, November 6, 2013

Error: cannot generate SSPI context



Issue: Got the error cannot generate SSPI context in 2008 sql, when I access 
(machine1) Destination machine’s SQL instance from (machine2)Source Machine SQL instance.

Solution: Checked the error machine<machine1> is remote accessible using machine name and got the below error.

Remote Desktop Connection fails - outdated entry in the DNS cache.

Took RDP using IP, Works fine and checked the time, the time was off by an hour. 

Run the below comments in cmd

· net stop w32time
· net start w32time

The both the problem has been solved.

Email sent from a shared mailbox are not saved to the Sent Items

  Issue : When a user sends an Email from his delegated (shared) mailbox the Email which sent from the delegated mailbox are stored in user...