|
Home > Archive > Microsoft Content Management Server > July 2006 > Incremental Exports / Concurrency
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Incremental Exports / Concurrency
|
|
| Mark Craft 2006-07-20, 7:36 am |
| We have an MCMS site that is to be exported from the staging server to the
production server via scripting every night, this will do an incremental
export.
In addition we also need to be able to export the homepage of the site
(only) on an ad-hoc basis, the way I have done this is to have a script that
simply exports anything that has changed in the last 10 minutes - this is
good enough and the business is happy with the solution.
My question is am I right in thinking that MCMS knows when something was
last exported on a page by page basis ? So if a page is changed, but not
exported by the ad-hoc export it'd be picked up by the next nightly export ?
e.g.
Page A and page B both exist on the production site.
Page A gets changed at 9am on staging server
Page B gets changed at 10am on staging server
Ad-Hoc export is done at 10:05am, page B is taken, but page A is not as it
was last approved more than 10 minutes ago
Nightly incremental export happens at 2am the next day, page B hasn't
changed since the last export, so is left alone, but page A has changed since
the last (nightly) export, hence it is included in the export ?
if this isn't the case we may have some concurrency problems..
| |
| Stefan [MSFT] 2006-07-20, 7:36 am |
| Hi Mark,
you are right, MCMS knows when an item has changed and exported on a page
per page basis.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Mark Craft" <MarkCraft@discussions.microsoft.com> wrote in message
news:6197467C-295E-49DE-9BB6-3ED5F4026687@microsoft.com...
> We have an MCMS site that is to be exported from the staging server to the
> production server via scripting every night, this will do an incremental
> export.
>
> In addition we also need to be able to export the homepage of the site
> (only) on an ad-hoc basis, the way I have done this is to have a script
> that
> simply exports anything that has changed in the last 10 minutes - this is
> good enough and the business is happy with the solution.
>
> My question is am I right in thinking that MCMS knows when something was
> last exported on a page by page basis ? So if a page is changed, but not
> exported by the ad-hoc export it'd be picked up by the next nightly export
> ?
> e.g.
>
> Page A and page B both exist on the production site.
> Page A gets changed at 9am on staging server
> Page B gets changed at 10am on staging server
> Ad-Hoc export is done at 10:05am, page B is taken, but page A is not as it
> was last approved more than 10 minutes ago
>
> Nightly incremental export happens at 2am the next day, page B hasn't
> changed since the last export, so is left alone, but page A has changed
> since
> the last (nightly) export, hence it is included in the export ?
>
> if this isn't the case we may have some concurrency problems..
| |
| Mark Craft 2006-07-21, 1:17 pm |
| Hi Stefan,
Thanks for confirming that for me, maybe you can answer another question..
Whilst developing the export functionality I've noticed I have two pages
that are always exported, even though they haven't change since the last time
(they were both last approved in June, the export report confirms this).
There isn't anything especially odd about them - I have other pages based on
the same templates that are not exported every time. Are there any common
things to look for that might cause this ? I was going to change the pages
ans approve them to see if they fall back in line, but thought it'd be
interesting to find out why they have got into this state first.
Thanks again
Mark
"Stefan [MSFT]" wrote:
> Hi Mark,
>
> you are right, MCMS knows when an item has changed and exported on a page
> per page basis.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Mark Craft" <MarkCraft@discussions.microsoft.com> wrote in message
> news:6197467C-295E-49DE-9BB6-3ED5F4026687@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-07-21, 1:17 pm |
| Hi Mark,
that is a common question.
Actually this will always happen if the postings references a resource
gallery item which has been deleted.
Deleting a resource gallery item will trigger an export of the postings. As
the deleted resource gallery items cannot be exported the flag that the item
has been exported cannot be reset and the item will continue to be exported.
You would need to remove the reference to the deleted resource gallery item
or use the stored procedure referenced here to undelete the resource gallery
item:
http://blogs.technet.com/stefan_gos.../23/378718.aspx
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Mark Craft" <MarkCraft@discussions.microsoft.com> wrote in message
news:22F9B297-30B4-42BF-8511-F11F7B57515F@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Thanks for confirming that for me, maybe you can answer another question..
>
> Whilst developing the export functionality I've noticed I have two pages
> that are always exported, even though they haven't change since the last
> time
> (they were both last approved in June, the export report confirms this).
> There isn't anything especially odd about them - I have other pages based
> on
> the same templates that are not exported every time. Are there any common
> things to look for that might cause this ? I was going to change the pages
> ans approve them to see if they fall back in line, but thought it'd be
> interesting to find out why they have got into this state first.
>
> Thanks again
>
> Mark
>
> "Stefan [MSFT]" wrote:
>
|
|
|
|
|