Forum Discussion

jwithamwellcome's avatar
5 years ago

GUI Restore Works, CLI Restore Fails

Hi, We are running a restore in the GUI and it works perfect and then tried to script this restore, see script below but every time it throws this error - EXIT STATUS 2808: MS-windows policy restore...
  • davidmoline's avatar
    davidmoline
    5 years ago

    Look at the rename file again - I think you may be missing a new line. From the commands reference guide (the emphasis is mine). 

    For example, the following entry renames C:\fred.txt to C:\fred2.txt:
    rename 11 /C/fred.txt 12 /C/fred2.txt
    (Be sure to end the entry with a return.)

    Your rename file doesn't appear to to have a new line at the end. I think what may be happening is it is attempting to restore the file to the original location on the destination server hence the strange error (as I assume the destination server doesn't have DFSR running).