473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

backing up an asp database

hello, i dont know asp at all, but i have been asked to backup a web site
and database
that is used on a site which uses .aspx.

i dont need to do anything with it, just copy it and send it along to
someone who will.

i have allready got all the files off the site with ftp, is the database in
there? i dont really even know what i'm looking for, but i dont see any .mdb
or .sql right off the bat. I'm thinking it must be a server based db, but i
really dont know.

thanks,
j

Nov 19 '05 #1
7 1038
did none of the information posted in the asp.general group help?
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"J. Frank Parnell" <JF****@plateofshrimpp.com> wrote in message
news:7s********************@comcast.com...
hello, i dont know asp at all, but i have been asked to backup a web site
and database
that is used on a site which uses .aspx.

i dont need to do anything with it, just copy it and send it along to
someone who will.

i have allready got all the files off the site with ftp, is the database
in
there? i dont really even know what i'm looking for, but i dont see any
.mdb
or .sql right off the bat. I'm thinking it must be a server based db, but
i
really dont know.

thanks,
j

Nov 19 '05 #2

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:O5***************@TK2MSFTNGP10.phx.gbl...
did none of the information posted in the asp.general group help?


not really. it was suggested to get the .mdb thru a script, or thru http,
but as i say, there was no .mdb on there.

well, someone suggested this(below), but it looks to me as if it will just
dl an .mdb. I am really quite ignorant of asp. Can i just make an .asp
file with this code, run it, and then look for it in the site?

To script the download use XMLHTTP.

Const cURL = "http://your-domain/your-folder/your-database.mdb"
Const cXML = "C:\your-folder\your-database.mdb"
Fetch(cURL,cXML)

Function Fetch(xURL,xOUT)
'***
'* Fetch()
'*
'* Fetch a file over the Internet.
'***
On Error Resume Next
Err.Clear
Dim b
With CreateObject("Microsoft.XMLHTTP")
.Open "GET",xURL,False
.Send
b = .ResponseBody
If Err.Number <> 0 Or .Status <> 200 Then
Fetch = False
Exit Function
End If
End With
With CreateObject("ADODB.Stream")
.Type = 1
.Open
.Write b
.SaveToFile xOUT,2
End With
Fetch = Err.Number = 0
End Function

thanks,
J
Nov 19 '05 #3
You, or someone else, is going to have to look through the aspx pages and
determine what your database is.

If it's access, then you probably got the .mdb file off there already.

If it's Sql, then you'll have to write a script that will back the database
up to files. Then download them.

Do you have a good relationship with your ISP? They could probably tell you
what you are paying for -- which should theoretically, tip you off to the
database type.

Tom B
"J. Frank Parnell" <JF****@plateofshrimpp.com> wrote in message
news:7s********************@comcast.com...
hello, i dont know asp at all, but i have been asked to backup a web site
and database
that is used on a site which uses .aspx.

i dont need to do anything with it, just copy it and send it along to
someone who will.

i have allready got all the files off the site with ftp, is the database in there? i dont really even know what i'm looking for, but i dont see any ..mdb or .sql right off the bat. I'm thinking it must be a server based db, but i really dont know.

thanks,
j

Nov 19 '05 #4
> I am really quite ignorant of asp.

And, apparently of ASP.Net as well.

It's this simple. If it's a file based DB, such as Access, you can't
download it unless it's inside the web accessible folders, and you know the
path to the DB or have FTP access to the folder in which the DB is
contained. If it's server based, such as MSSQL, you can't get to it unless
you know the seerver name & admin login.

Your motives are suspicious despite your explanation in asp.general. There's
probably a reason your "(non-programming)client of a (graphic
designer)friend" doesn't have this information

Bob Lehmann

"J. Frank Parnell" <JF****@plateofshrimpp.com> wrote in message
news:3M********************@comcast.com...

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:O5***************@TK2MSFTNGP10.phx.gbl...
did none of the information posted in the asp.general group help?


not really. it was suggested to get the .mdb thru a script, or thru http,
but as i say, there was no .mdb on there.

well, someone suggested this(below), but it looks to me as if it will just
dl an .mdb. I am really quite ignorant of asp. Can i just make an .asp
file with this code, run it, and then look for it in the site?

To script the download use XMLHTTP.

Const cURL = "http://your-domain/your-folder/your-database.mdb"
Const cXML = "C:\your-folder\your-database.mdb"
Fetch(cURL,cXML)

