INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

copy pervasive database files to a different machine

copy pervasive database files to a different machine

(OP)
I am wanting to setup a lab environment so as to do some testing with a script i am writing that will do some updates to my existing pervasive database. I know i could setup a dummy database on exisiting server but i need to have the exact tables and data etc ...  to work from. I will also be doing all this work from a totally different location or building . My question is can i make a copy of the existing database files and put them on my lab environment server and PCC will be able to open it and all the tables and data be intact ?

or is there a better best practice solution to this problem ?

If the copy would work what all files do i need to copy ?
i am new to pervasive and am still a little confused about what all files are associated with the operation of the database.

Thanks.

Note: my existing DB  name is HII if this helps in any replies that are offered.

RE: copy pervasive database files to a different machine

Short answer is that yes, you can copy the DDFs and data files from your production server to your test server, create a database in the PCC and access that data.  You will need a Pervasive engine running on the lab machine.  
As far as which files, that depends on your application.  You can look in the PCC at the database properties for your existing database and find the data path and dictionary path.  You'll need the DDFs from the dictionary path and the data files from the data path.  The DDF and data path may be the same and that's okay.  
 

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close