Automating Backup using C#

  • Thread starter Thread starter Mr. Bean
  • Start date Start date
M

Mr. Bean

Hello, I'm developing a small web application that will in some stage
add backup tasks to the task scheduler. The application is responsible
for backing up files. I want to use ntbackup for this but i dont know
how to launch the utility from C#/ asp.net and pass parameters.. Any
ideas?
 
Hello Mr. Bean,

use Process.Start methods
For ASP.net you need to set specific rights or impersonate user, because
by default you can't call external process from ASP.net

M> Hello, I'm developing a small web application that will in some stage
M> add backup tasks to the task scheduler. The application is
M> responsible for backing up files. I want to use ntbackup for this but
M> i dont know how to launch the utility from C#/ asp.net and pass
M> parameters.. Any ideas?
M>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top