Function Fetch(xURL,xOUT)
'***
'* Fetch()
'*
'* Fetch a file over the Internet.
'***
On Error Resume Next
Err.Clear
Dim b
With CreateObject("Microsoft.XMLHTTP")
.Open "GET",xURL,False
.Send
b = .ResponseBody
If Err.Number <> 0 Or .Status <> 200 Then
Fetch = False
Exit Function
End If
End With
With CreateObject("ADODB.Stream")
.Type = 1
.Open
.Write b
.SaveToFile xOUT,2
End With
Fetch = Err.Number = 0
End Function

thanks,
J

Nov 19 '05 #5
It's amusing how you refer to it as "backing up".

Bob Lehmann

"J. Frank Parnell" <JF****@plateofshrimpp.com> wrote in message
news:3M********************@comcast.com...

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:O5***************@TK2MSFTNGP10.phx.gbl...
did none of the information posted in the asp.general group help?


not really. it was suggested to get the .mdb thru a script, or thru http,
but as i say, there was no .mdb on there.

well, someone suggested this(below), but it looks to me as if it will just
dl an .mdb. I am really quite ignorant of asp. Can i just make an .asp
file with this code, run it, and then look for it in the site?

To script the download use XMLHTTP.

Const cURL = "http://your-domain/your-folder/your-database.mdb"
Const cXML = "C:\your-folder\your-database.mdb"
Fetch(cURL,cXML)

Function Fetch(xURL,xOUT)
'***
'* Fetch()
'*
'* Fetch a file over the Internet.
'***
On Error Resume Next
Err.Clear
Dim b
With CreateObject("Microsoft.XMLHTTP")
.Open "GET",xURL,False
.Send
b = .ResponseBody
If Err.Number <> 0 Or .Status <> 200 Then
Fetch = False
Exit Function
End If
End With
With CreateObject("ADODB.Stream")
.Type = 1
.Open
.Write b
.SaveToFile xOUT,2
End With
Fetch = Err.Number = 0
End Function

thanks,
J

Nov 19 '05 #6

"Bob Lehmann" <no****@dontbotherme.zzz> wrote in message
news:Oj*************@TK2MSFTNGP14.phx.gbl...
I am really quite ignorant of asp.


And, apparently of ASP.Net as well.

It's this simple. If it's a file based DB, such as Access, you can't
download it unless it's inside the web accessible folders, and you know
the
path to the DB or have FTP access to the folder in which the DB is
contained. If it's server based, such as MSSQL, you can't get to it unless
you know the seerver name & admin login.


which i have. are there tools such as the ones available for mysql
available for asp(.net)? I couldnt find them last time i googled.

Nov 19 '05 #7

"Bob Lehmann" <no****@dontbotherme.zzz> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
It's amusing how you refer to it as "backing up".


back it up, copy it, download it, whatever tickles your pickle.
Nov 19 '05 #8

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

Similar topics

2
by: Ike | last post by:
I am running off of a MySQL database on a remote server. I am truly concerned about backup. I have phpMyAdmin running on the remote server, and I see I can "Export" to various formatsd from there,...
5
by: mark | last post by:
Hi I'm hoping that some could point me in the right direction for "best practice" in: 1) securely backing up a complete sql7 and 2000 server containing many databases. 2) backing up an...
1
by: Hlpl | last post by:
Hi I have a VB.net windows application that uses an MSDE database I need to give the user the option to backup this data (and later restore it). Ideally I want to back the data up to an empty...
9
by: J. Frank Parnell | last post by:
hello, i dont know asp at all, but i have been asked to backup a database that is used on a site which uses .aspx. i dont need to do anything with it, just copy it and send it along to someone...
9
by: Jerry Porter | last post by:
Is there a way to back up the design changes in a SQL Server database without backing up all the data? It's just test data at this point.
3
by: war_wheelan | last post by:
I am having a problem backing up my database and TLog files due to a lack of local diskspace. The db file is about 30GB and the TLog is about 20GB each on a different hard disk. Each disk doesn't...
1
by: Pavs | last post by:
This may not be the place to ask however i am looking for resources on how i may document data I am backing up from an oracle database to MS Access. Basically I have my oracle database and i...
5
by: rdemyan via AccessMonster.com | last post by:
I have code in my front end that opens a form for backing up the front end. I'll give a brief description of what the form does: 1) When the backup form opens, it closes all open forms except for...
1
by: rob.w | last post by:
I am new to MySQL. I have an application using MySQL running on Windows Server 2000. If I were using Microsoft SQL Server 2000, I would need special software to back up an open SQL Server database....
1
by: Akaketwa | last post by:
Guys may yu assist me am stuck. Am using v8.1 db2 database on Suse Linux running on an IBM pSeries server. I am aware of the backup utility in db2. I would like to back up the my db2 database to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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,...
0
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...

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.