We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


SSIS Help: Backup a Database and then Restore it to a Different server

Cayman21 asked
Medium Priority
Last Modified: 2013-11-30
Hello fellow experts,

I'm not very familiar with SSIS, I've poked around at a few wizard created import and export scripts, but that's about the extent of it.

What I need to do is create an SSIS package that will take a Backup of database on one server, then (delete and restore or) restore over a database on another server.

Watch Question

Top Expert 2012

Is there any particular reason you want to use SSIS?


Well, I guess that's not a requirement.  But they are on different servers, so how would you suggest to do this in a automated fashion?
Top Expert 2012

You could do it as a batch file that has the following:
1. Executes a SQLCmd to backup the source database.
2. Copies the backup from the source server to the target server.
3. Execute a SQLCmd to restore to the target server.


That sounds like it would work.  What do I need to do to set that up?


Actually that won't work.

I don't have access to save the database backup on the server.

With SSIS, can't I stream the data to my local machine?
SSIS has the Maintenance Plan Task, Back Up Database. You can backup to a local file. Restoring is a different issue as no delivered task is available to restore. But you can use a SQL Task, or Maint. Plan Task, Execute T-SQL Statement Task to do the restore.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
>> I don't have access to save the database backup on the server.
But the SQL Agent might and if you run that task under the SQL Agent it may work.
It all depends on how everything has been set up.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.