Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


PC Backup

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,53739
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> PC Backup
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 PC Backup - 11/22/2007 3:23:35 AM   
  ninjamaster

 

Posts: 23
Score: 0
Joined: 1/23/2007
Status: offline
I created this script (My 1st proper grown up one!) to assist our build guys at work to backup files/folders on old PC's before they swap them out.

It asks where you want the files to be backed up to (C:\FolderName) or even (\\ServerName\Volume\Folder).

Then asks for file types to backup (doc, xls, txt)

Asks which user profiles to backup.

It then backsup all the file types as requested retaining the folder structure.

And then backsup the "My Documents", "favorites" & "Notes Data" folders from the profiles requested.

The script could be altered to include any folders on the PC that you require.

Oh and it writes a logfile to show what was copied.

In theory you could run this on your PC and remotely backup PC by changing line Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") to Set objWMIService = GetObject("winmgmts:\\PCNAME\root\cimv2") but I've not tried it!


      
 
 
Post #: 1
 
 RE: PC Backup - 4/18/2008 3:51:28 AM   
  hww

 

Posts: 11
Score: 0
Joined: 9/27/2007
Status: offline
tested OK!

(in reply to ninjamaster)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> PC Backup Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts