Schedule Server 2003 Backup Batch File

Posted : admin On 5/14/2019

Here's a simple batch file script to backup the Windows Server 2003 System State to a removable drive: for /f 'Tokens=1-4 Delims=/ '%%i in ('date /t') do. Backup batch files and Backup scripts Tue, 13 Sep 2016 Administration Practice Backup is accessible at the command line just as its predecessors on Windows 2000 and Windows NT were, and if running backup from the command line does not solicit a response from the server, try NTbackup. Apr 16, 2018  How to use the backup feature to back up and restore data in Windows Server 2003. Content provided by Microsoft. You Cannot Back Up or Restore Files; You Cannot Schedule a Backup Operation. This step-by-step article describes how to use the Backup feature to back up and restore data on your Windows Server 2003.

I am trying to create a backup of some local files on one machine, to a networked hard drive on another machine. The source computer is running Windows Server 2008 R2, and the destination machine is running Windows Server 2003 R2. 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. marketingTeraBytemarketingdataMICROSTESTBKUP is where the files will need to end up. The batch file will be executed through the task scheduler, and should run regardless of whether or not a user is logged in. I tried to make the batch file myself, and this was the best I could come up with

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. Where my code starts is after the 'echo DOW' line. Whenever I try to get this to run, the task scheduler returns an operational code 2, and says the operation successfully completed, but none of the files were actually copied.

2003

What really confuses me about this whole thing, is that even though this script doesn't work, despite mapping the drive and using UNC paths, is that the following script created by my boss never mentions any network locations, yet it runs flawlessly and backs up the files to exactly the correct network drive. The Z: drive isn't even mapped on the server that script runs on, and yet it somehow knows it needs to go over the network.:

I've been working on this for days and have had no success. I've tried every possible fix I could think of, and trawled the internet for answers, but to no avail.

Schedule Server 2003 Backup Batch File
user3081481
user3081481user3081481

1 Answer

use this it will work:

Windows scheduler cannot see user map drives so i am creating map drive alias in the code using 'net use' command and after that we can use xcopy command with the newly created alias and sending the out put of the xcopy command to 'e:backup_log.txt' file

Unpack voice_editor.exe to your computer. Download vpm files. Click on Edit–>Change Language ID. A pop-up dialog will appear on your screen asking you to choose the voice file you want to hack. You can even place it on your desktop if you want to. This is a stand-alone executable file and doesn’t need installation.

Xcopy Backup Batch File

saqibahmadsaqibahmad

Not the answer you're looking for? Browse other questions tagged windowsbatch-filenetwork-programmingbackupxcopy or ask your own question.