Jump to content

  •  

  • Photo

    File move app for rebuilding WHS


    • Please log in to reply
    9 replies to this topic

    #1 axoid

    axoid

      HSS Pro

    • Members
    • 196 posts
    • LocationColumbus Ohio

    Posted 22 September 2011 - 09:23 AM

    A couple of weeks ago my ex490’s sys drive developed a fault that prevented the server from booting. I didn’t have any luck with a recovery so I popped in a new drive for sys and stared rebuilding. During the process of moving files from the old data drives to newly created shares I found that I wasn’t satisfied with the file move function in Windows Explorer. Nor did I want to use xcopy, which would cause me to waist time coping duplicate files.

    So I wrote a command line Move app that will move files from one location to another, create the directory structure and only move files that are not already in the target location.

    Does anyone want me to put this tool under downloads?
    • 0

    Bill Rockhold
    HP EX490(E5700 CPU & 2Gb) w/ 5 drive SATA enclosure, WHS v.1
    DIY Build (E5800 CPU & 4Gb), WHS 2011 w/Drive Pool.
    Acer Icona W700 tablet, HP DV7 laptop, DIY Desktop (AMD 965 Black & 8gb)


    #2 dvn

    dvn

      HSS Elite

    • Moderators
    • 1,735 posts

    Posted 22 September 2011 - 10:22 AM

    Sure, and you could post the code here as well.
    • 0

    #3 ikon

    ikon

      HSS Elite Master

    • Donating Member
    • 12,303 posts

    Posted 22 September 2011 - 04:45 PM

    just wondering, why not just use RoboCopy, RoboCopyGUI, or RichCopy?
    • 0

    If at first you don't succeed, do it like your mother told you.


    #4 axoid

    axoid

      HSS Pro

    • Members
    • 196 posts
    • LocationColumbus Ohio

    Posted 23 September 2011 - 06:44 AM

    I didn't realize that I could use robocopy on V1. Just didn't think about it.

    Plus it only took me a couple hours to write my program.
    • 0

    Bill Rockhold
    HP EX490(E5700 CPU & 2Gb) w/ 5 drive SATA enclosure, WHS v.1
    DIY Build (E5800 CPU & 4Gb), WHS 2011 w/Drive Pool.
    Acer Icona W700 tablet, HP DV7 laptop, DIY Desktop (AMD 965 Black & 8gb)


    #5 ikon

    ikon

      HSS Elite Master

    • Donating Member
    • 12,303 posts

    Posted 23 September 2011 - 03:36 PM

    I use RoboCopy on my v1 to backup my data to an external eSATA enclosure every night.
    • 0

    If at first you don't succeed, do it like your mother told you.


    #6 jmwills

    jmwills

      HSS Genius

    • Donating Member
    • 6,922 posts
    • LocationHuntsville, AL

    Posted 23 September 2011 - 03:38 PM

    RoboCopy is very useful in that the file permissions remain intact. If RoboCopy seems a bit overwhelming, you can also look a RichCopy.
    • 0

    Windows 7 Desktop - Antec 100 Case, Intel D8H67BL, OCZ 550W PSU, Intel i3-530 CPU w/16GB G-Skill DDR3 1333 RAM
    Server 2012 - Fractal Arc Midi, CoolerMaster M600 PSU, ASUS P8H67V, Intel i5-2500 CPU w/32GBG-Skill DDR3 1333 RAM, 90 GIG OCZ SSD OS Drive – Roles: Hyper-V (WHS-SharePoint-DC-SQL-Exchange-WSE 2012R2), Print Server - Rocket RAID 2720 4 x 3TB WD Red
    HTPC Build - Silverstone GD05 Case,x 2
    Travel Laptop: Lenovo U310 13.3" Windows 8.1


    #7 ikon

    ikon

      HSS Elite Master

    • Donating Member
    • 12,303 posts

    Posted 23 September 2011 - 04:06 PM

    RoboCopy can seem complicated but, in reality, you mostly only need 1 or 2 command lines, and not many parameters on them either. The benefit is it's so robust. If it says it copied the file successfully, then you know it was.
    • 0

    If at first you don't succeed, do it like your mother told you.


    #8 JerryW

    JerryW

      HSS Pro

    • Members
    • 195 posts

    Posted 29 September 2011 - 01:10 PM

    FYI: TeraCopy is a good GUI-based copy program as well. I use it in my work environment to copy data from server to server.

    Sorry for butting in, just my two cents worth.
    • 0

    #9 ikon

    ikon

      HSS Elite Master

    • Donating Member
    • 12,303 posts

    Posted 29 September 2011 - 03:43 PM

    please JerryW, butt in more often :)
    • 0

    If at first you don't succeed, do it like your mother told you.


    #10 JerryW

    JerryW

      HSS Pro

    • Members
    • 195 posts

    Posted 30 September 2011 - 08:30 AM

    please JerryW, butt in more often :)


    Thanks, ikon
    • 0




    Skins By Invisioneers