473,657 Members | 2,667 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 9180
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*****@hotmai l.com> schrieb im Newsbeitrag
news:40******** *************** @news.optusnet. com.au...
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*****@hotmai l.com> schrieb im Newsbeitrag
news:40******** *************** @news.optusnet. com.au...
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
476
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
6722
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 /db2data/db2inst1/NODE0000/SQL00001/ it has been hang there for more than 10 days. force application(appid) will not work.
5
1663
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. I want to run a query that when I enter a date shows all the users that DID NOT connect for that particular day. For example, say user id's 1 and 2 were on the system on a particular day but user id's 3 - 20 were not, how do I display just...
1
6123
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 report db then create it anew, read in a recent dump file and then run a bunch of queries to build up the reports. Every once in a while my automated script fails because some other system which should have disconnected
4
12228
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 in the xlogins table. The problem is for example, if I backup, remove some users and do a restore, i won't have them back because i just backup the database. So the question is, how can I backup specific users and restore them ? Do I have to...
1
3850
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 will be still in buffer pool? Apparently when I do "db2 disconnect all" at the end, the windows task manager shows that all bufferpool memory has been deallocated. thanks
1
3518
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 starts so it kills any transactions that are happening at that time question is... Can users be connected during a backup? Will removing the kill users step slow the backup alot? any other suggestions would be appreciated. thanks
41
2804
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 going to have successfully submitted their e-mail (enter/validate as human, enter message, send the message). If someone or something decides to start banging on any of the pages and increses the views count too far I want to kick them out to an...
9
8582
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. My question is: 1. Short of closing the application or deleting the linked tables, is there a way to disconnect the user's front end from the common back end using VBA? 2. Does disconnecting the user serve any purpose? I've read a lot of posts...
0
8402
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...
0
8315
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6172
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
4164
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
2733
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
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.