December 9, 2008 at 7:54 am
Hi,
I looked at the video of File System task.
I know how to copy 1 single file from 1 directory to another.
I cannot find how it works with multiple files.
My goal is the following:
- Create a backup (DB or log) of multiple databases locally on SQL server
- Immediately after this backup I would like to copy away these backup files to another server.
Package can consist of 2 steps:
Step1: backup
Step2 : File system task
Thanks
Hans Peeters
December 9, 2008 at 8:53 am
Use a ForEach loop container to loop through all of the files in the directory and put the file system task in the loop.
December 9, 2008 at 1:27 pm
December 10, 2008 at 3:08 am
Or Even a scritp task to copy from one directory to another.
Ells.
🙂
December 10, 2008 at 3:20 am
Hans Peeters (12/9/2008)
Hi,I looked at the video of File System task.
I know how to copy 1 single file from 1 directory to another.
I cannot find how it works with multiple files.
My goal is the following:
- Create a backup (DB or log) of multiple databases locally on SQL server
- Immediately after this backup I would like to copy away these backup files to another server.
Package can consist of 2 steps:
Step1: backup
Step2 : File system task
Thanks
Hans Peeters
you want T-SQL / .NET Code for this task ?
December 10, 2008 at 3:57 am
CozyRoc,
Not working.
You get a package validation error after excecution.
"Error at File System Task: Type of connection "Work directory" is not a file
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply