Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

publishsettings in website folder

$
0
0

I have run below script from my one web server to another to sync all websites including data after sync i have found 2 files with publishsettings names created in both servers in web site directory. my server are running in 2 different data centers so ip's are different. see the below scrip which i have ran

add-pssnapin wdeploysnapin3.0
New-WDPublishSettings -ComputerName 192.XX.XXX.XX -AgentType MSDepSvc -FileName c:\websites\192.XX.XXX.XX.publishsettings
New-WDPublishSettings -ComputerName 162.XXX.XX.XX -AgentType MSDepSvc -FileName c:\websites\162.XXX.XX.XX.publishsettings -UserID administrator -Password pass@123#
Sync-WDServer -SourcePublishSettings c:\websites\192.XX.XXX.XX.publishSettings -DestinationPublishSettings c:\websites\162.XXX.XX.XX.publishSettings

Can we delete those files or those files are linked with sync. 


Viewing all articles
Browse latest Browse all 780

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>