Backup program in VB.Net

Posted on 2006-05-08
Last Modified: 2008-02-01
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
Question by:RunForrestRun
    LVL 7

    Expert Comment

    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.

    Author Comment

    We're running XP Pro SP2 for the users and the network drive is Windows 2000 Server SP4.
    LVL 7

    Accepted Solution

    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.  

    Author Comment

    Thanks wtconway...I appreciate it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now