Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Backup a database and restore to another server

$
0
0

I would like to automate the following task using powershell.

Do a full backup of production database with copy only, then restore it to a remote testing server.

Anyone has existing powershell script like this to share?

Thanks much


SQLFriend


Viewing all articles
Browse latest Browse all 2562

Trending Articles



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