PC Review


Reply
Thread Tools Rate Thread

Database backup from a web browser

 
 
Tamer Ibrahim
Guest
Posts: n/a
 
      11th Mar 2008
Hi,
Can I backup & restore my sql server database from aspx page located on a
client machine ?
Thank You.


 
Reply With Quote
 
 
 
 
George Ter-Saakov
Guest
Posts: n/a
 
      11th Mar 2008
Sure you can .


use BACKUP DATABASE sql statement..

Just remember do not connect to the DB you want to back up. Connect to
master DB

George.


"Tamer Ibrahim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> Can I backup & restore my sql server database from aspx page located on a
> client machine ?
> Thank You.
>



 
Reply With Quote
 
Tamer Ibrahim
Guest
Posts: n/a
 
      11th Mar 2008
Thank you for your reply.
How can I implment this?

"George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Sure you can .
>
>
> use BACKUP DATABASE sql statement..
>
> Just remember do not connect to the DB you want to back up. Connect to
> master DB
>
> George.
>
>
> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>> Can I backup & restore my sql server database from aspx page located on a
>> client machine ?
>> Thank You.
>>

>
>



 
Reply With Quote
 
George Ter-Saakov
Guest
Posts: n/a
 
      11th Mar 2008
I am afraid you cant. If you asking this

George.


"Tamer Ibrahim" <(E-Mail Removed)> wrote in message
news:uhV$(E-Mail Removed)...
> Thank you for your reply.
> How can I implment this?
>
> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Sure you can .
>>
>>
>> use BACKUP DATABASE sql statement..
>>
>> Just remember do not connect to the DB you want to back up. Connect to
>> master DB
>>
>> George.
>>
>>
>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hi,
>>> Can I backup & restore my sql server database from aspx page located on
>>> a client machine ?
>>> Thank You.
>>>

>>
>>

>
>



 
Reply With Quote
 
Tamer Ibrahim
Guest
Posts: n/a
 
      11th Mar 2008
Sure I know how to backup and restore a db using sql server 2000 or 2005. Im
asking about how can I provide a web form, using asp.net 2.0, to the client
that can let him or her do the same task remotely?

"George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am afraid you cant. If you asking this
>
> George.
>
>
> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
> news:uhV$(E-Mail Removed)...
>> Thank you for your reply.
>> How can I implment this?
>>
>> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Sure you can .
>>>
>>>
>>> use BACKUP DATABASE sql statement..
>>>
>>> Just remember do not connect to the DB you want to back up. Connect to
>>> master DB
>>>
>>> George.
>>>
>>>
>>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Hi,
>>>> Can I backup & restore my sql server database from aspx page located on
>>>> a client machine ?
>>>> Thank You.
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
siccolo
Guest
Posts: n/a
 
      11th Mar 2008
On Mar 11, 10:53*am, "Tamer Ibrahim" <t.ge...@gmail.com> wrote:
> Sure I know how to backup and restore a db using sql server 2000 or 2005. Im
> asking about how can I provide a web form, using asp.net 2.0, to the client
> that can let him or her do the same task remotely?
>
> "George Ter-Saakov" <gt-...@cardone.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> >I am afraid you cant. If you asking this

>
> > George.

>
> > "Tamer Ibrahim" <t.ge...@gmail.com> wrote in message
> >news:uhV$(E-Mail Removed)...
> >> Thank you for your reply.
> >> How can I implment this?

>
> >> "George Ter-Saakov" <gt-...@cardone.com> wrote in message
> >>news:(E-Mail Removed)...
> >>> Sure you can .

>
> >>> use BACKUP DATABASE *sql statement..

>
> >>> Just remember do not connect to the DB you want to back up. Connect to
> >>> master DB

>
> >>> George.

>
> >>> "Tamer Ibrahim" <t.ge...@gmail.com> wrote in message
> >>>news:(E-Mail Removed)...
> >>>> Hi,
> >>>> Can I backup & restore my sql server database from aspx page located on
> >>>> a client machine ?
> >>>> Thank You.- Hide quoted text -

>
> - Show quoted text -


take a look at my article at
http://www.siccolo.com/Articles/Code..._Database.html


... more at http://www.siccolo.com/articles.asp
 
Reply With Quote
 
George Ter-Saakov
Guest
Posts: n/a
 
      11th Mar 2008
I am not sure what is your question? What exactly is your problem?
"How do i write an application?" is not a question we can help with (except
may be with the answer "hire a programmer")

Can you make a web form that runs "UPDATE" or "SELECT" statement?

If you can then just replace "UPDATE" with "BACKUP DATABASE" and change your
connection string to connect to master database....

If you can not then you will need to go to http://asp.net/learn/ and learn
how to make a web form...




George.


"Tamer Ibrahim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Sure I know how to backup and restore a db using sql server 2000 or 2005.
> Im asking about how can I provide a web form, using asp.net 2.0, to the
> client that can let him or her do the same task remotely?
>
> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I am afraid you cant. If you asking this
>>
>> George.
>>
>>
>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>> news:uhV$(E-Mail Removed)...
>>> Thank you for your reply.
>>> How can I implment this?
>>>
>>> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Sure you can .
>>>>
>>>>
>>>> use BACKUP DATABASE sql statement..
>>>>
>>>> Just remember do not connect to the DB you want to back up. Connect to
>>>> master DB
>>>>
>>>> George.
>>>>
>>>>
>>>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> Hi,
>>>>> Can I backup & restore my sql server database from aspx page located
>>>>> on a client machine ?
>>>>> Thank You.
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
msnews.microsoft.com
Guest
Posts: n/a
 
      11th Mar 2008
