change list url in sharepoint 2019 to create duplicate list

change list url in sharepoint 2019 to create duplicate list is an important task for an administrator. When list view threshold of a list is crossing the limit, user want to create similar list with different name. we can copy list items form one list to another list in this situation. We can follow other ways as well as below.

Advertisements
  • Export list using powershell and import in UAT. Else we can backup content database and restore using powershell in UAT as well.
  • Rename list and change list url in sharepoint using powershell.
  • Export list in UAT using powershell and import list in PROD using powershell. Else you can follow recovering list from unattached content database.
Advertisements

Export list using powershell and import list in SharePoint UAT

Follow the blog post export import list library sites in sharepoint to export list from PROD and import in UAT.

Advertisements

Backup content database in sharepoint and restore using powershell in UAT

Follow the blog post dismount Mount content database in sharepoint 2019 using powershell to do back up and restore content database.

Advertisements

Rename list and change url of list using powershell

Once list is moved to UAT, we can use below powershell for list url change. Modifying title of list using UI method will not update the url, it will remain unchanged, So we have to using powershell method change list address.

List name before rename
list url before change
Advertisements
$liUrlOriginal="/Lists/Budget2020";
$liUrlNew="/Lists/Budget2020Archieved";
$web= Get-SPWeb -Identity http://spmcse-sp19:37985/sites/SPMCSE
$li=$web.GetList($web.Url + $liUrlOriginal)
$rootFolder=$li.RootFolder;
$rootFolder.MoveTo($web.Url + $liUrlNew)
change list url in sharepoint using powershell
list url after change
Advertisements

Export list in sharepoint UAT using powershell and import list in PROD

Follow the blog post export import list library sites in sharepoint to export list from UAT and import in PROD. Else you can follow, list recovery method from unattached content database as described below.

Advertisements

Recover list from an unattached content database in sharepoint 2019

You can follow export import list method as mentioned above or you can use recovering a specific list from unattached content database method.

Advertisements

change sharepoint list url completed. Duplicate list or a similar list with reference to another list in same site is created in production environment. Save list as template including content is one of the solution to create duplicate list but there will be error if the number of items is very high, especially for financial sites, we can follow these process.

Follow the video below, to understand better in video format.

Advertisements



Categories: administration, backup restore in sharepoint, content databases, SharePoint 2019, sharepoint server, sharepoint templates

Tags: , , , , , , , , , , , , , , ,

1 reply

Trackbacks

  1. change sharepoint site url rename subsite url | SharePointTechnicalSupport
%d bloggers like this: