Hello
I'm trying to copy a SQL08 .bak file from a dir E:\backups on my app server to my file server S:\P10bu directory (via a scheduled task on W2008R2)
I want to identify only the previous night's backup.
I've fiddled around with lastwritetime/creationtime/addDays(-1) type of lines in my script but can't get it to work for me.
Can someone help me out - PS is new to me
Thanks
I'm trying to copy a SQL08 .bak file from a dir E:\backups on my app server to my file server S:\P10bu directory (via a scheduled task on W2008R2)
I want to identify only the previous night's backup.
I've fiddled around with lastwritetime/creationtime/addDays(-1) type of lines in my script but can't get it to work for me.
Can someone help me out - PS is new to me
Thanks