LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2014, 05:07 PM   #1
bradshaw79
LQ Newbie
 
Registered: Jan 2014
Location: Plano, TX
Distribution: Centos
Posts: 26

Rep: Reputation: Disabled
Question Need help making "clone" of physical server into a virtualbox..


Hopefully I am describing this correctly. ...

I have a working (down at the moment, but in the process of being fixed) installation of vTiger on Centos i686 5.9.

I want to put our crm in a virtualbox. A few years back, we used several contractors to upgrade and customize our installation to our liking. The layout is different, certain functions are in our version that arent in the main distro, etc..

I want to "clone" this installation into a virtual box. Ive scoured the internet over the years and found several articles and "how to's" about doing this... But none have been successful. Not even a little bit.

When the CRM was able to be used, I took a backup of the databases and the directory is still intact. (The whole problem with it now is that you just cant login to the CRM anymore. As I said before, in the process of fixing that).

I suppose when its backup I need to take a clean backup of the system and have it generate the .zip file and somehow "restore" it in the new installation of vTiger. The whole problem is that a new installation of vTiger simply will not "take" the backup of our vtiger... I have no idea why, it just wont. I dont know how to "move" changes and customizations of the working server, to the virtualbox.

Help!
 
Old 01-11-2014, 10:44 PM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Maybe try restoring the databases and search for vtiger admin password reset.

I am sure that is all there is to it.
But virtualbox for that? I will definitely recommend kvm or xen for that type of workload.
 
Old 01-12-2014, 12:26 PM   #3
bradshaw79
LQ Newbie
 
Registered: Jan 2014
Location: Plano, TX
Distribution: Centos
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ericson007 View Post
Maybe try restoring the databases and search for vtiger admin password reset.

I am sure that is all there is to it.
But virtualbox for that? I will definitely recommend kvm or xen for that type of workload.
How would I go about restoring the database, then where would I even look for the vtiger admin?

There are only 3 of us now that use the crm... not a very big workload at present. Over time, this number will grow. Eventually, I will move the CRM to a hosted server so that all the remote reps can access....
 
Old 01-12-2014, 03:43 PM   #4
bradshaw79
LQ Newbie
 
Registered: Jan 2014
Location: Plano, TX
Distribution: Centos
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ericson007 View Post
Maybe try restoring the databases and search for vtiger admin password reset.

I am sure that is all there is to it.
But virtual box for that? I will definitely recommend kvm or xen for that type of workload.
After some research, it seems I would best served to make a fresh installation of vTiger 5.2.1... Easy enough.

Question is this:
1. I know I can do a MySQL dump to back up the database. Cool enough...
2. Now I have this dump file. What do I do with it?
3. The layout on my vTiger is very customized with calculations, etc. even the layout is different. When I move the files from directory to directory, nothing changes.

How would I restore not only the database, but also all the config files?
 
Old 01-12-2014, 11:11 PM   #5
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
1.) Correct

2.)http://webcheatsheet.com/sql/mysql_backup_restore.php

Or copy the /var/lib/mysql folder over. Just be careful of permissions and selinux if you use that.

3.) Copy the original sources over to the new server. Configs have to be copied or recreated.

If you simply cannot remember the admin password for vtiger

http://kb.siteground.com/how_to_rese...tive_password/

Last edited by ericson007; 01-12-2014 at 11:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why dmesg showed different "Physical Processor ID" on RedHat Enterprise 6.2 Server ? hyunseop86 Red Hat 2 06-13-2013 05:00 AM
Git unable to clone from "remote" to working dir on that server? Jukas Linux - Software 3 08-10-2012 05:31 AM
Socket Programming making use of "select()" and "writefds" johncsl82 Programming 10 11-13-2011 01:27 PM
"Shared physical device" versus "Virtual network" ThomasRonshof Linux - Virtualization and Cloud 2 06-17-2011 04:27 PM
k3b: To choose "normal" or "clone" copying grautu Linux - Software 1 01-09-2006 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration