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

Force all users to disconnect before backup

I have the backup command

BACKUP DATABASE NEST TO C:\\databases WITH 2 BUFFERS BUFFER 1024 $

How do I force all the user to disconnect? before running the above command
Nov 12 '05 #1
2 9158
Tony,

db2 force application all or
db2stop force and after that before backup the database a db2start.

With V8 you can also use quiese with force option to set the database in
maintenance mode...

regards,
Joachim Müller

"Tony Do" <tu*****@hotmail.com> schrieb im Newsbeitrag
news:40***********************@news.optusnet.com.a u...
I have the backup command

BACKUP DATABASE NEST TO C:\\databases WITH 2 BUFFERS BUFFER 1024 $

How do I force all the user to disconnect? before running the above command

Nov 12 '05 #2
Thank Joachim
"Joachim Mueller" <jom0309@[--spam--]douglas-informatik.de> wrote in message
news:c2**********@news.dtag.de...
Tony,

db2 force application all or
db2stop force and after that before backup the database a db2start.

With V8 you can also use quiese with force option to set the database in
maintenance mode...

regards,
Joachim Müller

"Tony Do" <tu*****@hotmail.com> schrieb im Newsbeitrag
news:40***********************@news.optusnet.com.a u...
I have the backup command

BACKUP DATABASE NEST TO C:\\databases WITH 2 BUFFERS BUFFER 1024 $

How do I force all the user to disconnect? before running the above

command


Nov 12 '05 #3

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

Similar topics

2
by: Toralf Kirsten | last post by:
Hi, we are using db2 8.1 on Linux. I'd like to close all open connection at a defined time point. Therfore I wrote a sql script including the command disconnect all or release all
5
by: wyhang | last post by:
Hi, I have a "list applications show detail" item below. DB2INST1 db2bp 524825 GAAF2D07.FB44.0E0F58094019 0003 1 8 0 Disconnect Pending 08/28/2005 21:24:11.012683 JXCRM...
5
by: Andy Davis | last post by:
I have a two tables, Users and Requests, the latter which displays the daily log on's of 20 users. Both tables are related by a one-to-many relationship in the Requests table via the UserId field....
1
by: Lee Harr | last post by:
Is there any way to forcibly disconnect all users from a database, or else force the drop of the database even though others are still connected? I have a report I run where I first drop the old...
4
by: Kittikun | last post by:
I am currently using the BACKUP DATABASE method to backup my database. Everything works fine, except for users. I created various users with sp_addlogin to access this database and they are located...
1
by: TMAG | last post by:
If i do "db2 disconnect all" after an application finishes, does it mean that any application that connects after this will find the buffer pool "cold"? Or the pages accessed by last application...
1
by: esource | last post by:
We have a existing backup, re-index job that runs at night on an existing database that is now accessed by web users 24/7. Problem is that one of the steps is to kill all users before backup...
41
by: Twayne | last post by:
Hi, How would I go about "forcing" a user from one page to another? I have a very simple random question/answer entrance requirement for an e-mail form. After 3 page views most people are...
9
by: Kelii | last post by:
Currently I have a button that allows the user to "Close Company" - at the moment it doesn't do anything :D I would like the button to "disconnect" the back end then show my Open Company form. ...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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
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...

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.