Restore single user and schema
Hi,
We have a MaxDB 7.5 server. I would like to be able to restore a single user and associated schema from the nightly backup.
Does anyone know a way of doing this?
Thanks,
Andrew.
Nope, there is no function for that.
MaxDB does database backups and database restores.
Seen from the point of view that the whole database is a defined statement of 'truth' it does not even make sense to do "schema"-recoveries.
Anyhow, since very often different schemas are actually used to store different databases in them, there is of course an option for that.
Recover the backup to a second instance.
Export the schema you want.
Import the schema to the target database.
Export/Import can easily be done with the loadercli.
And, before I forget - MaxDB 7.5 is pretty much gone. MaxDB 7.6 and 7.7 are available for free download for a while now. So if you don't need AWE you may want to give these current versions a try.
regards,
Lars
Similar Messages
-
Sharing Folders with single users and Teams?
Will there be an option to share folders with single users and teams. Something like DropBox in the near future?
Yes - the ability to share folders will be coming in a future release. Stay tuned!
thanks,
Todd -
Can i drop the connection user and schema used for Accociate repository
Hi
I have created a connection , user and schema and Associated repository to it then migrated a database from diffrent product. to oracle
using the above mentioned connection, user ,schema and asscociated repositroy.
11g XE.
can i delete it after the migration.
yours sincerely.Yes you can !. Permission to drop those artifacts is granted except the target schema where the converted objects are. The migration repository user/connection can be dropped.
-
Move users and schemas from one instance to another
Hi, I'm starting out in a DBA position.
My task at the moment is to move users and schemas from one instance to another.
We're using 9.2.0.7.
I have concluded that the following steps are necessary to move users and schemas from one instance to another :
1. Create the needed tablespaces.
2. Create the users that exist in the source instance
3. Use exp to do a full export
4. Use imp to re-create the schemas from the output file created by exp in step 3
Am I missing anything ?
Thanks,
Gabriel3. Use exp to do a full exportInstead of doing a FULL export just export the users you want to move and imp that in other database using FROMUSER & TOUSER parameter.
Daljit Singh -
I found only solution for this, restore syatemstate backup and then using ntdsutil:restore user.
Is there any other way,keeping server offline it costs to company.Hi Hemant,
Yes,u can probably stop the AD service from command line by typing- "net stop ntds" and then you can do authoritative restore of object using ntdsutil. After restoration you can start
the service again- "net start ntds". But restarting the server will ensure proper restoration of that object.
Thanks
Tousif -
Question: How to create new user and schema in 11g?
Who can give me answer how to create a new user and schedule?
I had installed oracle 11g DB and oracle client in my windows OS. I found in the 11g there is no enterprise manager console with new version. It is different from with oracle 10g.So i don't know how to create it new user.
I had created new DB instance, but i don't how to create a user on that. Who can give me a hand for that? I hope one oracle experenice expert give my answers.
Thanks a lot!
Edited by: user774630 on Oct 27, 2008 10:01 PM
Edited by: user774630 on Oct 27, 2008 10:09 PMHi,
I am not sure that which option you are talking about? Are you using the EMCA,http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm#SUTIL800] to create the new repository for the EM? If not the command line than the other only way is to use DBCA(Database Configuration Assistant).I believe you are talking about that. Yes ,if the message is coming creating the repository than after wards you can login to the EM. You would get the port no of the EM's HTTP port from the $OH/install/portlist.ini file.
HTH
Aman....
Edited by: Aman.... on Oct 28, 2008 11:36 AM
Gave up, link insertion doesn't work. -
Confusion over user and schema
hi all i am new to oracle
as far as my understanding goes in oracle for every user by default an schema
is created where tables and other objects are granted to the user please correct me if i am wrong
now my problem is that i created user but its not getting reflected in the schema
shouldnt the schema get created automatically
i am confused what should i check for
thanks in advancehello,
First of all you should know the terminology.
Schema -> Collection of objects (Tables, Views, Indexes, Sequences etc.,)
Example: Scott/tiger (Is a sample oracle user) In database terminology it is named as Scott's Schema.
When you create a new user in oracle the user would be empty with no objects. Unless you have previleges to create objects.
SRI>create user junk identified by junk
2 default tablespace users
3 temporary tablespace temp;
User created.
Elapsed: 00:00:00.15
SRI>conn junk/junk@sri
ERROR:
ORA-01045: user JUNK lacks CREATE SESSION privilege; logon denied
Warning: You are no longer connected to ORACLE.
SRI>conn sri/sri@sri
Connected.
SRI>grant connect to junk;
Grant succeeded.
Elapsed: 00:00:00.03
SRI>conn junk/junk@sri
Connected.
SRI>select * from tab;
no rows selected
SRI>create table x(id number(10));
create table x(id number(10))
ERROR at line 1:
ORA-01031: insufficient privileges
Elapsed: 00:00:00.00
SRI>conn sri/sri@sri
Connected.
SRI>grant resource to junk;
Grant succeeded.
Elapsed: 00:00:00.01
SRI>conn junk/junk@sri
Connected.
SRI>create table x(id number(10));
Table created.
SRI>select * from tab;
TNAME TABTYPE CLUSTERID
X TABLE
Hope this info helps you to start with :)
cheers
-Sri -
NEED HELP!!!!! Create Tablespace, User, and Schema
Hello Everyone,
I am kind of confuse with Oracle 10g since i am doing it first time. I am trying to accomplish to create a user for my WORLD database and by using Report Builder 10g to generate reports.
I have been told that i need to create a Tablespace in my WORLD database in order to log-in to the Report Builder. When I am trying to log in to Report Builder i have to enter
UserName:xxx123
Password:password
Database:@@@.WORLD -- where you see @@@ i have to put my tablespace where i have to store my all tables and assign user to this table space that i have been told so far.
so here what i did.
I create a new database name WORLD
created New tables Space name mySpace
but when i was tyring to create table through Enterprise Manager
On create table screen i enter table Name EMPLOYEE
ask me to select Tablespace : mySpance
ask me to select Schema: (when i scroll down i saw my username) ??? so I am kind of confuse how do i make this stuff work?
Can anyone give me simple direction or steps that i need to follow.
I am trying to use Report Builder10g and using Oracle Database to access data.
Please anyone can give me suggetion asap. Its vrey important for me since i just got new entry level job.
Thank YouI have two TNSNAMES.ORA file
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora90\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
OEMREP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = KAM)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OEMREP.broadvoice.com)
WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = KAM)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = world)
DEV1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = KAM)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = Dev1)
DEVAM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = KAM)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = devam)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = KAM)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Also, I checked in Services that my oracleserviceWORLD was running. So, my database run when i start my computer.
Please let me know if there is anything wrong. I am very thankful to you that you are helping me out. I do appreciate your kind help.
Thank You -
Grant details required for user and schema
Hi
I have Oracle version - 10.2.0.4.0
We have Schema A (Lot of objects exist) and User B (No objects exist - acts as application user to access objects in other schema).
I have listed below doubts.
1) I want to know the method to find the list of users have access to objects in Schema A and privileges granted for the objects in Schema A
2) I want to know the method to find the list of grants provided to the schema objects to the user Buser1368801 wrote:
Thanks ajallen.
It really helped me.
one more question. I think DBA_TAB_PRIVS gives details for tables only right.
What about other objects like procedures, views etc. Go back to the Reference Manual and re-read the description of DBA_TAB_PRIVS. Re-read the specific description of TABLE_NAME.
>
Actually I am exporting 3 schemas (A,B,C) from production and importing them to test environment (A1, B1,C1) using fromuser and touser option.
Now I have to properly remap all the privileges, grants, synonyms etc.
There are so many objects and I am wondering how to remap properly.
It may be simple, as a newbie, your direction will be more helpful -
Restore single user address book
Hello
we usually do two kinds of backups from the directory server, ldif exports and databases backups
one user have deleted one his address book, accidentally and we would like to know if it's possible to restore the piserverdb for one user only? or i am forced to restore the whole database or ldif for all users?
i am eagerly looking forward to hearing your advice.
kind regards
Mario G.mario_garcia wrote:
we usually do two kinds of backups from the directory server, ldif exports and databases backups
one user have deleted one his address book, accidentally and we would like to know if it's possible to restore the piserverdb for one user only? or i am forced to restore the whole database or ldif for all users? You can "restore" an individuals address book by locating the appropriate DN:'s in the LDIF export file for the user (i.e. those ending with piPStoreOwner=<uid>,o=<domain>,o=PiServerDb), removing any existing entries from the users live address-book, and re-adding the backup entries.
I suggest you try this procedure on a test-account first.
Regards,
Shane. -
How to create single user and bulk users from back end in ebs r12?
Hi all,
how to create users from back end in oracle application R with responsibilities?
Thanks in Advance,
Sandeep
Edited by: user2584435 on 17 Nov, 2009 11:14 PM
Edited by: user2584435 on 17 Nov, 2009 11:14 PMHi,
I have created user san1 with below mention pkg and added sysadmin with below mention pkg.
BEGIN fnd_user_pkg.CreateUser(x_user_name =>'san',
x_owner =>'CUST',x_unencrypted_password => null,
x_description => 'new_desc2',x_email_address => '',x_fax => '');
end;
DECLARE
v_user_name VARCHAR2(30) := upper('&Enter_User_Name');
BEGIN
fnd_user_pkg.addresp(username => v_user_name
,resp_app => 'SYSADMIN'
,resp_key => 'SYSTEM_ADMINISTRATOR'
,security_group => 'STANDARD'
,description => 'Auto Assignment'
,start_date => SYSDATE - 10
,end_date => SYSDATE + 1000);
END;
Q. I am able to login but dont having any responisibility,why?
Regards
Sandeep. -
Restore single User from datapump export
Hey, is it possible to restore just one schema out of full datapumpexport (FULL=Y)
If yes, how ?
ChrisHi,
Christian wrote:
Hey, is it possible to restore just one schema out of full datapumpexport (FULL=Y)
If yes, how ?
Chris
yes it is possible,
For example: impdp scott/tiger schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=impdpSCOTT.log
Thank you -
Diff bet multi user and single user installation
Hi,
what is the diff betweeen single user and multi user installation,please let me know advantages and disadvantages also .
RegardsHi,
what is the diff betweeen single user and multi user installationSingle user installation is having one user who owns all the application/database tier files. When you do an installation, you run RapidWiz as this user.
Multi-user installation is having two different users (applmgr user who owns the application tier files, and oracle user who owns the database tier files). When you do the installation, you run RapidWiz as root user.
On Windows, you cannot have multi-user installation. So, the above is valid on Unix/Linux.
More details can be found in the Concept manual --> http://www.oracle.com/technology/documentation/applications.html
please let me know advantages and disadvantages also .I always prefer multi-user installation as you just source the application/env file in the user's profile (in the applmgr/oracle profile) and the file is sourced once you login as that user. For single user installation, you will have to be sure that you source the proper env file manually each time you want to switch between the application and the database (just imagine if you try to shutdown/startup the database after sourcing the application env file, or trying to use any database executable file like export/import/sqlplus ..etc, you will end up using the application tier executable files).
Regards,
Hussein -
Desperately awaiting my new iMacs arrival i cant stop looking up new information about it, When i was looking at the Mac OSX 10.4 Tiger page i noticed theres two different kind, a "Single User" and a "Family Pack" Does anyone know wich one the Newest 17" iMac comes with?
newtoimac, Welcome to the discussion area!
None of the Macs ship with either of those packages.
Every Mac ships with a restore disc (or discs) especially for that Mac. That usually contains more than just OS X. It contains extra applications which ship only that model of Mac.
The OS that ships with a Mac is only licensed to install and use on that single Mac.
BTW, this is the discussion area for the original (oldest) iMacs. If you have other questions about your new iMac, you should post them in the Intel iMac discussion area. -
How to add multiple groups in a single user in ldap
I have problem with ldap ,Please clarify the following problem.
My request is --> send the multiple groups at a time with single user.
My code contain single user and single group is working.
Please see the source file ,please solve my problem. i tried , but i did not get.
package com.ldap;
import java.util.Hashtable;
import javax.naming.AuthenticationException;
import javax.naming.Context;
import javax.naming.NameAlreadyBoundException;
import javax.naming.NamingException;
import javax.naming.directory.Attribute;
import javax.naming.directory.Attributes;
import javax.naming.directory.BasicAttribute;
import javax.naming.directory.BasicAttributes;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDirContext;
* This class provides methods for the user management
* @author sudhakar
public class LdapUserMgr {
public final static String USER_ID = "uid";
public final static String COMMONNAME = "cn";
public final static String SURNAME = "sn";
public final static String MEMBEROF = "wlsMemberOf";
public final static String MEMBEROF1 = "wlsMemberOf";
public final static String PASSWORD = "userpassword";
public final static String EMAIL = "mail";
* This method creates new user in the embedded ldap registry
* @return
* @throws Exception
public void createUser() throws Exception {
DirContext ctx = getLDAPConnection();
String userId="sudhakar";
String userName="sudhakar";
String userRole="Assessor";
String password="sudhakar123";
String email="[email protected]";
try{
Attributes attrNew = new BasicAttributes(true);
Attribute objclass = new BasicAttribute("objectclass");
String group = "ou=groups,ou=myrealm,dc=sudhakar_domain";
String people = "ou=people,ou=myrealm,dc=sudhakar_domain";
// add all the object classes required for the user profile
objclass.add("top");
objclass.add("person");
objclass.add("organizationalPerson");
objclass.add("inetOrgPerson");
objclass.add("wlsUser");
// put all the attributes required as part of the user profile
// add object classes
attrNew.put(objclass);
// add user Id
attrNew.put(USER_ID, userId);
// add user common name
attrNew.put(COMMONNAME, userName);
// add user surname
attrNew.put(SURNAME, userName);
// prepare the group path for the user
String role = COMMONNAME + "=" + userRole + "," + group;
// add user to a group
attrNew.put(MEMBEROF,role);
System.out.println("user role is "+role);
// i want to pass multiple user roles at a time
// add user password
attrNew.put(PASSWORD, password);
// add user mail Id
attrNew.put(EMAIL, email);
// Prepare the query string to add the user to the embedded ldap
String query = USER_ID + "=" + userId+ "," + people;
System.out.println("user query is "+query);
// add the user to the LDAP directory
ctx.createSubcontext( query, attrNew );
System.out.println("user" + userId+ "created");
catch ( NameAlreadyBoundException nabe ){
System.out.println(nabe.getMessage());
throw new NameAlreadyBoundException("User by this name already exits");
catch (NamingException namEx) {
System.out.println(namEx.getMessage());
catch(Exception ex){
System.out.println(ex.getMessage());
finally{
closeLDAPConnection(ctx);
public DirContext getLDAPConnection() throws Exception{
DirContext ctx = null;
try{
Hashtable<String,String> env = new Hashtable<String,String>();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://192.168.100.84:7030/");
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, "cn=Admin");
env.put(Context.SECURITY_CREDENTIALS,"admin");
// Create the initial directory context
ctx = new InitialDirContext(env);
return ctx;
catch (AuthenticationException authEx){
System.out.println(authEx.getMessage());
throw new AuthenticationException("Authentication failed");
catch (NamingException namEx) {
System.out.println(namEx.getMessage());
throw new NamingException("Naming Exception");
catch(Exception ex){
System.out.println(ex.getMessage());
throw new Exception("Exception Occured");
* This method closes the LDAP connection
* @param ctx
public void closeLDAPConnection(DirContext ctx){
try{
ctx.close();
catch(NamingException nex){
System.out.println(nex.getMessage());
catch(Exception ex){
System.out.println(ex.getMessage());
public static void main(String s[])throws Exception{
LdapUserMgr ldapUserMgr = new LdapUserMgr();
ldapUserMgr.createUser();
Edited by: sudhakar_kavuru on Jun 16, 2009 1:58 AMHi Sudhakar,
try some thing like this.Here I have enclosed the code snippet.
String query = USER_ID + "=" + user.getUserId()+ "," + people;
// add the user to the LDAP directory
// ctx.createSubcontext( query, attrNew );
Attribute att1 = new BasicAttribute(MEMBEROF);
String roleName=user.getUserRoleList().get(0);
String role1 = COMMONNAME + "="+roleName+"," + group;
att1.add(role1);
attrNew.put(att1);
DirContext dirContext =ctx.createSubcontext( query, attrNew );
for (int i = 1; i < user.getUserRoleList().size(); i++) {
Attributes att2 = new BasicAttributes();
String roleNameStr=user.getUserRoleList().get(i);
log.debug("roleNameStr--->"+roleNameStr);
String role2 = COMMONNAME + "="+roleNameStr+"," + group;
log.debug("role2-->"+role2);
att2.put(MEMBEROF,role2);
dirContext.modifyAttributes("", DirContext.ADD_ATTRIBUTE, att2);
}
Maybe you are looking for
-
Replication of Enhanced Products from CRM to R/3
Hi, I have downloaded the R/3 Material from R/3 to CRM. Now I have made changes in that product in CRM i.e I have added some attributes in CRM Product Master. Now,Is it possible to replicate that enhanced product from CRM back to R/3. If yes,Can yo
-
I cannot view images in iphoto - only black screen
I had problems being unable to boot my iMac this week and ended up having to take it to the Apple store where they re-installed the operating system and all seemed fine. Now however, although I can view thumbnails in iPhoto, when I click on them I ju
-
Mac 5.1 Audio HDMI In Premiere wrong channels
Hello I'm trying to create a simple 5.1 mix and running into issues. I'm simply creating a new sequence and choosing 5.1 from the Tracks tab and from there I can drag a WAV onto either a stereo or mono track and in the mixer move the puck within the
-
please help me with this i brought sony z3 dual last month since i brought i noticed that when typing there is problem with screen touch system ,as there is specific letters not typing correctly first i thought its from screen sticker came with the
-
Can I retrieve my deleted photos and videos somehow? I deleted my photos from my iphone thinking they would be on my ipad. Now all of my photos and videos are gone some one please help.