Automatic backup of a database using C#.net

  • Thread starter Thread starter Mrs Nishad
  • Start date Start date
M

Mrs Nishad

Guest
Sir/Madam

Currently I am doing a project based on Automatic Backup.i have placed five options,

1. Hourly

2. Daily

3. Weekly

4. Monthly

5. Yearly

I keep a xml file for storing the details of type of backup. the file looks likes

<?xml version="1.0" encoding="UTF-8"?>

<Backups>

<TypeofBackups>Hourly</TypeofBackups>

<Hour>02:00:00</Hour>

<Time>01-01-0001 00:00:00</Time>

<Day>0</Day>

<Week/>

<Month/>

</Backups>

if it is hourly there should be another file for storing last backup time. and i want to add a timer to the project and it should be work in some intervals and check the details with the xml file. if the condition satisfies, backup should work.

In my project, everything is working except the timer. my project is run only once for selecting the options. and to run the program automatically according to the time interval. Kindly provide me the guidelines.



Mrs Nishad

Continue reading...
 
Back
Top