 |
| Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

August 6th, 2005, 09:55 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
|
|
Backup and restore in ASP.
Hi All,
I am using Access as a backend.
Can anyone let me know how i could achieve backup and restore?
I have never develp backup-restore module, better let me know what exactly it is?
Thanks in advance.:)
Rupen Anjaria.
We CAN'T avoid problems, but can solve it.
|
|

August 7th, 2005, 08:04 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Do you want to build this yourself, or do you just need the functionality?
If the latter is true, take a look at DBAdmin: http://www.stpworks.com/DesktopDefau...=3&articleid=3
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: So Flute by St Germain (Track 3 from the album: Tourist) What's This?
|
|

August 8th, 2005, 05:25 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
|
|
I am going to build this myself.
Rupen Anjaria.
We CAN'T avoid problems, but can solve it.
|
|

August 8th, 2005, 02:35 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Did you take a look at DBAdmin?
Being plain ASP, I think you can just take a look at the source and see how it's done....
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

August 12th, 2005, 04:09 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
|
|
DBAdmin is highly advance, and my requirement is something difft then what it got,
My client will take backup at every month, now while taking backup necessary data has to be retain in new file, like empdetails, teamdetails etc,.
So, what i think is to when client needs to have backup, i will copy original file data into new file, and delete unnecessary data. Hence, i can clear the .MDB file.
Pls suggest if this is good solution?
Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
|
|

August 12th, 2005, 03:36 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
If you need something simple, I think you can do something like this:
1. Create a copy of your database and save it as template.mdb
2. When you want to export, create a copy of this template so you end up with another empty database.
3. In an ASP page, create a connection to the original database and to the template based empty copy
4. Select all the data from a table in the source database and use it to insert it into the target (template) database.
5. Repeat this process for each table in your database.
It's not very sophisticated, but it'll do the trick....
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|
 |