Category Archives: backup

Backup site collections from a .csv file using Powershell

Assuming that you have a .csv file which contains a list of site collections in this format URL,path http://site1,path1 http://urlpath/site2,path2 the line you need to backup them is this one: Import–Csv yourfile.csv | ForEach-Object { Backup-SPSite $_.URL -Path $_.path -force} … Continue reading

Posted in backup, Powershell, Sharepoint | Comments Off on Backup site collections from a .csv file using Powershell