r/SQLServer • u/deadpoolathome • Dec 17 '25
Question Replicating Data from SQL Express to SQL standard
Hi All
I'm looking to setup a regular replication of data from a vendors SQL express to our SQL staging server to be consumed into our BI. Currently we just have a stored proc that pulls data, but as we have multiple staging servers and vendor DB's, I'm finding it hard to monitor/report on failures.
Is there a resonable product that will allow us to setup and monitor these flows? Ideally would like to do quite frequend data syncs from the vendors system to our staging for some semi-live dashboards (but can't query the vendors SQL directly from them)?
Bonus points if it can also do files as some vendors still insist on CSV files!
Thanks
2
u/agiamba Dec 17 '25
as others said, really weird setup question here. id look at scheduling a python job that executes your SP and logs the results, data ingested, etc. it could pull from sql express elsewhere as well as csv files. could also do powershell or bcp but id go with python
what do you mean you have an SP that pulls data, but you cant query the vendors SQL directly?
1
u/thepotplants Dec 17 '25
So to clarify. You have access to query thier express database to extract data but arent permitted to query them for reports/dashboards?
1
u/pointymctest Dec 17 '25
dbatools has copytable data commands with truncate options for example, pretty darn sure you can get dbatools and powershell/task scheduler to do just about anything you need reporting wise also
1
u/jdanton14 Microsoft MVP Dec 17 '25
I’ve seen a lot of people replicate from standard to express. I’ve never seen anyone do it the other way. It would require a great deal of custom code. But given your arch..good luck
0
u/paultoc Dec 17 '25
You can create an automation using backup and restore. Since SQL Server Express does not include the SQL Server Agent, the initial step involves using Windows Task Scheduler on the Express server or your standard instance to run a scripted backup at regular intervals. This script should generate a database backup with a timestamp in the filename for easy identification and place it on a network share.
Then on the SQL Server Standard instance, a SQL Server Agent job can be configured to automate the restore process. The first step of this job would be to execute a script to programmatically locate the most recent backup file from the shared location. Once the latest file is identified, a second step restores the database using the WITH REPLACE option to overwrite the old data.
You could also add a step to upload the CSV data into the database.