473,396 Members | 1,996 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,396 software developers and data experts.

backup the database for every one hour

prabunewindia
199 100+
hi friends,
i want backup the database for every one hour.
anyone plz give me the code for that.
i don't know anythink about that
plz help me
Prabu
Apr 20 '07 #1
7 1354
Firstly.. which database?? Oracle?? Sql Server??? MySql???

And then i suggest to post the question in the appropiate database forum. As usually the database backup is generated not by .net or java code but by the dababase program (Oracle Console Manager, SQL Server Management,...).
Apr 20 '07 #2
prabunewindia
199 100+
i am using sqlServer
thank for ur guidence
Prabu
Firstly.. which database?? Oracle?? Sql Server??? MySql???

And then i suggest to post the question in the appropiate database forum. As usually the database backup is generated not by .net or java code but by the dababase program (Oracle Console Manager, SQL Server Management,...).
Apr 20 '07 #3
i am using sqlServer
thank for ur guidence
Prabu
hi , this is vivek
if u want to take backup of the database in sql server do that things
-- first open the sql enterprises manager --> then go to that folder whose backup u want to create ---> right click on it --> select all task--> export data -->
and do according to given things
by this u can take backup of ur database anytime .
i hope this will help u .. bye
Apr 20 '07 #4
prabunewindia
199 100+
friend,
i want to take back while the application is running
i need the code
Prabu
hi , this is vivek
if u want to take backup of the database in sql server do that things
-- first open the sql enterprises manager --> then go to that folder whose backup u want to create ---> right click on it --> select all task--> export data -->
and do according to given things
by this u can take backup of ur database anytime .
i hope this will help u .. bye
Apr 20 '07 #5
Frinavale
9,735 Expert Mod 8TB
friend,
i want to take back while the application is running
i need the code
Prabu
Hi Prabu!

Do you need to do this through your program or can back up be done through the services that the SqlServer comes with. An SqlServer can be configured to automatically back up at a given time.

-Frinny
Apr 20 '07 #6
radcaesar
759 Expert 512MB
Create a windows control
Use System.Timers

Check the system time every second using the "OnElapsedTime" event of the Timer class

When the time ticks, Execute the query which performs the backup.

(The windows control will be installed and run on the system like watch dog to watch the time)

RE me if u have any issues.

:)
Apr 20 '07 #7
prabunewindia
199 100+
i am using ASP.NET. plz give me the query for that.
i know nothing in this. database should be backup for every 1 hr.
i want it in code.
plz guide
prabu

Create a windows control
Use System.Timers

Check the system time every second using the "OnElapsedTime" event of the Timer class

When the time ticks, Execute the query which performs the backup.

(The windows control will be installed and run on the system like watch dog to watch the time)

RE me if u have any issues.

:)
Apr 21 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Thiko | last post by:
Hi I take one nightly full database backup at 02:00 and backup the transaction log to one backup set every 15mins. The commands to do this are as follows and are set up to run as database...
1
by: Jason | last post by:
In SQL 2000, is there an advantage to defining and using a backup device versus just backing up to disk? Currently, I've got a SQL Backup job set to run once per day, with transaction log...
0
by: newbiegca_sqlsever2000 | last post by:
SQLServer 2000 Backup question. Let us say we have a database where data is stored in filegroup F1 and Filegroup F2 Backup of this is done on alternate days Day 1 - Full backup of file...
4
by: Jay | last post by:
I've recently inherited a position where I am responsible for the well-being of some DBs. 2 (much) more important than others. The current recovery model, from what I can tell, is to do a full...
2
by: David Garamond | last post by:
I was thinking on how one would design an optimal (performance-wise) database of large number of schedules with crontab-like semantic. There will potentially be hundreds of thousands or even...
9
by: gabe101 | last post by:
I've searched enough to know that this ability probably doesn't exist in our current setup, thus the reason I'm coming to the community now. When doing a database backup in Enterprise Manager (SQL...
2
by: Daniel.Peaper | last post by:
Hi Everyone, I'm working on a site that is running MS SQL 2000. They perform regular backups of databases and log files and in the event of a disaster they have a second backup server. At...
2
by: David Gray | last post by:
Hi, SQL Server 2005 Standard (X64) edition. Have a database which has its log backed up every hour during the normal business day and each evening a full backup is performed. After two days...
5
by: aj | last post by:
SQL Server SP2 9.0.3042 64-bit I recently put my first SQL Server DB in production. In the "other" database that I use (not interested in any arguments), you can indicate the desired size of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...
0
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...
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,...

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.