Moving Dolphin to a New Folder

Ok so,

www.deciphagear.com/dolphin is my current site

(it goes like this, 'deciphagear.com' is a folder > 'dolphin' is the folder for dolphin that has the site in it obviously that is inside the 'deciphagear.com' folder on the server, and i want to move the dolphin files inside it and out of the 'deciphagear.com' folder to the 'letsconnect.ca' folder, [taking it OUT of the dolphin folder so there is no letsconnect.ca/dolphin])


I want to just move the files my Dolphin folder from the current folder that it is in on my server (deciphagear.com/dolphin/) to the (letsconnect.ca) folder which on the same level on my server/ftp as my current folder that it is in. both folders (the url domains) are managed on the using the same ftp username. Anyways read more here, this is what im looking at following in order to do it:

http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#Ineedtotransfermysitetoanotherfolderserver.WhatdoIneedtodo


So yeah, I simply want to put the files from /dolphin/ into a new folder (the one that is for the new url letsconnect.ca) on the same server (for the new url domain) and im just worried things will mess up maybe im paranoid i dont know, can i use the SAME DATABASE or do i have to make a new one?... because on the server im using the same username to manage both ftp logins for the url its in now and the one i want to move it into, so can I just use the same database so I dont have to worry about certain steps, or does that matter, or do will that even work? or am i just causing myself more trouble and should i simply follow those instructions? and is that really all there is to transferring it to a new folder, seems so simple that it has me worried haha..


thanks!
www.letsconnect.ca

Quote · 6 Sep 2008

If your were a little bit more clear i could help you. All i understood is "i want to move my folder where my dolphin folder is now i want my folder in the folder where my folder folder's is", or something like that. So be more clear...

Quote · 6 Sep 2008

...and of course, you have the clear instructions there. What do you need more?

Quote · 6 Sep 2008

You should move all files,

and after just edit headers files:

inc\header.inc.php

and

ray\modules\global\inc\header.inc.php

Quote · 9 Sep 2008

yeah i know this is an old post, but also seen where some are still needing this information. 

 

moving dolphin to another host. first and foremost, if you are running cpanel, your receiving host should be able to transfer your site relatively painlessly if you are running cpanel on both instances. 

 it has also been noted that the htmlpurier can cause some issues. Deano can you refresh the actual method for clearing the files on there that have been known to create problems when moving servers?

if your losing host is not on the outs with you they can help you get moved as well as a courtesy or a value added service.

 

if you are on vps or dedicated

i recommend the following

from cpanel run the backup wizard, let it complete

download that backup file, and provide that to your receiving host

 

secondly login to phpmyadmin and backup your database manually, and physically

on the file system tar up your files from /home/username/ you will see public_html in most cases, 

tar czvf bkupmysite.tar.gz public_html

now what is supposed to happen here, is that you should be able to retain file permissions and ownership by gunzip tarring the public_html dir

 

keep in mind, this is dependant on an actual transfer though this is out manual method,.

now with your bkupmysite.tar.gz mv bkupmysite.tar.gz /home/username/public_html

we are putting the tar file in a publically accessible now on your recieving host, login to ssh, and wget http://domainname.ext/bkupmysite.tar.gz this should transfer the tar file over. 

 

if you have already changed your DNS, then you can try http://IP/~username/public_html/bkupmysite.tar.gz

 

you can also try to use the sync method on phpmyadmin sertting the IP and uname/pword for your database on the losing host, the databases should sync, this would also depend on max execution time and the actual size of your database. 

 

cache should always be dumped prior to packing "tarring the dir. 

moving dolphin can be a pill, but it can also be painless. 

 

ask both your losing host and receiving host if they can help you get transferred, we move all of our clients as a general courtesy. 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 21 Jul 2012

and after all of that, i misread that they really wanted to move dolphin to another folder.

 

that one is easy

depending on which way you going

 

but generally the synopsis is that you should copy first then rm -rf the dir that you dont need

 

if you have dolphin in a subdirectory and you want to move to root of public_html

cd /home/uname/public_html and give this command mv * ..

what that says is that you want to move everything up one level, now you will also have to stay there for a moment, because this does not move the htaccess  file from /home/uname/public_html

mv .htaccess ..

that moves .htaccess up one level

 

moving dolphin from root to a subdirectory

not sure why, but ok, 

cd /home/uname/public_html

mkdir newdir

cd newdir

cp /home/uname/public_html/* /home/uname/public_html/newdir

the reason you copy upwards, i just suggest this in case something happens with the mv

you can indeed 

cd /home/uname/public_html

mkdir newdir

cd newdir

why are you going into newdir, not sure, but i do know that i have seen machines get confused that you werre copying files to an existing path where the files already resided

at any rate

cd ..

you should now be back at /home/uname/public_html

mv * /home/uname/public_html/newdir

mv * . /home/uname/public_html/newdir

 

then you will need to edit the header inc and correct your paths, and all should be well

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 21 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.