NTBackup restore to a diffrent folder location

Posted on 2009-04-16
Last Modified: 2012-05-06
Hi, I'm try to move some user profiles from one server to another using NTBackup (to keep the file security correct).  Now I'm probably being really thick, but I'm trying to move from:
c:\data\profiles\j.blogs\ on one server, to:
d:\shared\profiles\j.blogs\ on another.
However, when I use the alternative location option in ntbackup the files restore to:

How can I get ntbackup to restore the j.blogs folder to the correct location whilst keeping the security?

Thanks in advance.
Question by:Claimar
    LVL 10

    Expert Comment

    I can't see that you an with NTBackup - but a good alternative is Robocopy which will allow you to keep the security.
    Incidentally - MOVING the files keeps the security as well (copy will inherit)
    LVL 1

    Accepted Solution

    Download and install robocopy (I've attached a zipped copy of the version of Robocopy I used) then issue the command below.  An explanation of each parameter used is below.

    robocopy \\source.path \\destination.path /E /ZB /COPYALL /MIR /R:1 /W:3 /LOG+:filename.txt

    REM /E Copies all subdirectories (including empty ones).
    REM /ZB Tries to copy files in restartable mode, but if that fails with an Access Denied error, switches automatically to Backup mode.
    REM/COPYALL Copies Everything. Equivalent to /COPY:DATSOU.
    REM /MIR Mirrors a directory tree (equivalent to running both /E and /PURGE).  This will delete from destination anything that has already been copied to the destination but has been deleted from the source.
    REM /R:1 Specifies the number of retries on failed copies. (The default is 1 million.)  ADDS A LOT OF TIME PER RE-TRY...
    REM /W:3 Specifies the wait time between retries. (The default is 30 seconds.)
    REM /V Produces verbose output (including skipped files).  Allows me to watch all messages while copy is in progress...including what it is copying...yikes!
    /LOG+:filename.txt Redirects output to the specified file, appending it to the file if it already exists.

    **This program copies the files under the folder indicated for source.  The destination will create the folder but the name will *need* to be provided for the destination...
    LVL 2

    Expert Comment


    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now