pst backup

This topic contains 12 replies, has 5 voices, and was last updated by Avatar EarthReactor 5 years, 6 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • Avatar
    Dell
    Member
    #162719

    Hello
    i need software (free) that can be able to backup outlook PST to LAN
    Operating system: XP prowin7 64 bit
    Thanks

    Avatar
    Ossian
    Moderator
    #189059

    Re: pst backup

    How about a script that:
    1) Terminates Outlook (if running)
    2) Copies the PST to the LAN
    3) Restarts Outlook
    This could be run as a scheduled task

    VBScript would certainly do it, but I suspect a batch file would too

    Cost (excluding your time): Zero

    Avatar
    uk_network
    Member
    #307863

    Re: pst backup

    Can you not just relocate the pst to the persons home area H: and backup their home drive?.

    Avatar
    Ossian
    Moderator
    #189062

    Re: pst backup

    MS explicitly state that PST files should not run over a LAN – risk of corruption if anything drops on the connection.

    For once I agree with them – have seen issues with network based PSTs

    Avatar
    uk_network
    Member
    #307865

    Re: pst backup

    Yes, I agree. Most likely not the best idea, and if possible to not use PST’s at all. I’ve seen many places which operate this way with PST’s in home drives and corruption never really been a major issue.

    Avatar
    Dell
    Member
    #295766

    Re: pst backup

    Thanks for all the answers
    Can same one guide me how to do this with VBscript? ,
    i prefer to schedule the backup by software
    Again thanks

    Avatar
    Ossian
    Moderator
    Avatar
    Dell
    Member
    #295767

    Re: pst backup

    any review about this
    http://www.safepstbackup.com/?pcode=103100717pwlkd3&gclid=CLTbjb6e87oCFUNe3godwBcADg

    Avatar
    Ossian
    Moderator
    #189067

    Re: pst backup

    Personally, never heard of it (but that is the same for many applications)

    Avatar
    EarthReactor
    Member
    #377096

    Re: pst backup

    I’m sure there’s a Microsoft outlook backup that you install to outlook and you can set it to prompt the user every time outlook closes, to back up.

    If you want to automate it, I do have a (crude) bat script that will check if outlook is open, close it if neccesary, then back up to a network share.
    I think it keeps 3 copies on rotation as well.

    It’s very basic though and needs manual modification to suit your file paths and so on.
    Please pm me if you want it, or I can post link here if allowed.

    Avatar
    Ossian
    Moderator
    #189097

    Re: pst backup

    Feel free to post a link (preferably to a txt file – risk of viruses with zips)

    You have 92 posts, so are a valued member

    Avatar
    EarthReactor
    Member
    #377097

    Re: pst backup

    Thanks, nice to be valued:) Should try to post more really.

    Anyway, here is script, but as I said its very basic:
    It should be stored in c:backup
    And you need to change a fair bit in it – data location, UNC path to backup share as well as creating a mapped drive to the backup share.

    Also it requires a few things to run.
    You should have the following present in c:backup:

    1. 7Z command line tool (7za.exe) available here – http://downloads.sourceforge.net/sevenzip/7za920.zip
    2. Blat command line email tool, available here – http://sourceforge.net/projects/blat/

    I think blat requires net framework 2 or above as well.
    Dont know if its what your looking for or too basic.

    @echo off

    REM set a few variables

    SET name=youridentifier
    SET datadrive=c:
    SET data=C:Documents and SettingsUserLocal SettingsApplication DataIdentities{DFF16927-88E6-4EAA-A097-460B7E65289B}MicrosoftOutlook Express

    REM kill outlook if it can be found

    taskkill /IM OUTLOOK.exe

    PING 1.1.1.1 -n 1 -w 6000 >NUL

    REM check if outlook can still be found in task list
    set tempfile=bdw.txt
    del %tempfile%
    tasklist > %tempfile%
    type %tempfile% | find /i “OUTLOOK.exe”
    if errorlevel 0 if not errorlevel 1 goto IsRunning
    echo isnt running

    :exit
    del %tempfile%
    goto :ready

    exit

    :IsRunning

    REM outlook was found, send notification pertaining to this

    echo outlook could not be closed %name% >body.txt

    blat body.txt -s [“ERROR”] -t [email protected] -server smtp.server.com -f [email protected] -u [email protected] -pw password

    del body.txt

    goto :lastly

    REM otherwise, lets proceed

    :ready

    REM using 7zip to create tarball of data location (PSTs) then move the tar to network
    REM use full UNC path here – expects a folder on location named the same as
    REM our name variable

    cls
    @echo on
    7za.exe a -ttar email1.tar “%data%” -mmt -mx0
    move email1.tar \192.168.1.2ebackup%name%

    GOTO :end

    :end

    REM we need a mapped drive that resolves to our above UNC so we can navigate to it
    REM using K: in this case
    REM now we’ll get a directory output to send via email on completion

    k:
    cd %name%

    dir /t:c /t:w /s /q *.*>”C:backupbody.txt”

    c:
    cd c:backup

    blat body.txt -s [“SUCCESS – Please check output – %name% “] -t [email protected] -server smtp.server.com -f [email protected] -u [email protected] -pw password

    del body.txt

    :lastly

    [/CODE][CODE]

    @echo off

    REM set a few variables

    SET name=youridentifier
    SET datadrive=c:
    SET data=C:Documents and SettingsUserLocal SettingsApplication DataIdentities{DFF16927-88E6-4EAA-A097-460B7E65289B}MicrosoftOutlook Express

    REM kill outlook if it can be found

    taskkill /IM OUTLOOK.exe

    PING 1.1.1.1 -n 1 -w 6000 >NUL

    REM check if outlook can still be found in task list
    set tempfile=bdw.txt
    del %tempfile%
    tasklist > %tempfile%
    type %tempfile% | find /i “OUTLOOK.exe”
    if errorlevel 0 if not errorlevel 1 goto IsRunning
    echo isnt running

    :exit
    del %tempfile%
    goto :ready

    exit

    :IsRunning

    REM outlook was found, send notification pertaining to this

    echo outlook could not be closed %name% >body.txt

    blat body.txt -s [“ERROR”] -t [email protected] -server smtp.server.com -f [email protected] -u [email protected] -pw password

    del body.txt

    goto :lastly

    REM otherwise, lets proceed

    :ready

    REM using 7zip to create tarball of data location (PSTs) then move the tar to network
    REM use full UNC path here – expects a folder on location named the same as
    REM our name variable

    cls
    @echo on
    7za.exe a -ttar email1.tar “%data%” -mmt -mx0
    move email1.tar \192.168.1.2ebackup%name%

    GOTO :end

    :end

    REM we need a mapped drive that resolves to our above UNC so we can navigate to it
    REM using K: in this case
    REM now we’ll get a directory output to send via email on completion

    k:
    cd %name%

    dir /t:c /t:w /s /q *.*>”C:backupbody.txt”

    c:
    cd c:backup

    blat body.txt -s [“SUCCESS – Please check output – %name% “] -t [email protected] -server smtp.server.com -f [email protected] -u [email protected] -pw password

    del body.txt

    :lastly

    [/CODE]

    JeremyW
    JeremyW
    Moderator
    #270740

    Re: pst backup

    How about PFBackup from MS?
    http://www.microsoft.com/en-us/download/details.aspx?id=9003

    I’ve used it through Outlook 2007… maybe 2010. Can’t remember.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.