If I would hire a programmer, I will not hire such a rude person like you
for sure.
Don't help me again when I ask something else here.

"George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am not sure what is your question? What exactly is your problem?
> "How do i write an application?" is not a question we can help with
> (except may be with the answer "hire a programmer")
>
> Can you make a web form that runs "UPDATE" or "SELECT" statement?
>
> If you can then just replace "UPDATE" with "BACKUP DATABASE" and change
> your connection string to connect to master database....
>
> If you can not then you will need to go to http://asp.net/learn/ and learn
> how to make a web form...
>
>
>
>
> George.
>
>
> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Sure I know how to backup and restore a db using sql server 2000 or 2005.
>> Im asking about how can I provide a web form, using asp.net 2.0, to the
>> client that can let him or her do the same task remotely?
>>
>> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>>I am afraid you cant. If you asking this
>>>
>>> George.
>>>
>>>
>>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>>> news:uhV$(E-Mail Removed)...
>>>> Thank you for your reply.
>>>> How can I implment this?
>>>>
>>>> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> Sure you can .
>>>>>
>>>>>
>>>>> use BACKUP DATABASE sql statement..
>>>>>
>>>>> Just remember do not connect to the DB you want to back up. Connect to
>>>>> master DB
>>>>>
>>>>> George.
>>>>>
>>>>>
>>>>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed)...
>>>>>> Hi,
>>>>>> Can I backup & restore my sql server database from aspx page located
>>>>>> on a client machine ?
>>>>>> Thank You.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
George Ter-Saakov
Guest
Posts: n/a
 
      11th Mar 2008
Sorry that I was rude. I just tried to be truthful.
More painful, but usually works better and faster than half measures.

George.

"msnews.microsoft.com" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If I would hire a programmer, I will not hire such a rude person like you
> for sure.
> Don't help me again when I ask something else here.
>
> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I am not sure what is your question? What exactly is your problem?
>> "How do i write an application?" is not a question we can help with
>> (except may be with the answer "hire a programmer")
>>
>> Can you make a web form that runs "UPDATE" or "SELECT" statement?
>>
>> If you can then just replace "UPDATE" with "BACKUP DATABASE" and change
>> your connection string to connect to master database....
>>
>> If you can not then you will need to go to http://asp.net/learn/ and
>> learn how to make a web form...
>>
>>
>>
>>
>> George.
>>
>>
>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Sure I know how to backup and restore a db using sql server 2000 or
>>> 2005. Im asking about how can I provide a web form, using asp.net 2.0,
>>> to the client that can let him or her do the same task remotely?
>>>
>>> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>>I am afraid you cant. If you asking this
>>>>
>>>> George.
>>>>
>>>>
>>>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>>>> news:uhV$(E-Mail Removed)...
>>>>> Thank you for your reply.
>>>>> How can I implment this?
>>>>>
>>>>> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed)...
>>>>>> Sure you can .
>>>>>>
>>>>>>
>>>>>> use BACKUP DATABASE sql statement..
>>>>>>
>>>>>> Just remember do not connect to the DB you want to back up. Connect
>>>>>> to master DB
>>>>>>
>>>>>> George.
>>>>>>
>>>>>>
>>>>>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>>>>>> news:(E-Mail Removed)...
>>>>>>> Hi,
>>>>>>> Can I backup & restore my sql server database from aspx page located
>>>>>>> on a client machine ?
>>>>>>> Thank You.
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Duy Lam
Guest
Posts: n/a
 
      15th Mar 2008
Tamer Ibrahim wrote:
> Sure I know how to backup and restore a db using sql server 2000 or 2005. Im
> asking about how can I provide a web form, using asp.net 2.0, to the client
> that can let him or her do the same task remotely?
>
> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> I am afraid you cant. If you asking this
>>
>> George.
>>
>>
>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>> news:uhV$(E-Mail Removed)...
>>> Thank you for your reply.
>>> How can I implment this?
>>>
>>> "George Ter-Saakov" <gt-(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Sure you can .
>>>>
>>>>
>>>> use BACKUP DATABASE sql statement..
>>>>
>>>> Just remember do not connect to the DB you want to back up. Connect to
>>>> master DB
>>>>
>>>> George.
>>>>
>>>>
>>>> "Tamer Ibrahim" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> Hi,
>>>>> Can I backup & restore my sql server database from aspx page located on
>>>>> a client machine ?
>>>>> Thank You.
>>>>>
>>>>
>>>

>>

>
>


In simplicity, you just create a web form with a button and catch click
event. Then in event handler method, you use classes like SqlConnection,
SqlCommand to execute sql statement. Your done!



--
Thanks,
Duy Lam Phuong
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to open Database Access Backup Database Afreen Microsoft Access 1 12th Oct 2009 06:42 AM
Database Files to be Copied from Backup Image - No BCM Backup Data Jeff Microsoft Outlook BCM 5 6th Jul 2009 08:43 PM
RE: Is it possible to backup my Browser History? =?Utf-8?B?UmFqS29obGk=?= Windows XP Help 0 15th Dec 2006 10:21 AM
Browser backup List and firewalls James W. Long Microsoft Windows 2000 DNS 5 28th Dec 2004 01:02 AM
Browser Backup Stopped error sjnorth Windows XP Performance 1 23rd Nov 2003 06:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:33 AM.