June 9, 2016 at 5:48 am
Hi,
On one of our servers, we run weekly Full backup (through Maintenance Plan) for all databases onto BACKUP folder. Now, I need to add a step to copy only one Database backup file from BACKUP folder (after completion of FULL backup) to another server. As the folder contains many Database backups along with Time stamp, please let us know how can I take only one backup file to be copied onto another Server.
June 9, 2016 at 6:02 am
Write a script in Powershell (or your favourite scripting language) that will take the most recent file and copy it to its destination. Alternatively, there's probably a task in SSIS that will do it for you. Or you might consider backing up directly to the destination instead.
John
June 10, 2016 at 4:13 am
previously I've used powershell to do this, works very well
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
June 13, 2016 at 6:10 pm
Do any of the backups contain any PII or other sensitive information that probably shouldn't leave the production server?
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply