473,808 Members | 2,869 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Database backup from a web browser

Hi,
Can I backup & restore my sql server database from aspx page located on a
client machine ?
Thank You.
Mar 11 '08 #1
8 1400
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.*****@gmail. comwrote in message
news:OG******** ******@TK2MSFTN GP05.phx.gbl...
Hi,
Can I backup & restore my sql server database from aspx page located on a
client machine ?
Thank You.

Mar 11 '08 #2
Thank you for your reply.
How can I implment this?

"George Ter-Saakov" <gt****@cardone .comwrote in message
news:u9******** ******@TK2MSFTN GP03.phx.gbl...
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.*****@gmail. comwrote in message
news:OG******** ******@TK2MSFTN GP05.phx.gbl...
>Hi,
Can I backup & restore my sql server database from aspx page located on a
client machine ?
Thank You.


Mar 11 '08 #3
I am afraid you cant. If you asking this :)

George.
"Tamer Ibrahim" <t.*****@gmail. comwrote in message
news:uh******** ******@TK2MSFTN GP05.phx.gbl...
Thank you for your reply.
How can I implment this?

"George Ter-Saakov" <gt****@cardone .comwrote in message
news:u9******** ******@TK2MSFTN GP03.phx.gbl...
>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.*****@gmail. comwrote in message
news:OG******* *******@TK2MSFT NGP05.phx.gbl.. .
>>Hi,
Can I backup & restore my sql server database from aspx page located on
a client machine ?
Thank You.



Mar 11 '08 #4
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 .comwrote in message
news:eN******** ******@TK2MSFTN GP05.phx.gbl...
>I am afraid you cant. If you asking this :)

George.
"Tamer Ibrahim" <t.*****@gmail. comwrote in message
news:uh******** ******@TK2MSFTN GP05.phx.gbl...
>Thank you for your reply.
How can I implment this?

"George Ter-Saakov" <gt****@cardone .comwrote in message
news:u9******* *******@TK2MSFT NGP03.phx.gbl.. .
>>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.*****@gmail. comwrote in message
news:OG****** ********@TK2MSF TNGP05.phx.gbl. ..
Hi,
Can I backup & restore my sql server database from aspx page located on
a client machine ?
Thank You.



Mar 11 '08 #5
On Mar 11, 10:53*am, "Tamer Ibrahim" <t.ge...@gmail. comwrote:
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:eN******** ******@TK2MSFTN GP05.phx.gbl...
I am afraid you cant. If you asking this :)
George.
"Tamer Ibrahim" <t.ge...@gmail. comwrote in message
news:uh******** ******@TK2MSFTN GP05.phx.gbl...
Thank you for your reply.
How can I implment this?
"George Ter-Saakov" <gt-...@cardone.com wrote in message
news:u9******* *******@TK2MSFT NGP03.phx.gbl.. .
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. comwrote in message
news:OG****** ********@TK2MSF TNGP05.phx.gbl. ..
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
Mar 11 '08 #6
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" <t.*****@gmail. comwrote in message
news:Oh******** ******@TK2MSFTN GP02.phx.gbl...
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 .comwrote in message
news:eN******** ******@TK2MSFTN GP05.phx.gbl...
>>I am afraid you cant. If you asking this :)

George.
"Tamer Ibrahim" <t.*****@gmail. comwrote in message
news:uh******* *******@TK2MSFT NGP05.phx.gbl.. .
>>Thank you for your reply.
How can I implment this?

"George Ter-Saakov" <gt****@cardone .comwrote in message
news:u9****** ********@TK2MSF TNGP03.phx.gbl. ..
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.*****@gmail. comwrote in message
news:OG***** *********@TK2MS FTNGP05.phx.gbl ...
Hi,
Can I backup & restore my sql server database from aspx page located
on a client machine ?
Thank You.
>




Mar 11 '08 #7
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****@cardone .comwrote in message
news:Oi******** ******@TK2MSFTN GP06.phx.gbl...
>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" <t.*****@gmail. comwrote in message
news:Oh******** ******@TK2MSFTN GP02.phx.gbl...
>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 .comwrote in message
news:eN******* *******@TK2MSFT NGP05.phx.gbl.. .
>>>I am afraid you cant. If you asking this :)

George.
"Tamer Ibrahim" <t.*****@gmail. comwrote in message
news:uh****** ********@TK2MSF TNGP05.phx.gbl. ..
Thank you for your reply.
How can I implment this?

"George Ter-Saakov" <gt****@cardone .comwrote in message
news:u9***** *********@TK2MS FTNGP03.phx.gbl ...
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.*****@gmail. comwrote in message
news:OG**** **********@TK2M SFTNGP05.phx.gb l...
>Hi,
>Can I backup & restore my sql server database from aspx page located
>on a client machine ?
>Thank You.
>>
>
>




Mar 11 '08 #8
Sorry that I was rude. I just tried to be truthful.
More painful, but usually works better and faster than half measures.

George.

"msnews.microso ft.com" <t.*****@gmail. comwrote in message
news:OY******** ******@TK2MSFTN GP04.phx.gbl...
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****@cardone .comwrote in message
news:Oi******** ******@TK2MSFTN GP06.phx.gbl...
>>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" <t.*****@gmail. comwrote in message
news:Oh******* *******@TK2MSFT NGP02.phx.gbl.. .
>>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 .comwrote in message
news:eN****** ********@TK2MSF TNGP05.phx.gbl. ..
I am afraid you cant. If you asking this :)

George.
"Tamer Ibrahim" <t.*****@gmail. comwrote in message
news:uh***** *********@TK2MS FTNGP05.phx.gbl ...
Thank you for your reply.
How can I implment this?
>
"George Ter-Saakov" <gt****@cardone .comwrote in message
news:u9**** **********@TK2M SFTNGP03.phx.gb l...
>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.*****@gmail. comwrote in message
>news:OG*** ***********@TK2 MSFTNGP05.phx.g bl...
>>Hi,
>>Can I backup & restore my sql server database from aspx page located
>>on a client machine ?
>>Thank You.
>>>
>>
>>
>
>




Mar 11 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4408
by: Rajesh Garg | last post by:
I will make it simpler to look... I have DB1 - as backup for day 1 LOg1 as backup of logs T1 T2 T3 T4 T5 ...some transaction on day 2 Now i backup again DB2 Log2
6
9619
by: Edwinah63 | last post by:
Hi Gurus, i am having problems with restoring a ms sql database. i have restored the database using veritas to a different location ('g:\datafiles') in no recover mode. when i view the database through the Enterprise Manager, it shows the database as silver icon (loading).
2
4330
by: trotter | last post by:
I want to know if there is a "best-practice" for setting up Database Maintenance Plans in SQL Server 7 or 2000. To be more specific, I want to know the order in which I complete the tasks. Do I complete optimization first, then integrity checks, then translog backup, then full backup??? OR is there a better order which should be used? Should I ALWAYS backup the transaction Log before I complete a full database backup, and if so, why?? ...
2
2114
by: Matt | last post by:
I run SQL Server 2000 and use thier database maintenance plans to backup my databases. My questions is what happens if a change is being made to a database table while a backup is running? Should I be locking the databases before the backup begins? Scenario: 1) Database Plan begins backup at 7:00 PM. 2) At 7:01 PM a web user updates their password while the backup is taking place.
6
1675
by: Richard Hollenbeck | last post by:
I'd like a button on my main form to backup the database. How can I call up the Windows folder browser to prompt me for a filename and type (*.mdb) and folder to save in? I looked in my book and didn't see anything like that. I only want to backup the data tables in the back-end database. Is there some standard set of code to do this? Thanks, Rich Hollenbeck
5
3242
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup purposes). Now, the drive is defective and can't read the tapes anymore. Server is AIX 4.3.2 and database is IBM DB2 Server (DB2 for AIX Version 2.1.2)
3
3422
by: Big Charles | last post by:
Hi, We have developed an ASP.NET web application and are planning to host it in an external Server, which provides us a good bandwidht. We need to put he web application outside because the bandwidtht that we have in our local office won't be enough for the number of users that access to our web app. But for backup issues, the database server will be in our local office.
18
2879
by: NDayave | last post by:
ive managed to piece together this code that creates a backup folder and then copies the (Access 2000) database into it under the new name "Backup YYYY-MMM-DD HH.MM". It worked fine in the database I created to practise and create the code, but when i copy and paste it to the main database none of it works, and i have no idea why. I know the code is probably pretty messy, but i only started to learn VB a little over a year ago, so all help...
5
34050
by: Steve | last post by:
Hi; I thought I would rephrase a question I asked in another post to more quickly get to the heart of the matter. My apologies for anyone who is offended by what appears to be a repetition. My company has two identical web sites. One copy is for our customer, and one copy is for us to test our code changes on. We developed a hard to isolate bug in the copy of the web stie for our
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10631
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10374
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.