View Full Version : Copy site to different account
fourbit
04-30-2005, 03:11 PM
I need to copy a site to a different account on the same server. It is a pretty big site and I don't want to download it to my system and then upload it. Even if I zipped it, it would still take a while.
I am brand new to this VPS stuff and I have used Linux before. So, I'm sure I can figure it out.
The account has a DB with it also.
Thanks,
Paul
veena
04-30-2005, 07:07 PM
Hi Paul,
You can move the site files via ssh if you are logged in as root. If you need help with this, please just submit a support ticket and we can help you out.
fourbit
04-30-2005, 07:17 PM
Thanks, I tried going through ssh. But, got spooked. :D So, I bailed.
I was trying to copy the public_html directory from the working site to the new one. But, didn't want to go. Which directories would I have to copy? As I said earlier, this has a MySQL db with it too.
Thanks,
Paul
nadzri
05-01-2005, 09:47 AM
I'd tar.gz the entire public_html directory, by ssh or control panel, and then from ssh on the vps, use wget to bring over that one tar.gz file into the vps' public_html directory. Uncompress and you should be good to go.
For the db, do a mysqldump or a db backup from cp/phpmyadmin/whatever-else-you're-comfortable-with, zip it if you want, leave it in a web-accessible directory, and then wget to bring over to the vps. Then it's just a matter of restoring the db.
I hope I haven't missed anything out.
[Update] :rolleyes:
I completely missed the "different account on same server" bit, I apologise. The easiest way then I guess would be to just email support. They'd have it done in a flash.
fourbit
05-01-2005, 12:38 PM
Thanks Nadzri and Veena,
I fretted about it all day yesterday and a bit this morning. Then finally gave up and put in a ticket.
Here's my experience with this great support team.
Ahmed responded within about 25 mins. with some advice and a question. He was concerned with whether or not I knew what I wanted to do (basically). That impressed me and I really appreciated the concern. I then responded to that with an affirmative, and asked another question.
Ahmed responded within 20 mins. With a "Job completed". And he also took the time to show me the commands (which I requested) that he used to do the job.
:D I am totally impressed.
Ahmed is another very pleasant person to work with and extremely professional. He treated me as family and not the "slow, dumb old guy" that I am.
And the time it took to get this resolved was a whole lot less than I expected. I realize that this was a very low priority ticket. And I really appreciated him checking with me to find out exactly what I wanted to do and to let me know what I would have to do afterwards.
Rating :EXCELLENT!
Thanks
Ahmed
05-01-2005, 12:58 PM
I don't know what to say
You have made my day by these kind words :)
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.