Page 1 of 1 1
Topic Options
#37367 - 2003-03-05 11:15 PM User Files Backup
Bob Deerinwater Offline
Starting to like KiXtart

Registered: 2002-05-05
Posts: 101
Loc: Covina California
We are currently tryiing to back up our users data files on our servers. Problem is that users do not have hoime directories and not only that most everything that they have created resides on local drive. My directors has come up with a bat file that uses xcopy. But it is a pain in the ... to implement. Requires touchiing all pc's and set up of task. here is what it looks like. I hope someone can make this process easier
code:
echo off

:: CVHP Backup Script FOR USERS.


:: Determine operating system

Echo Backing Up *.doc, *.xls, *.mdb, *.ppt, *.mdb, *.Vsd
Sleep 2
net use h: \\server\username

XCOPY C:*.doc h:\%username%\CFILES\*.* /S /D
XCOPY D:*.doc h:\%username%\DFILES\*.* /S /D
XCOPY C:*.xls h:\%username%\CFILES\*.* /S /D
XCOPY D:*.xls h:\%username%\DFILES\*.* /S /D
XCOPY C:*.ppt h:\%username%\CFILES\*.* /S /D
XCOPY D:*.ppt h:\%username%\DFILES\*.* /S /D
XCOPY C:*.mdb h:\%username%\CFILES\*.* /S /D
XCOPY D:*.mdb h:\%username%\DFILES\*.* /S /D
XCOPY C:*.vsd h:\%username%\CFILES\*.* /S /D
XCOPY D:*.vsd h:\%username%\DFILES\*.* /S /D
Echo Personal Settings
Sleep 2
Echo Backup Complete
Sleep 2

exit



Top
#37368 - 2003-03-06 04:52 AM Re: User Files Backup
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Why not od this remotely through the administrative shares. Run the script form the server.
code:
xcopy "\\workstation\c$\*.doc" "h:\%username%\CFILES\*.*" /S /D

with a KiXtart script that has a list of computers/extensions and loops through them.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.055 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org