GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on Petri.com - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

NTBackup Batch File Error

Home Forums Client Operating Systems Windows 2000 Pro, XP Pro NTBackup Batch File Error

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    caomhim
    Member
    #130231

    Hello Colleagues

    I was trying to set up a generic ntbackup batch file that would backup the document and settings of certain user machines to a share . Operating System used is XP Pro. However I ran into trouble with the script when it refuses to work. A look in the event viewer shows the following :-

    Type: Error
    Date: 07/02/2008
    Time: 08:56:53
    Event: 8017
    Source: NTBackup
    Category: None
    User: N/A
    Computer: WIL5H85Y0J
    Description:
    NTBackup error: ‘Invalid command line parameter ‘”@c:Exchange2008′.’

    Type: Error
    Date: 07/02/2008
    Time: 08:56:52
    Event: 8017
    Source: NTBackup
    Category: None
    User: N/A
    Computer: WIL5H85Y0J
    Description:
    NTBackup error: ‘Expecting more command line parameters.’

    The script used is as follows:-

    setlocal
    set USERPROFILE1 = “\%COMPUTERNAME%C$Documents and Settings%USERNAME%My Documents”
    net use W: \WILWCAPW3463480%COMPUTERNAME% /USER:WILWCAPW3463480%COMPUTERNAME% wilsonuk
    ntbackup backup /j “WEEKLY BACKUP” %USERPROFILE1% /f W:%COMPUTERNAME%.bkf /um
    ntbackup backup /j “EXCHANGE BACKUP” “@c:Exchange2008” /f W:%COMPUTERNAME%-Exchange.bkf /um
    net use W: /delete
    endlocal

    Any ideas what I might be doing wrong ? Have I ran into an undocumented issue with NTBackup ?

    Regards

    Caomhim

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.