Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example:

I have a wordpress site(blog) on

I want to upgrade some plugins and WP version of site but before it i want to check all things on a mirror version.

How to make a mirror backup site of currently running site on same server like

whatever i will do on mirror site, should not effect to live site.

I will delete mirror after successfully checking all upgrade on it? and will upgrade WP version and plugin on live site.

I don't want to loose any content, comment on live site(blog).

My hosting is on PHP based server and my hosting control panel is cpanel

share|improve this question
up vote 1 down vote accepted
  • Make a copy of the database.
  • Create a new database user.
  • Make a copy of the Wordpress Web tree
  • Point wp-config.php to the database copy
  • If desired, setup a separate VirtualHost for the copy
  • Test your changes

Be careful, ideally this would be a separate server.

share|improve this answer
"ideally this would be a separate server" but not technically it should be possible on same server. – user36392 Jul 8 '10 at 17:50
huh? When you make a mistake and mess up the primary site, you'll understand the benefits of a separate server. – Warner Jul 8 '10 at 18:03
The procedure I provided can be applied to your single server. – Warner Jul 8 '10 at 18:10
@Warner - I'm very agree with you. but the problem is i don't have another server – user36392 Jul 9 '10 at 8:24
@Warner - Can i use same database for both sites main and testing. because in testing site i will not add any new article or comment. i will just upgrade wordpress versions and plugins and i think it will not write anything in database. – user36392 Jul 11 '10 at 4:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.