1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

User triggered ntbackup operation

Discussion in 'Windows XP' started by maddogrnnsn, 2005/03/31.

Thread Status:
Not open for further replies.
  1. 2005/03/31
    maddogrnnsn

    maddogrnnsn Inactive Thread Starter

    Joined:
    2003/03/21
    Messages:
    34
    Likes Received:
    0
    Hi all,
    I have a laptop on a network (he is the only "mobile user "), what I would like to achieve is a single/double-click solution so that the user can run ntbackup of all local data/system state to a share on server (W2K server) at his time of choosing e.g before he goes mobile and when he returns to the office.

    I guess I need a batch file which he can just run when convenient.

    Hope someone can help.

    Thanks in advance

    Colin
     
  2. 2005/03/31
    Mron

    Mron Inactive

    Joined:
    2005/02/15
    Messages:
    47
    Likes Received:
    0
    Have a look at This Page for the ntbackup commandline syntax.

    And look on This Page for a few examples.

    Basically all you need is a one line batch file to make the backup and store it on the server.
    However there are other things to consider as well.
    How much space will one backup take, and how much space do you want to reserve for future backups.
    Will the backup overwrite the existing one, append to it, etc?
    Will you keep a weeks worth of backups, or a month etc?

    You could write a batch file to date each file, and delete old backups every week, month etc.

    Here is an example I use to create a backup of the SystemState (only the systemstate, no files/folders) into a folder on my desktop called "MyBackup "
    The backup file(systemstate.bkf) is around 150 mb

    Code:
    ntbackup backup systemstate /j  "Command Line Backup 4" /f  "%userprofile%\desktop\mybackup\System\systemstate.bkf "
    Note: This bulletin board is messing up the code. There is NO space between the . and bkf at the end of the line.

    Here's another more suited to your needs:

    Code:
    ntbackup backup systemstate c:\ /j  "Command Line Backup 4" /f  "\\servername\pathtofolder\backupfilename.bkf "
    Note: You would need to change the "servername\pathtofolder\backupfilename" to suit your situation
     
    Last edited: 2005/03/31
    Mron,
    #2

  3. to hide this advert.

  4. 2005/03/31
    maddogrnnsn

    maddogrnnsn Inactive Thread Starter

    Joined:
    2003/03/21
    Messages:
    34
    Likes Received:
    0
    Thanks for your reply Mron, I was just about to EDIT to indicate that I had worked it out. Your link for the syntax will be useful however to tweak it.

    Thanks
     
  5. 2005/03/31
    Mron

    Mron Inactive

    Joined:
    2005/02/15
    Messages:
    47
    Likes Received:
    0
    Your welcome maddogrnnsn.

    I was editting my post as well.

    Don't forget about the backups created, they can take up a lot of space over time if old ones aren't deleted periodically.

    Have a great day.
     
    Mron,
    #4
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.