Questions

Automatici Backup of Laptop to a mapped drive on Windows Server

Tags:
+
0 Votes
Locked

Automatici Backup of Laptop to a mapped drive on Windows Server

rc
I am needing a backup software with an agent that I can load on multiple laptops that will automatically kickoff a backup to a mapped drive to a Windows 2003 server, when it connects to our LAN. I have several people that work in the field and I want to backup their laptops automaticallly when they come in to the office and connect to the network. Any Suggestions?
  • +
    0 Votes
    ComputerCookie

    a shortcut on the desktop could run the script.

    +
    0 Votes
    Jacky Howe

    :: Backup Utility

    You could copy and save this Batch file to the root directory on the PC's and call it from your logon script as long as the Drive is Mapped for the user it should work. You can use either %COMPUTERNAME% OR %USERNAME%. You will have to modify it to suit your needs.

    ==========================================================================
    @echo off
    :: variables
    set drive=S:\%USERNAME%
    set backupcmd=xcopy /s /c /d /e /h /i /r /k /y

    if not exist "%drive%\%USERNAME%" mkdir "%drive%\%USERNAME%"

    :: echo ### Backing up My Documents...
    if not exist "%drive%\My Documents" mkdir "%drive%\My Documents"
    %backupcmd% "%USERPROFILE%\My Documents" "%drive%\My Documents"

    echo ### Backing up email and address book (Outlook Express)...
    if not exist "%drive%\Address Book" mkdir "%drive%\Address Book"
    %backupcmd% "%USERPROFILE%\Application Data\Microsoft\Address Book" "%drive%\Address Book"
    if not exist "%drive%\Outlook Express" mkdir "%drive%\Outlook Express"
    %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Identities" "%drive%\Outlook Express"

    echo ### Backing up email and contacts (MS Outlook)...
    if not exist "%drive%\Outlook" mkdir "%drive%\Outlook"
    %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook" "%drive%\Outlook"

    :: echo ### Backing up the Registry...
    :: if not exist "%drive%\Registry" mkdir "%drive%\Registry"
    :: if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg"
    :: regedit /e "%drive%\Registry\regbackup.reg"

    :: use below syntax to backup other directories...
    :: %backupcmd% "...source directory..." "%drive%\...destination dir..."

    if not exist "%drive%\Data" mkdir "%drive%\Data"
    %backupcmd% "C:\Data" "%drive%\Data"

    ============================================================================

    You can update all of the Workstations at once using this technique.

    Create and run this from the file server. You will need 2 files. The first one is the .bat the second is a text file with a list of workstations that you need to add to in the same format.
    C:\test is a folder on the File Server, place the file that you want copied in there. If the file exists on the Workstation it will be overwritten.

    File 1 = copyto.bat

    FOR /F " tokens=1 " %%i in (WS.txt) do copy C:\test\*.* "%%i\C$"


    Put your files that you want copied into a folder EG: c:\test

    File 2 = WS.txt

    \\ws01.minero.local
    \\ws02.minero.local

    +
    0 Votes
    rc

    Does anybody know of a good Backup Software I could use that would utililze an agent on the laptops and search for the LAN connection and automatically start a backup. Due to the short times of the engineers in the office, I would only like to do delta changed backups. I think Symantec Backup Exec 12 will do it but also wanted to see if anybody knew anything else.

    +
    0 Votes
    Jacky Howe

    as I only use NTBackup for the File Servers and that Batch File that will do an incremental Backup after the first run if I need something from a Workstation. Which I might add is a rarity. :)

    +
    0 Votes
    Daniel.Muzrall

    Check out the backup tools offered on SourceForge at http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words=backup

    You'll have to look through the the results to determine which solution is best for your. Please note that many tools offered here are for Linux/UNIX, but there are many Windows-based tools tool.

    +
    0 Votes
    pauljacobs

    Try - www.druvaa.com/insync/laptop-backup

    It takes secure automated backup for LAN/VPN/WAN users.

    Uses data deduplication to save only a single copy of duplicate emails/documents and save over 90% bandwidth/storage.


    Paul,
    (Part of Druvaa Team)

    +
    0 Votes
    Jay217

    What happens if the system breaks/lost/stolen in between backups? It may be a better option to get a remote back up solution and configure it for each user. Something like carbonite for example.

  • +
    0 Votes
    ComputerCookie

    a shortcut on the desktop could run the script.

    +
    0 Votes
    Jacky Howe

    :: Backup Utility

    You could copy and save this Batch file to the root directory on the PC's and call it from your logon script as long as the Drive is Mapped for the user it should work. You can use either %COMPUTERNAME% OR %USERNAME%. You will have to modify it to suit your needs.

    ==========================================================================
    @echo off
    :: variables
    set drive=S:\%USERNAME%
    set backupcmd=xcopy /s /c /d /e /h /i /r /k /y

    if not exist "%drive%\%USERNAME%" mkdir "%drive%\%USERNAME%"

    :: echo ### Backing up My Documents...
    if not exist "%drive%\My Documents" mkdir "%drive%\My Documents"
    %backupcmd% "%USERPROFILE%\My Documents" "%drive%\My Documents"

    echo ### Backing up email and address book (Outlook Express)...
    if not exist "%drive%\Address Book" mkdir "%drive%\Address Book"
    %backupcmd% "%USERPROFILE%\Application Data\Microsoft\Address Book" "%drive%\Address Book"
    if not exist "%drive%\Outlook Express" mkdir "%drive%\Outlook Express"
    %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Identities" "%drive%\Outlook Express"

    echo ### Backing up email and contacts (MS Outlook)...
    if not exist "%drive%\Outlook" mkdir "%drive%\Outlook"
    %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook" "%drive%\Outlook"

    :: echo ### Backing up the Registry...
    :: if not exist "%drive%\Registry" mkdir "%drive%\Registry"
    :: if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg"
    :: regedit /e "%drive%\Registry\regbackup.reg"

    :: use below syntax to backup other directories...
    :: %backupcmd% "...source directory..." "%drive%\...destination dir..."

    if not exist "%drive%\Data" mkdir "%drive%\Data"
    %backupcmd% "C:\Data" "%drive%\Data"

    ============================================================================

    You can update all of the Workstations at once using this technique.

    Create and run this from the file server. You will need 2 files. The first one is the .bat the second is a text file with a list of workstations that you need to add to in the same format.
    C:\test is a folder on the File Server, place the file that you want copied in there. If the file exists on the Workstation it will be overwritten.

    File 1 = copyto.bat

    FOR /F " tokens=1 " %%i in (WS.txt) do copy C:\test\*.* "%%i\C$"


    Put your files that you want copied into a folder EG: c:\test

    File 2 = WS.txt

    \\ws01.minero.local
    \\ws02.minero.local

    +
    0 Votes
    rc

    Does anybody know of a good Backup Software I could use that would utililze an agent on the laptops and search for the LAN connection and automatically start a backup. Due to the short times of the engineers in the office, I would only like to do delta changed backups. I think Symantec Backup Exec 12 will do it but also wanted to see if anybody knew anything else.

    +
    0 Votes
    Jacky Howe

    as I only use NTBackup for the File Servers and that Batch File that will do an incremental Backup after the first run if I need something from a Workstation. Which I might add is a rarity. :)

    +
    0 Votes
    Daniel.Muzrall

    Check out the backup tools offered on SourceForge at http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words=backup

    You'll have to look through the the results to determine which solution is best for your. Please note that many tools offered here are for Linux/UNIX, but there are many Windows-based tools tool.

    +
    0 Votes
    pauljacobs

    Try - www.druvaa.com/insync/laptop-backup

    It takes secure automated backup for LAN/VPN/WAN users.

    Uses data deduplication to save only a single copy of duplicate emails/documents and save over 90% bandwidth/storage.


    Paul,
    (Part of Druvaa Team)

    +
    0 Votes
    Jay217

    What happens if the system breaks/lost/stolen in between backups? It may be a better option to get a remote back up solution and configure it for each user. Something like carbonite for example.