Export of databases from phpMyAdmin on another server
Tomorrow, I need to export 3 databases from one server to another using phpMyAdmin. I'm pretty confident, I can understand, but I want to be sure to leave a copy of the files on the original server. We know if there is an option that I choose to ensure that only one copy of the files are exported?
I did several times without any problems. Basic steps:
- Open PHPMyAdmin on the new server, and create a database exactly as your old server name.
- Open PHPMyAdmin on the old server, and then select the database you want to export, click Export.
- In the export window, make sure that all the tables you want to export are selected, SQL is the export and INSERT is the export type:
- Now click OK, a SQL script will now generate, copy and save this in a text file on your computer.
- So what you've done, it's creating an export SQL that maintains the original database intact.
- Select PHPMyAdmin on the new server and make sure you have the new database selected.
- Click SQL, paste the text and click OK, all your tables and the data should be inserted.
- If you have a localhost configuration on your computer, and then test this first.
- Don't forget to modify database connection files if the server host is different, or if you use a different database name, do not forget to change the name of it in the connection files as well.
- I hope this helps.
Tags: Dreamweaver
Similar Questions
-
Export the database from another pc - problem EXP-00056
Hi all,
I have a pc (called PC1) with installed Oracle11gR2. I want to export the database from another pc (called PC2) which is connect with PC1 with a LAN.
I have connected PC2 to PC1 so:
$ ssh oracle@IP_of_PC1
and as the user oracle, I tried export then:
index of the_user/the_pass exp = y subsidies forced is y = y line is my_dump.dmp log = my_log.log
but he said to me:
Export: Release 11.2.0.1.0 - Production on Tue 7 Sep 14:44:13 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
EXP-00056: ORACLE error 1034
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 error: 2: no such file or directory
EXP-00005: all authorized logon attempts failed
EXP-00000: export completed unsuccessfully
Why it does not work?
Thank you much in advance.Run this and show me where exactly you run
index italia/italia@dbSID exp = y subsidies forced is y = y line is dump070910italia.dmp
-
NetBackup settings when restoring from tape to another server
DB version: 11.2.0.2 / Solaris 10
Media management layer: Symantec Netbackup v7
Production server: qualmh214
Prod DB name: NEHPROD
We take our prod database backup using a similair script on the bottom
We have a test server:run { ALLOCATE CHANNEL c1 TYPE 'SBT_TAPE'; SEND 'NB_ORA_CLIENT=qualmh214,NB_ORA_POLICY=qualmh214_rman, NB_ORA_SERV=hlsngt238, NB_ORA_SCHED=Weekly'; backup incremental level 0 database tag='NEHPROD_full' plus archivelog ; backup format 'NEHPROD_%d_%U_%t.rbk' ; }
Each week, we need to clone the Prod DB above from its last level 0 backup stored on the Ribbon.dreyth169
We have installed Symantec netbackup on our test server.
To restore with RMAN, in execution block for restoration, the NB_ORA_CLIENT should not be the test server name dreyth169 ? That is to say. If we keep NB_ORA_CLIENT = qualmh214 (production server), then RMAN will do the restore to the PROD. Right? It would be a disaster.
What NB_ORA_POLICY to the test server? I should create new policy NB_ORA_POLICY for my test server?Hello;
Yes, for example, if you were doing a RMAN duplicate you would set it to: (very similar operation)
NB_ORA_CLIENT = serveur_cible
I should create new policy NB_ORA_POLICY for my test server?
This is how I would do it. It can work without it however.
Since you are using oracle 11.2 another option is "Active Database Duplication" If your database is not too large and you have the speed of the network decent and some off peak hours once a week, I would consider it.
I used it with great success and you can easily script on Unix/Linux. If the remote host has the same Directory Structure that become even easier. With a couple of INIT files and a script on the remote cleanup, it becomes a hole. Given that the work will take place on the remote control you can avoid conflicts with your backups RMAN.http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta020.htm
Best regards
mseberg
Published by: mseberg on June 25, 2012 14:50
-
Export the VM from ESX 5.5 Server (Vsphere 5.5) to Vmware Workstation 11
Hello
I do not see that the version of the converter 5.5.3 has the opportunity to do
Question:
By opening the VMX file in the 11 workstation will work? someone did it?
Thank you
VMware Workstation 11 will allow you to connect to your vCenter or ESXi host and manage the virtual machine.
-
Moving database from 1 server to another via Data Pump - some queries
Hello
I am planing to move my database from one windows server to another. Part of the obligation is also to update this database 10g to 11.2.0.3. So I'm combining 2 tasks using the export / import method (via Data Pump) upgrade.
Regarding export / import (which will be a pump full data of the database export) my plan is.
create an empty 11.2.0.3 target database on the server (same number of control files, and redo logs etc.) ready for an import of the source database
Q1. This will create tablespaces SYSTEM and UNDO - I presume the datapump export doesn't include these spaces of storage anyway?
For export, I intend to simulate CONSISTENT = Y using FLASHBACK_TIME = SYSTIMESTAMP
Q2. What is the return of flame characteristics must be active on the source database to use this knowledge should I Flashback Database enabled on the source (as opposed to other flashback features) database?
My target is a virtual server with a single virtual processor
Q3. Is there any point PARALLEL usinng in the import settings file (normally I would fix this number of processors - however in the case of this virtual server, it is actually onely a virtual processor)?
For the import, I intend to use the REMAP_DATAFILE option to change the location of the data files on the target server
Q4. If the import fails before the end, what is the best course of action? for example I just let go of data storage spaces and remake a complete import?
Thank you
JimJim,
I'll take a pass on your questions:
create an empty 11.2.0.3 target database on the server (same number of control files, and redo logs etc.) ready for an import > source database
Q1. This will create tablespaces SYSTEM and UNDO - I presume the datapump export does not include these storage spaces > anyway?The system tablespace is created when you create a database, but the Data Pump will export and try to import. It will fail with tablespace exists. I am sure that the undo tablespace will be also exported and imported. If they are there, then just import will report that they already exist.
For export, I intend to simulate CONSISTENT = Y using FLASHBACK_TIME = SYSTIMESTAMP
Q2. What is the return of flame characteristics must be active on the source database to use this knowledge should I Flashback Database active > on the source (as opposed to other flashback features) database?I know not true about it. I thought that you need just enough cancel, but I hope that others will run in.
My target is a virtual server with a single virtual processor
Q3. Y at - it no PARALLEL point usinng in the import settings file (normally I put this on the number of processors - > however in the case of this virtual server, it is actually onely a virtual processor)?We recommend usually 2 times the number of processes, so 2 parallel should be ok.
For the import, I intend to use the REMAP_DATAFILE option to change the location of the data files on the target server
Q4. If the import fails before the end, what is the best course of action? that is, do I just give up storage of data and redo a > full import?
It depends what is failure. Most of the failures will not stop work, but if this is the case, then most of these jobs may simply be restarted. To restart a job, you just need to know the name of the task, which is printed as you start to export/import, or you name the task in your order Data Pump. To restart, follow these steps:
password/user Impdp attach = job_name
If you do not name the work, the name of the job will be something like
User.sys_import_full_01
Hope that helps - and good luck with your migration.
Dean
-
Oracle9i database from one server to another server.
I am an Oracle Pl/SQL Developer. We will migrate the database to Oracle9i from one server to another server (both are unix solaris). What are all the meterics we must ensure the Migration succeeded.
rp0428 wrote:
user12223156 wrote:
OK, what about triggers, sequences, synonyms and links from DB? This will affect anything?
If you stop the database cleanly and then copy all THE files to a new installation of the same version of Oracle on another machine using the same folder structure (a COLD backup) it can not miss anything.
Re-reading the initial recognition, seeing that they do NOT change the versions of Oracle and do NOT change their operating system, it would seem that a cold backup and a restore would be the preferred method. Very probably fewer service interruptions and a guaranteed relentless, nothing will 'disappear' from the database...
-
the database error duplicate from one server to another server
Hello
I'm practicing duplicate database to a single database server to another server. Path material and pilot on 2 machines is the same. Here are my steps:
-Clone site:
1 change the listener.ora with content:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
)
)
ADR_BASE_LISTENER = / u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/db_1)
(SID_NAME = orcl)
)
)
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE
2. stop and start receiving once again, show message as:
Service "orcl" has 1 instance (s).
Instance "orcl", status UNKNOWN, has 1 operation for this service...
The command completed successfully
3. create pfile from spfile file.
4. stop and startup nomount with pfile is new pfile create in step 3.
--------------------------------------- Source site
1 edit tnsnames.ora with content like:
VVCOREDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vvcoredb)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
2 run the command of rman like these:
RMAN > Connect target sys@vvcoredb
RMAN > target password database:
RMAN > Connect auxiliary sys@orcl
RMAN > database auxiliary password:
RMAN > DUPLICATE TARGET DATABASE for database orcl active spfile nofilenamecheck.
Then the result show below:
From Db double to 24-SEP-12
using the control file of the target instead of recovery catalog database
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID = 63 type device = DISK
content of Script memory:
{
backup that copy reuse
TargetFile ' / u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
' / u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora';
clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora";
}
execution of Script memory
Backup to starting 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 74 type device = DISK
Backup finished 24-SEP-12
SQL statement: alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora"
content of Script memory:
{
clone of SQL 'alter system set = db_name
"ORCL" comment =
"reproduce" scope = spfile;
clone to stop immediately;
startup nomount clone;
}
execution of Script memory
SQL statement: alter system db_name set = comment "ORCL" = "duplicate" scope = spfile
Instance Oracle to close
connected to the auxiliary database (not started)
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 24/09/2012 17:44:12
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-04014: failed to start: ORA-01261: parameter db_recovery_file_dest destination string cannot be translated
ORA-01262: Stat failed on a destination of the file directory
Linux-x86_64 error: 2: no such file or directory
I don't know what wrong with my pfile file? I said to correct my pfile site clone like this:
ORCL.__db_cache_size = 1476395008
ORCL.__java_pool_size = 16777216
ORCL.__large_pool_size = 16777216
ORCL.__oracle_base='/U01/app/oracle'#ORACLE_BASE the value of the environment
ORCL.__pga_aggregate_target = 1342177280
ORCL.__sga_target = 1979711488
ORCL.__shared_io_pool_size = 0
ORCL.__shared_pool_size = 436207616
ORCL.__streams_pool_size = 0
*.audit_file_dest='/U01/app/Oracle/admin/ORCL/adump '
* .audit_trail = "db".
* full = '11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
* .db_block_size = 8192
* .db_domain = "
* .db_name = "orcl".
*.db_recovery_file_dest='/U01/app/Oracle/flash_recovery_area/vvcoredb '
* .db_recovery_file_dest_size = 4070572032
*.diagnostic_dest='/U01/app/Oracle '
*. Dispatchers ='(Protocol=TCP) (SERVICE = orclXDB)"
* .memory_target = 3313500160
* .open_cursors = 300
* runoff = 150
* .remote_login_passwordfile = "EXCLUSIVE."
* .undo_tablespace = "UNDOTBS1.
Please suggest me I miss some steps when trying to duplicate database?
Any suggestions are welcome.
Thanks in advance!
P/s: sorry for my bad English.This error is because the location of the controlfile specified in your spfile is not present on your server to clone. Change the location of the parameter cntrolfile in spfil or create the same location on the server.
Published by: Slim on 24 Sep 2012 17:47
-
How export/import the database from the Tools menu in sql developer.
Hello
I need to export the database to a server and import it on another server db using the export function of database under the Tools menu in SQL developer. How to import it? This is for Oracle database 10g.
Thank youHello
You can do it, but I do not recommend because sqldeveloper could eat all the memory of the system to analyze the script. Now the question is do you have also opted for storage option when you export, if yes make sure that similar tablespace exists or available in env b. Also if you want to use the generated sqldeveloper file you can run this file from sqlplus session
sqlplus newuser/password
sqlplus > @myexport.sqlBut my advice or suggestion or recommendation to be, you should consider using export/import or datapump but the decision is yours. Hope this helps
Concerning
-
Hello
10g R2 on UNIX, I can export to another server (physical machine):
How?exp userid=user/pwd@db tables=MYTABLE FILE=myfile LOG=anotherserver.smtng.com:/home/oracle/MY_LOG Export: Release 10.2.0.4.0 - Production on Tue May 31 13:09:12 2011 Copyright (c) 1982, 2007, Oracle. All rights reserved. EXP-00028: failed to open anotherserver.smtng.com:/home/oracle/MY_LOG for write EXP-00000: Export terminated unsuccessfully
Thank you.
PS: I use scp to copy the file:
SCP anyfile anotherserver.smtng.com:/home/oracle/user522961 wrote:
Hello
10g R2 on UNIX, I can export to another server (physical machine):exp userid=user/pwd@db tables=MYTABLE FILE=myfile LOG=anotherserver.smtng.com:/home/oracle/MY_LOG Export: Release 10.2.0.4.0 - Production on Tue May 31 13:09:12 2011 Copyright (c) 1982, 2007, Oracle. All rights reserved. EXP-00028: failed to open anotherserver.smtng.com:/home/oracle/MY_LOG for write EXP-00000: Export terminated unsuccessfully
How?
Thank you.You can set your source database tns entry and start "exp" on the remote server (target)?
tables userid=user/pwd@db exp = FILE = myfile LOG MYTABLE = MY_LOG
Concerning
Grosbois
-
Access to the database/schema to another server...
Hello - I have a need that will require me to access additional information about a schema on a server that is different from what my APEX installation runs on (IE 3rd part of the data that is not part of the inherent schema that accesses the APEX)...
My APEX server running version 3.2.1.00.11 on top of oracle 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production. We will call this server "A".
The target server is currently an Oracle server, but will eventually migrate to a Teradata installation (no - I have no word to say in the matter!). We will call this server 'B '. No idea what versions in both cases.
I understand that if I needed to access different patterns on the same server (IE Server A) it would be easy enough to do using grant statements.
Also, I understand that to access a schema on server B, I could use a DBLink to do.
My questions are:
(1) oracle allow a DBLink to teradata? I found the following thread that seems to indicate that it is possible (or at least used to be - don't know if it's still a valid configuration)
(2) is there another way to make this available external data source? A tech in our team 'Architecture COMPUTING"said DBLinks are not recommended or a best practice. He proposed adding the data source 'directly '?
This thread ( seems to speak of adding multiple schemas to a workspace, but I do not have access to this part of our oracle server (I'm only a workspace administration).)
(3) if I create a view that accesses the tables through the DBLink to Server B when it comes to Oracle, and then update the DBLink to point to the new teradata server during the migration happens - it will break anything within the APEX?
My hypothesis is that the table names are the same concerns only APEX that the view is valid and not what fuels the view.
The rationale against using DBLinks gave me was that "it is not sensible for APEX down to the oracle database (its native underlying server/schema) to cross to another server and return to the oracle database that then went up to the APEX." It makes more sense for APEX to go straight to the other source of data. Normally, I would say that they (Apex/infrastructure) are the same server so it does not really matter that he might have to go through additional 1 'service' or 'interface', but this area is not my specialty.
Also - I think that technically speaking our APEX service is already separated from its native schema/data on different servers (for load balancing), so in this case really maybe a middle Server Getting (IE Server APEX A-> native schema/data of the server where the DBLink might be-> server B) do an unnecessary extra jump (APEX Server A)-> server B. Note : I am sure that our architect does not know that this is the case, then it is not part of its raison d'etre.
Thoughts?
Thank you!
Jim(1) there is a wide variety of databases that you can access from Oracle using the links to the db. The main purpose of a db link must provide connectivity between databases that are not consistent with the use of a certain type of driver or translator. Some databases provide native connectivity with other thing than their own products.
(2) I would ask another dba from this source that he or she recommends, and if he or she has all the documentation. The long and short of it is (as I explained above) few providers of database provides native support for other database engines, which is needed for the kind of "direct connection" implies that person. My suspicion is that this person is an ODBC user and is equivalent to the use of ODBC drivers with "direct connection", which is far from accurate. ODBC only provides a generic interface to a database, at the expense of speed, functionality and efficiency thanks to the translation of the command and overhead.
(3) oracle generally doesn't care about the back end of a connection to a different database and neither does APEX. As long as you can build a database to the database in question, shouldn't you have any problems ask these data, although only in a reduced performance due to air travel, networking, drivers, etc.
Really, APEX is intended to be run against and integrates better with Oracle databases. If your main data is on another platform, APEX may not be the best solution for your needs.
-
If I export my contacts from my Windows Mail and import in another computer (same e-mail program), will be replaced existing contacts on this computer?
original title: about ContactsHello
Ideally, it should not be replaced.
See also: http://windows.microsoft.com/en-US/windows-vista/Import-export-or-change-the-format-for-contacts
-
For 'Post online', these files can be exported to another server?
Hello
I'm about to create a newsletter for a client (print version), and they want an online version. The feature to publish online looks great and works great, but my client wants to host the files on their server and not only on the Adobe server. Y at - it an option to publish the files to another server? The only alternative I could think was "Save as web page complete" on the web page so that all the files/folders should be saved in a folder, but that did not work.
I need to let my client know immediately what the options are so I hope someone can answer this as soon as possible. This question has probably been asked before, but I couldn't find the answer. The "Export as html" option since InDesign is not the answer, but publish it online works fine, just can't find out how to get these files to another server. Thank you!
Right now you can have documents published online on Adobe servers.
The documents cannot be protected, which may not be important for a society newsletter.
They can be viewed by any browser on any device and can include InDesign interactivity
The link of the URL can be sent to readers, you can share via share (FaceBook, Twitter, Email) and embed the code on a Web site. You also have the ability to allow the user to download a PDF version.
-
Cloning of a database to another server.
Hi all
11.2.0.3
I want to clone or reproduce our PROD database to another server, which is not on the same network, which means that I can't use rman duplicate.
I use only the backup rman which are shipped to the server target using flashdisk.
Can you share me docs on how to clone a database using rman backup?
I tried Google, but I especially find is RMAN duplicate which is not viable in my situation.
Thanks to all in advance.
pK
Hello
procedure to clone the database restore/recovery of RMAN is same in 10g and 11g.
Kind regards
Renu
-
The creation of Oracle 11 g DSN for database on another server
Hello
How to create a database of Oracle 11 g DSN for a database that is lying on another server? I tried to use the Microsoft ODBC Administrator tool, but it gives me options only for databases on my own machine.
Hello
Check this thread can help you https://forums.oracle.com/thread/2479208
-
How to change the Web server from one server to another server
Hi all
Can you please provide the document to change the location of the web server from one server to another server?
Thanks in advance.
Thank you and best regards,
Siva Prasad BSiva Prasad says:
Hi Michel,.Coping PS_HOME just move the web server?
And Michel and I said earlier that you need to reinstall your Web server... and to redeploy the PIA, which is not clear?
Nicolas.
Maybe you are looking for
-
10.11.16 - guest account
Hi any idea why the last OS X updated activated even guest account if his tour of in the user account. It shows start up for access safari only. It happened a few updates ago then disappeared al by himself. Retina MB Pro 2012 model.
-
Installation of Win XP on Satellite P305-S8832
Yesterday, I received a brand new WD SATA HDD 250 GB and a brand new Windows XP Home SP3 CD and I swap the HD of my P305-S8832 and began the Odyssey of the Windows XP installation. I didn't have all my data on another hard drive, so no risk. I starte
-
Satellie Pro A40: need driver Cardbus
Hello I just bought a second hand A40 offshore from a friend who has managed to turn the wine around his machine.She had lost the recovery CD, so I re-installed Windows directly from CD, download additional drivers from the support site. However, I c
-
to try to improve firefox v3.0.8 to v3.6.3 menu bookmarks at the top of the page with "file. Ed. View. History.Tools and aid disappeared. He appears again when I return to v3.0.8.
-
Satellite 1800-400: internal modem does not work with Ubuntu Linux?
Hello I try to get the internal modem on my departure from 1800-400 of Satellite under Ubuntu Edgy. All other works out of the box except the modem software and I was wondering if one can be able to help with this. I have been on many Linux forums an