In this lesson, we’ll explore your Live site and add an article or post to simulate working on a real production site. Then we’ll clone your Live site “down” to your Dev site.
Watch the video:
Try it yourself:
Click the Site Admin button to open your Live site in a new tab. You’ll need to log in before being directed to the site administration dashboard.
NoteYour WordPress or Drupal username and password are the same set you created when you installed your Dev site for the first time.
Now let’s create a new Drupal article or WordPress post! If you need help with this step, please reference the WordPress Codex or Drupal Documentation on how to add a post or article. When finished, visit the front page of your site and confirm that you can see the new content.
When you’re done, navigate back to your Site Dashboard. Click the Dev tab, and open your Dev site by clicking Visit Development Site.
Notice that the content you just created on your Live site doesn’t appear here on your Dev site. This is because each environment is a stand-alone copy of your site, with its own codebase, database, and files.
It’s important to develop on a recent copy of your site with the newest content, so let’s clone your Live site—with its new content—to your Dev environment.
Consider creating a backup before proceeding. After Step 7, you will not be able to recover Dev database and files without a backup:
Create Backup (optional)
The Backups tab is where you manage all the details for your site's backup. A backup is composed of 3 separate archives for database, files, and code. Let’s create a backup now:
- Click Backups on the Dev tab of your Site Dashboard.
- Click Create New Backup.
- Click Deploys to return to the lesson.
On the Dev tab of your Site Dashboard click Database / Files.
To clone the database and files from the Live site, select Live from the dropdown menu.
As intended, this action will overwrite your Dev database and files. If you skipped the backup task you will be unable to recover this data hereafter.
The Clone operation only copies the files folder (
sites/default/files) and does not include core, theme, plugins or modules.
Click Clone the Database & files from Live into the Development Environment.
When this is complete, click Visit Development Site to confirm that the content you created on your Live site now appears on your Dev site.
Nice work! You added a page to your Live site, then cloned this environment "down" to Dev. Your Dev environment is a safe place for editing code, and now it's up-to-date with your latest content.