Jump to content

fat_techie_virgin

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral

About fat_techie_virgin

  1. Thanks to both for your assistance. Unfortunately I still could not get it to work, so I used the free technet download Robocopy.gui to start from scratch and that was actually OK. I recommend any Robocopy newbies to check it out.
  2. Hi, Good spot on the extra ". I copied the rest of the first line without really knowing what it meant - i assumed % meant any (or the system) directory. I changed it to SET robo_path="\\server1\c$\RoboCopy.exe" but it still doesn't work :-(
  3. Don't flame me too hard guys as I am command line-phobic and I am new to this. Basically, I want to setup a test system before rolling out to production. I want to copy the folder structure of the backup area, and move any files contained there that are over 60 days old and are not in the folders and files I have specified. I also want to keep the file attributes regarding security and time stamps etc. I have scheduled this test script and it ran, but didn't actually move anything. I would greatly appreciate help in finding out where I have gone wrong. Basically, I have cannibalised various scripts I found on the internet to come out with what is below: :START SET robo_path="\\server1\"%RoboCopy%" SET source_dir="\\server1\tom_temp" SET dest_dir="\\server2\Backup_Archive" SET log_fname="\\server2\Backup_Archive\Backup_Logs\Backup_Archive.txt" SET what_to_copy=/COPY:DAT /MOV /B /MIR SET exclude_dirs=/XD "banks" "colin temp" SET exclude_files=/XF /MINAGE:60 *.tmp "vssver.scc" SET options=/R:1 /W:1 /LOG+:%log_fname% /NFL /NDL /E /XJ %robo_path% %source_dir% %dest_dir% %what_to_copy% %options% %exclude_dirs% %exclude_files%
×
×
  • Create New...