473,791 Members | 3,186 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run ASP without client visit? Automating backup and status check?

I know ASP isn't the best way to do this, but is it possible???

I've written an application in ASP that manipulates an MS SQL database. We'd
like to have our application automatically backup the database at specific
times. We'd also like to generate an email report once a day on the statics
of our database.

Is this possible with ASP? How else could it be done, considering our
application is all HTML/ASP?

Thanks for any input!!!
Feb 6 '06 #1
4 1264
Noozer wrote on 06 feb 2006 in microsoft.publi c.inetserver.as p.general:
I've written an application in ASP that manipulates an MS SQL
database. We'd like to have our application automatically backup the
database at specific times. We'd also like to generate an email report
once a day on the statics of our database.

Is this possible with ASP? How else could it be done, considering our
application is all HTML/ASP?


Do a GET from a scheduled Cscript:
With CreateObject("M SXML2.XMLHTTP")
.open "GET", "http://tst.com/doit.asp", True
.send
End With


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 6 '06 #2
Defined as a server side task (and as a VBS script for exemple).

You should also be able to find sites that are able to call your url at
given times (basically a kind of "webcron") if you don't have access to the
server.

--
Patrice

"Noozer" <do*******@me.h ere> a écrit dans le message de
news:VOIFf.4543 00$2k.178388@pd 7tw1no...
I know ASP isn't the best way to do this, but is it possible???

I've written an application in ASP that manipulates an MS SQL database. We'd like to have our application automatically backup the database at specific
times. We'd also like to generate an email report once a day on the statics of our database.

Is this possible with ASP? How else could it be done, considering our
application is all HTML/ASP?

Thanks for any input!!!

Feb 6 '06 #3
You could use script in a Scheduled task.

The script could use the MSXML2.ServerXM LHTTP object to post to the website
to trigger off activity.

Anthony.
Feb 6 '06 #4
1. Create your "all-in-one" backup script

2. Use this: http://www.webcron.org/ to call this scripts at regular
intervals.

Enjoy ;)

Phil

Noozer wrote:
I know ASP isn't the best way to do this, but is it possible???

I've written an application in ASP that manipulates an MS SQL database. We'd
like to have our application automatically backup the database at specific
times. We'd also like to generate an email report once a day on the statics
of our database.

Is this possible with ASP? How else could it be done, considering our
application is all HTML/ASP?

Thanks for any input!!!


Mar 1 '06 #5

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

Similar topics

1
1482
by: eddie wang | last post by:
Hello, I am running SQl Server 7.0. I have a database maintenance plan that runs once a day to perform backups. It seemed that the database backup files were created successfully. The problem is that if i go to "SQL Server Agent" --> "Jobs", the status of the backup job always shows "Executing" (even after 1 day). I tried "Refresh" and it didn't work. The database log and windows log also didn't help me to troubleshoot. The database is...
3
2402
by: Colin Finck | last post by:
Hello! I need to backup a MySQL database (MySQL 4.0). But it is on a shared-hosting web server and so I don't have direct server access. I also have no phpMyAdmin installed. How can I backup the database? I think it is possible with PHP (version 5.0.2 is installed on the web server) to create a file with SQL commands which restore the data, but what is the easiest way to do it? Thanks in advance!
4
8754
by: nielsonj1976 | last post by:
I am getting a failure on the db backup job of one of my maintenance plans. It is coming back with the generic error message of, "sqlmaint.exe failed. (Error 22029). The step failed." I then checked the Database Maintenance Plan History page, but this shows all the steps having run successfully. If I check the drives for the actual backup files, they exist and look healthy too!
6
1674
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
6
8062
by: Gladiator | last post by:
Hai every one... I was trying List history backup cmd.......... the output i got is List History File for first Number of matching file entries = 12
1
5370
by: Divakar | last post by:
Hi, When I do a LIST HISTORY BACKUP, the following is shown the O/P. ---------------------------------------------------------------------------- Comment: DB2 BACKUP ABCD ONLINE Start Time: 20060823230001 End Time: 20060824001941 Status: A
2
21134
by: m19peters | last post by:
We have a script that I had to rework a little bit for 2005 that does a full backup for every database on the server... For some reason on some nights the script does not backup all databases... Its like it skips over it for some reason... Output of the script below on the night in question was: Executed as user: NT AUTHORITY\SYSTEM. master (Message 0) Status is ONLINE dbname / dbdevice = master / SQLBUmaster (Message 0) Processed...
0
3283
by: glubber | last post by:
I have a cronned perl script that runs on a different server. when I try to restore it to the server below things dont copy across correctly. the target server is described below. debian 4.0 - Linux testbox.jumboentertainment.com.au 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux with the latest apt-get installation of postgres
3
3728
by: aj | last post by:
SQL Server 2005 SP2 Using SSMS, I've just backed up my transaction log (which is around 314 megs) on a smallish database. I purposely generated a bunch of dummy transactions to grow the trans log. I scripted the action in SSMS, and it said this: BACKUP LOG TO DISK = N'C:\data\test.trn' WITH NOFORMAT, INIT, NAME = N'test-Transaction Log Backup', SKIP, NOREWIND, NOUNLOAD, STATS
0
9669
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10156
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
9997
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9030
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
7537
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
6776
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
5435
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4110
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
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.