+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Server 2003, NTBackup and Scheduled Tasks in Technical; Just a quickie (hopefully) - I must be being thick somewhere but I can't think where. Server 2003, USB HDD ...
  1. #1

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65

    Server 2003, NTBackup and Scheduled Tasks

    Just a quickie (hopefully) - I must be being thick somewhere but I can't think where.

    Server 2003, USB HDD attached, trying to schedule a daily differential backup of user areas to it... Created a scheduled task for the backup then modified to add the date to the backup file as a parameter. If I run the following from the server command line

    C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator.AHS1\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Daily Diff Backup.bks" /a /d "Set created %date:/=-%" /v:yes /r:no /rs:no /hcff /m differential /j "Daily Diff Backup" /l:s /f "F:\BK\backup%date:/=-%.bkf"

    it works perfectly, backs up as expected (for anyone wondering, the %date:/=-% inserts the date but with / substituted by -) and logs to the correct file.

    If I use Run from scheduled tasks to try and check that it's going to work ok, ntbackup flashes up and disappears. A blank backup log file is created, no errors logged in the event log. Is this normal behaviour? Am I missing something obvious? Will it not work when Run manually but work ok on schedule, or is running manually an ok way to verify it will work when scheduled?

    Argh.

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227
    Ah ha, yes. Been here, fixed this. The trick is to put your backup command in a batch file and run that from your scheduled tasks.

  3. #3

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65
    Gah. Moved to .bat and sorted. Cheers!

    Why on earth does the backup wizard add it as a scheduled task if it's not going to work?

  4. #4

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,631
    Thank Post
    747
    Thanked 1,707 Times in 1,520 Posts
    Rep Power
    437
    Dunno but if you want to configure ntbackup and have flexability buy backupassist.

    Ben

  5. #5

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65
    Does it add anything beyond being a clever GUI for creating backup jobs? Looking at the website and I don't see much beyond what I can already do with a bit of hacking around. Once it's up and running with my normal/diffs scheduled, I won't need to touch it again so it seems an odd thing to have an app for. Ta for the suggestion though!

  6. #6

    Join Date
    Oct 2009
    Location
    São Paulo
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    NTBACKUP - File Backup

    Ok,

    I understud about the /um at the end of command line to backups in tapes devices. But i have daily automated backups in diferent tasks (one task for each day of week) to generate monday.bkf, tuesday.bkaf, etc...

    The tasks are identical and was created with the same user, using the same user for the job. Some days work, some days not. In my schedule tasks the status is the same for all jobs (0x0) and in schedule log the task run for just few seconds (5 or 6 seconds).

    Any sugestions?

    Sorry about my bad english, i'm from Brasil and it's my first post.

    Thanks everybody



SHARE:
+ Post New Thread

Similar Threads

  1. Outlook 2003 and Exchange Server 2003
    By faza in forum How do you do....it?
    Replies: 9
    Last Post: 8th October 2009, 09:16 PM
  2. Looking for a little help with scheduled tasks
    By cromertech in forum Windows Vista
    Replies: 1
    Last Post: 8th February 2008, 05:28 PM
  3. ntbackup B2D scheduled job problems
    By randle in forum Windows
    Replies: 2
    Last Post: 2nd July 2007, 03:05 PM
  4. Restore scheduled tasks
    By Jobos in forum Windows
    Replies: 1
    Last Post: 22nd June 2007, 01:07 PM
  5. RE-installing Exchange Server 2003 onto Server 2003
    By faza in forum Wireless Networks
    Replies: 6
    Last Post: 24th July 2006, 12:20 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •