How to create automated backup files in vb.net application

How to create automate (or) schedule backup files in vb.net applicatio

Page 1 of 1

5 Replies - 21441 Views - Last Post: 19 January 2010 - 01:11 PM Rate Topic: -----

#1 Nikhita  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-January 10

How to create automated backup files in vb.net application

Posted 12 January 2010 - 11:23 AM

How to create automate (or) schedule backup files in vb.net application using window services
Is This A Good Question/Topic? 0
  • +

Replies To: How to create automated backup files in vb.net application

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,466
  • Joined: 12-June 08

Re: How to create automated backup files in vb.net application

Posted 12 January 2010 - 12:07 PM

Usually you want to back up the DATA not the actual executable.. which one do you want?
Was This Post Helpful? 0
  • +
  • -

#3 sharpy  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 35
  • View blog
  • Posts: 394
  • Joined: 02-June 07

Re: How to create automated backup files in vb.net application

Posted 12 January 2010 - 12:41 PM

Hi

I use this to backup an access database that i am using within my application. I place it in my form load so every time the app starts it backs up the database. So if they make a mess of the database they can go back to an earlier version

 'Backup the database
		FileCopy("c:\cutlassdatafile\Cutlasslathe.mdb", "c:\cutlassdatafile\backupdatabase\Cutlasslathe.mdb")


It may be not what you are looking for but I hope it helps.
Was This Post Helpful? 0
  • +
  • -

#4 Nikhita  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-January 10

Re: How to create automated backup files in vb.net application

Posted 13 January 2010 - 07:37 AM

View PostNikhita, on 12 Jan, 2010 - 10:23 AM, said:

How to create automate (or) schedule backup files in vb.net application using window services


I want to backup the folder containing Data Files (.doc,.xls,.tiff,.pdf...) but not executable file.

View Postmodi123_1, on 12 Jan, 2010 - 11:07 AM, said:

Usually you want to back up the DATA not the actual executable.. which one do you want?


I want to backup the folder containing Data Files (.doc,.xls,.tiff,.pdf...) but not sql database.

Thankq
Was This Post Helpful? 0
  • +
  • -

#5 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,466
  • Joined: 12-June 08

Re: How to create automated backup files in vb.net application

Posted 13 January 2010 - 08:49 AM

View PostNikhita, on 13 Jan, 2010 - 08:37 AM, said:

View PostNikhita, on 12 Jan, 2010 - 10:23 AM, said:

How to create automate (or) schedule backup files in vb.net application using window services


I want to backup the folder containing Data Files (.doc,.xls,.tiff,.pdf...) but not executable file.

View Postmodi123_1, on 12 Jan, 2010 - 11:07 AM, said:

Usually you want to back up the DATA not the actual executable.. which one do you want?


I want to backup the folder containing Data Files (.doc,.xls,.tiff,.pdf...) but not sql database.

Thankq


Oh.. well the IO.File has information on getting a list of files in the directory as well as a 'copy' method to copy from one location to another.

START PROGRAM
IF current date = date for backup
THEN
BEGIN
us the file.io functions to copy each file in what ever directory supplied and to a new directory.
END
END PROGRAM

Was This Post Helpful? 0
  • +
  • -

#6 Nikhita  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-January 10

Re: How to create automated backup files in vb.net application

Posted 19 January 2010 - 01:11 PM

Oh.. well the IO.File has information on getting a list of files in the directory as well as a 'copy' method to copy from one location to another.

START PROGRAM
IF current date = date for backup
THEN
BEGIN
us the file.io functions to copy each file in what ever directory supplied and to a new directory.
END
END PROGRAM

[/quote]

Thank you, I will try.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1