We have a SharePoint test server and SharePoint live server.
- They are on the same network
- The administrator for each is the same Active Directory account.
I know this is wrong but as a programmer in the development team, I have little influence over the infrastructure team's decisions.
What I have done is take backup in the Live server through the Central Administration (UI).
I copied the files to my test environment to test the backup. I ran the following in powershell:
Restore-SPFarm -Directory "copied backup directory in test server" -RestoreMethod overwrite
I used overwrite as opposed to new, I think that's the foolish part.
I abruptly ended the restore on the Test Server. Now my live environment is not even loading. (I get 404).
- I think what happened is that Restore-SPFarm worked on the live server even though it was invoked from the test server. Is this correct? Please let me know.
- Any way to revert this? Maybe the restore command doesn't completely overwrite things on the content database? (hopeful thinking).
- Should I be fired?