Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 10 of 11 total |
Copying a database |
Mon, Sep 14 2015 9:15 AM | Permanent Link |
Matthew Jones | I want to take a database directory that contains a catalogue and
tables and everything, and copy it as-is to another computer for use. I've copied the files, and then run the ElevateDB Manager, and created a session pointing to the folder, but none of the tables are present. What did I miss out? The file location is exactly the same, so that shouldn't be a problem. It knows the name of the database, and had that without me doing anything more. -- Matthew Jones |
Mon, Sep 14 2015 10:05 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Matthew
>I want to take a database directory that contains a catalogue and >tables and everything, and copy it as-is to another computer for use. >I've copied the files, and then run the ElevateDB Manager, and created >a session pointing to the folder, but none of the tables are present. >What did I miss out? The file location is exactly the same, so that >shouldn't be a problem. It knows the name of the database, and had that >without me doing anything more. I've had this, but can't remember exactly what is was, and all my machines are busy just now. Try checking that the database is pointing to the right directory. Roy Lambert |
Mon, Sep 14 2015 10:17 AM | Permanent Link |
Matthew Jones | Roy Lambert wrote:
> Try checking that the database is pointing to the right directory. Aaargh! I knew that this was right as I hadn't changed anything, but you asking made my mind clunk and realise I had renamed the project. Amazing how the mind works... (Or doesn't!) Quick change, now working. Thanks. -- Matthew Jones |
Mon, Sep 14 2015 10:21 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Matthew
Just a thought - you did copy the configuration file as well as the tables and catalog. Roy Lambert |
Tue, Jan 12 2016 8:11 AM | Permanent Link |
Matthew Jones | Matthew Jones wrote:
> > Try checking that the database is pointing to the right directory. > > Aaargh! I knew that this was right as I hadn't changed anything, but > you asking made my mind clunk and realise I had renamed the project. > Amazing how the mind works... (Or doesn't!) Quick change, now > working. It would be nice to have something about this in the FAQ. Just did the same thing again today, and having something that describes the simple process of moving a database would be good. Indeed, what I'd really like is some sort of "open a session" too, to pick up the session details from the directory, but that may be harder. Anyway, at least I could find this and realise the problem again. -- Matthew Jones |
Thu, Jan 14 2016 9:30 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
<< I want to take a database directory that contains a catalogue and tables and everything, and copy it as-is to another computer for use. I've copied the files, and then run the ElevateDB Manager, and created a session pointing to the folder, but none of the tables are present. What did I miss out? The file location is exactly the same, so that shouldn't be a problem. It knows the name of the database, and had that without me doing anything more. >> Normally, the process should be this: 1) Backup the database on the source machine. 2) Create the database definition on the target machine using the CREATE DATABASE DDL statement. The configuration file will be created automatically when you first open the session in the location specified by the configuration path defined for the engine/session (TEDBEngine.ConfigPath/TEDBSessionLocalConfigPath when TEDBEngine.UseLocalSessionEngineSettings=True). 3) Restore the database on the target machine. Tim Young Elevate Software www.elevatesoft.com |
Thu, Jan 14 2016 9:31 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
Forgot: when backing up/restoring the database, make sure that the "Include Catalog" is specified (or selected in the EDB Manager). Tim Young Elevate Software www.elevatesoft.com |
Thu, Jan 14 2016 11:37 AM | Permanent Link |
Matthew Jones | Tim Young [Elevate Software] wrote:
> Normally, the process should be this: > > 1) Backup the database on the source machine. > > 2) Create the database definition on the target machine using the > CREATE DATABASE DDL statement. The configuration file will be > created automatically when you first open the session in the location > specified by the configuration path defined for the engine/session > (TEDBEngine.ConfigPath/TEDBSessionLocalConfigPath when > TEDBEngine.UseLocalSessionEngineSettings=True). > > 3) Restore the database on the target machine. I shall have to practice this. -- Matthew Jones |
Fri, Jan 15 2016 4:46 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
Don't you still have to set the database path? Roy Lambert |
Fri, Jan 15 2016 9:44 AM | Permanent Link |
Fernando Dias Team Elevate | Roy,
That's step 2) : "Create the database definition..." -- Fernando Dias [Team Elevate] |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Monday, May 6, 2024 at 12:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |