[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 420
  • Last Modified:

Backup program in VB.Net

Hi,
I am trying to write a little backup program in VB.Net (using Visual Studio 2003) for the company I work for. I'm studying hard trying to become a programmer and am having trouble trying to figure out how to write this little program. I want to have the employees run the program on their workstations and have it dump to a network drive, say, something like twice a week.
Any advice will be appreciated. Thanks
0
RunForrestRun
Asked:
RunForrestRun
  • 2
  • 2
1 Solution
 
wtconwayCommented:
What operating systems do the users have? And what operating system is the networked drive on? You may not even have to write a program for this. The OS may be able to handle it.
0
 
RunForrestRunAuthor Commented:
We're running XP Pro SP2 for the users and the network drive is Windows 2000 Server SP4.
0
 
wtconwayCommented:
I would not recommend an application that push files from one computer to another.  I would suggest you setup a share on a network computer (we will call this the server).  From there I would then map a drive (we will call this M:) on each users computer to their share on the server.  For example, for me (travis) I would do this:

Setup a directory on the server called travis where I want to share everything. (i.e., C:\Users\travis)
I would then share this as "travis".
I would go to my computer and map M: as \\Server\travis
I would then right click on my My Documents (From the Desktop or Start menu) and choose Properties.  I would then click the Move button under the Target tab and point this to my new M: drive.

Now, you may be asking yourself, why would I want do this?  Well I will tell you.
1. This stores all the data on the server from the get go.  You can then have a tape backup or RAID setup for redundancy backup.
2. Windows XP Pro has a nice synchronize feature so that if you get disconnected from your server, you still have access to the files from  your desktop.  When you reconnect it will sync it back up.  There are some files which will NOT synchronize, such as Microsoft Access Databases, but your other Office documents will be OK.  It will even tell you if it has a problem such as the file on the server and the computer have changed, but they are still different and will ask you which one to keep or rename so you can compare them later.

This keeps .Net from having to worry about network security and you having to tell every desktop that \\Server\<<your share>> is a trusted place to read and write files.  
0
 
RunForrestRunAuthor Commented:
Thanks wtconway...I appreciate it.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now