Jump to content

arrowpc

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by arrowpc

  1. sorry guys I should have made myself more clear. I am usine vista at home and that is what that script was for and it does work. But the clients server that i built has server 2003 on it. i hope that this helps.
  2. Hi everyone. First Post here but have watched alot of episodes. I have recently discovered scripting but this one bakes my noodle. I have a big client for my computer business that I have just built a server for, well the customer has just informed me that they would now like to do automated back-ups to an external HDD. So the problem that I face is I have only ever played with this script that I found here : @echo off :: variables set drive=D:Backup set backupcmd=xcopy /s /c /d /e /h /i /r /k /y echo ### Backing up Documents. . . %backupcmd% "%USERPROFILE%" "%drive%Arrow" echo ### Backing up Favorites. . . %backupcmd% "%USERPROFILE%Favorites" "%drive%Favorites" echo ### Backing up email and contacts (MS Outlook). . . %backupcmd% "%USERPROFILE%Local SettingsApplication DataMicrosoftOutlook" "%drive%Outlook" :: use below syntax to backup other directories. . . :: %backupcmd% ". . . source directory. . . " "%drive%. . . destination dir. . . " echo Backup Complete! @pause :: change to the destination drive first D: :: your parent backup directory drive=D:Backup echo ### Searching for files to clean up. . . cd %drive% dir /s/b/ad cookies > %drive%cleanup. txt dir /s/b/ad temp > %drive%cleanup. txt dir /s/b/ad history > %drive%cleanup. txt echo ### Deleting cookies, temp files and history from backup dir for /f "delims=" %%J in (%drive%cleanup. txt) do rd "%%J" /Q/S echo Cleanup complete @pause which I have modified to work under vista instead of xp. So the question that I have is can i use this script for there auto backup or does it need to be modified ? They would like all of the information backed up for each user on the server including e-mail's ( basically friggin everything ). Can you PLEASE help me i have tried to mod the script above but just cannot get it to work. PLease Please Please HELP !!!!!! P. S this script needs to be FULLY automated with no user interactrion what so ever as no-one has any acces to the administrator accountr other than me. Thanks in advance.
×
×
  • Create New...