Here a general question: I have a site hosted on Bluehost. I was working on it and now have set up a wamp server locally cause I want to work on it locally (and I want to have the site in 3 places too to be safe of course). I did all the steps to create a local drupal site. I imported the database saved with the backup migrate module into the newly created database on the localhost with the same name as the remote db. BUT I don't see any content on the localhost, which content is existent on the remote site. Barring any issues like I used the wrong baked up DB, which I am checking, my question is more general. Am I correct in my assumption that the content lives in the DB? (sounds implausible that it will be somewhere else) Or do I need to import certain folders - I already downloaded the sites\... folders. Or what other explanation could explain. One other thing: I think it is probably irrelevant but I have 3 dbs. sitename_dp1, dp2 and dp3. I assume that these are just older dbs which were remnants of drupal installs that I deleted. I only imported dp3 to the localhost based on this assumption. -- *Anthony Stefan Maciejowski* *tony maciejowski** | analyst/programmer | websites | www.tony-mac.com<t_maciejowski@hotmail.com> * *Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski* “Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.” --- Vaclav Havel
I have an idea. Maybe because I have yet to import the menu module used on this site into the local host (?). On Tue, Feb 28, 2012 at 10:55 AM, Anthony <tony@tony-mac.com> wrote:
Here a general question: I have a site hosted on Bluehost. I was working on it and now have set up a wamp server locally cause I want to work on it locally (and I want to have the site in 3 places too to be safe of course). I did all the steps to create a local drupal site. I imported the database saved with the backup migrate module into the newly created database on the localhost with the same name as the remote db. BUT I don't see any content on the localhost, which content is existent on the remote site. Barring any issues like I used the wrong baked up DB, which I am checking, my question is more general. Am I correct in my assumption that the content lives in the DB? (sounds implausible that it will be somewhere else) Or do I need to import certain folders - I already downloaded the sites\... folders. Or what other explanation could explain. One other thing: I think it is probably irrelevant but I have 3 dbs. sitename_dp1, dp2 and dp3. I assume that these are just older dbs which were remnants of drupal installs that I deleted. I only imported dp3 to the localhost based on this assumption.
--
*Anthony Stefan Maciejowski*
*tony maciejowski** | analyst/programmer | websites | www.tony-mac.com<t_maciejowski@hotmail.com> *
*Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski*
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel
-- *Anthony Stefan Maciejowski* *tony maciejowski** | analyst/programmer | websites | www.tony-mac.com<t_maciejowski@hotmail.com> * *Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski* “Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.” --- Vaclav Havel
Hi Tony, Yes, the content indeed resides in the database, at least mostly. Image files/etc. are stored in the public files folder (sites/default/files or sites/example.com/files by default, look in https://example.com/admin/config/media/file-system for your settings). So you'd also have to copy those files. However, you should already see your imported nodes after importing the (correct!) database. You can find the name of the database in sites/default/settings.php or sites/example.com/settings.php (depending on your configuration, look for the $databases array) Even if the menu doesn't work, you should see your content in https://example.com/admin/content (or http, if you don't have ssl configured) Good luck! Ursula On Tue, Feb 28, 2012 at 11:34 AM, Anthony <tony@tony-mac.com> wrote:
I have an idea. Maybe because I have yet to import the menu module used on this site into the local host (?).
On Tue, Feb 28, 2012 at 10:55 AM, Anthony <tony@tony-mac.com> wrote:
Here a general question: I have a site hosted on Bluehost. I was working on it and now have set up a wamp server locally cause I want to work on it locally (and I want to have the site in 3 places too to be safe of course). I did all the steps to create a local drupal site. I imported the database saved with the backup migrate module into the newly created database on the localhost with the same name as the remote db. BUT I don't see any content on the localhost, which content is existent on the remote site. Barring any issues like I used the wrong baked up DB, which I am checking, my question is more general. Am I correct in my assumption that the content lives in the DB? (sounds implausible that it will be somewhere else) Or do I need to import certain folders - I already downloaded the sites\... folders. Or what other explanation could explain. One other thing: I think it is probably irrelevant but I have 3 dbs. sitename_dp1, dp2 and dp3. I assume that these are just older dbs which were remnants of drupal installs that I deleted. I only imported dp3 to the localhost based on this assumption.
--
Anthony Stefan Maciejowski
tony maciejowski | analyst/programmer | websites | www.tony-mac.com
Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel
--
Anthony Stefan Maciejowski
tony maciejowski | analyst/programmer | websites | www.tony-mac.com
Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel
-- [ Drupal support list | http://lists.drupal.org/ ]
That's what I thought and yes I looked in settings.php for the name. strange. I will try to restore a different db backup. On Tue, Feb 28, 2012 at 1:15 PM, Ursula Pieper <dramamezzo@gmail.com> wrote:
Hi Tony,
Yes, the content indeed resides in the database, at least mostly. Image files/etc. are stored in the public files folder (sites/default/files or sites/example.com/files by default, look in https://example.com/admin/config/media/file-system for your settings). So you'd also have to copy those files. However, you should already see your imported nodes after importing the (correct!) database.
You can find the name of the database in sites/default/settings.php or sites/example.com/settings.php (depending on your configuration, look for the $databases array)
Even if the menu doesn't work, you should see your content in https://example.com/admin/content (or http, if you don't have ssl configured)
Good luck! Ursula
On Tue, Feb 28, 2012 at 11:34 AM, Anthony <tony@tony-mac.com> wrote:
I have an idea. Maybe because I have yet to import the menu module used on this site into the local host (?).
On Tue, Feb 28, 2012 at 10:55 AM, Anthony <tony@tony-mac.com> wrote:
Here a general question: I have a site hosted on Bluehost. I was working on it and now have set
up
a wamp server locally cause I want to work on it locally (and I want to have the site in 3 places too to be safe of course). I did all the steps to create a local drupal site. I imported the database saved with the backup migrate module into the newly created database on the localhost with the same name as the remote db. BUT I don't see any content on the localhost, which content is existent on the remote site. Barring any issues like I used the wrong baked up DB, which I am checking, my question is more general. Am I correct in my assumption that the content lives in the DB? (sounds implausible that it will be somewhere else) Or do I need to import certain folders - I already downloaded the sites\... folders. Or what other explanation could explain. One other thing: I think it is probably irrelevant but I have 3 dbs. sitename_dp1, dp2 and dp3. I assume that these are just older dbs which were remnants of drupal installs that I deleted. I only imported dp3 to the localhost based on this assumption.
--
Anthony Stefan Maciejowski
tony maciejowski | analyst/programmer | websites | www.tony-mac.com
Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel
--
Anthony Stefan Maciejowski
tony maciejowski | analyst/programmer | websites | www.tony-mac.com
Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel
-- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ]
-- *Anthony Stefan Maciejowski* *tony maciejowski** | analyst/programmer | websites | www.tony-mac.com<t_maciejowski@hotmail.com> * *Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski* “Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.” --- Vaclav Havel
On Tue, Feb 28, 2012 at 4:27 PM, Anthony <tony@tony-mac.com> wrote:
That's what I thought and yes I looked in settings.php for the name. strange. I will try to restore a different db backup.
I do this by using mysqldump and ``tar zcf'' on the source side and mysql and ``tar zxf'' on the destination side. If you want more information contact me off list. -- Earnie -- https://sites.google.com/site/earnieboyd
On Wed, Feb 29, 2012 at 8:11 AM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
On Tue, Feb 28, 2012 at 4:27 PM, Anthony <tony@tony-mac.com> wrote:
That's what I thought and yes I looked in settings.php for the name. strange. I will try to restore a different db backup.
I do this by using mysqldump and ``tar zcf'' on the source side and mysql and ``tar zxf'' on the destination side. If you want more information contact me off list.
Oh, and since you are on BlueHost, you might consider using a sub-host of you main host something like dev.example.com and make sure your DNS doesn't allow public access to dev.example.com. You can modify your %WINDIR%/system32/drivers/etc/hosts to add dev.example.com to the IP address assigned to you by BlueHost to access it via your browser. -- Earnie -- https://sites.google.com/site/earnieboyd
participants (3)
-
Anthony -
Earnie Boyd -
Ursula Pieper