I recently removed all the umbraco files from my FTP because I am building a new website (with php). However, I need some of the content that was stored in umbraco.
Where can I locate the old content in the database? I cant seem to find the text from all the articles I created.
sql script I use for finding in newest published content...
select b.Id as PropertyDataId, c.path ,
contentNodeId, d.Name, d.Id as PropertyTypeId, c.text as DocumentName, dataNvarchar, dataNtext
--into #temp
from
cmsDocument AS a
INNER JOIN cmsPropertyData AS b ON a.nodeId = b.contentNodeId and a.newest = 1 and a.versionId = b.versionId
INNER JOIN umbracoNode as c on a.nodeId = c.id
INNER JOIN cmsPropertyType as d on b.propertytypeid = d.id
WHERE
--n.path LIKE ('-1,%' + @rootNodeId + '%')
--d.Id = 37
--AND
--(
-- b.dataNvarchar LIKE ('%' + 'XXX' + '%')
-- OR
-- b.dataNtext LIKE ('%' + 'XXX' + '%')
--)
--AND
(
trashed <> '1'
)
;
I've dropped the Where, so you should get all the published content that you had
Locate old content in database
Hi guys,
I recently removed all the umbraco files from my FTP because I am building a new website (with php). However, I need some of the content that was stored in umbraco.
Where can I locate the old content in the database? I cant seem to find the text from all the articles I created.
Thanks, Casper
sql script I use for finding in newest published content...
I've dropped the Where, so you should get all the published content that you had
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.