litedry.blogg.se

Schedule server 2003 backup batch file
Schedule server 2003 backup batch file










#Schedule server 2003 backup batch file code

Where my code starts is after the "echo DOW" line. The stuff at the beginning is just used to generate a date, and that was all copy/pasted from a script my boss had already created. XCopy D:\MICROS\*.* M:\MICROS\TESTBKUP\ /CDEFHIY > M:\MICROS\BU%today%MICROS%DOW%.TXTĮcho Yes, the task really did execute > \\marketing\TeraByte\MarketingData\MICROS\TESTBKUP\testlog.txt\ Net use M: \\marketing\TeraByte\marketingdata\ Rem - use program to determine day of wek - then use the DAY of THE WEEK as the sub dir name

schedule server 2003 backup batch file schedule server 2003 backup batch file

I tried to make the batch file myself, and this was the best I could come up with rem - script to Backup the 1 TB drive attached to marketing server. The batch file will be executed through the task scheduler, and should run regardless of whether or not a user is logged in. \marketing\TeraByte\marketingdata\MICROS\TESTBKUP\ is where the files will need to end up. I want to create a batch file that will run on the source computer, and copy all of the files in the D:\MICROS folder to a separate network drive. The source computer is running Windows Server 2008 R2, and the destination machine is running Windows Server 2003 R2.

schedule server 2003 backup batch file

I am trying to create a backup of some local files on one machine, to a networked hard drive on another machine.










Schedule server 2003 backup batch file