cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying only perticular snapshot using ASR

kirit
Champ on-the-rise
Champ on-the-rise
Hi
In alfresco 3.1, i need to deploy a snapshot by ASR to other server, but i dont want information of the previous snapshot to be deploy.
Lets say i have 3 snapshots; s1(contains content c1,c2), s2(content c3,c4) and s3(content c5,c6) as s3 is latest.
Now, so far we have not deployed any of these snapshots, if we deploy a S3 then all the contents(c1 to c6) will be deployed through ASR to destination server as out of box alfresco deploys upto latest deployed snapshot; but i don't want snapshot s1 and s2 (c1 to c4) to be deployed

How can i achieve this? or if i don't use snapshot facility and without that want to deploy only particular content to other server then what could be suggested approaches?

Is this advisable in terms of feasibility and considering other aspects.

please reply if anybody have any idea or reference for such scenarios.
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
You can't prevent the full project from being deployed, and why would you want that.  The snapshot is a consistent view of the entire project, not just the delta from the previous snapshot.    Your use-case seems very strange, what are you trying to do?

You may be able to structure your project to exclude deploying certain parts of your web project, which is a more typical case.

kirit
Champ on-the-rise
Champ on-the-rise
Thank you mrogers,
Yes use case is little strange.
Let's say i am having a pre-prod server where users will add their contents and publish it, then my boss will have a look to those contents on site (front-end UI is in different portal not in alfresco) and then boss will like few of them but didn't like one or some issue with one content so we don't want to move that content while we do ASR. as that content may be created previously so it will also go once we deploy a latest snapshot which we don't what.

And as you have suggested to exclude some part of project, can you send me some links where i can refer how to achieve this?

I think i can put my requirement like this:
"I want to deploy a individual content only from one server to other server, not whole project"

mrogers
Star Contributor
Star Contributor
The "normal" way to do this is with a "review and approve" workflow.   Your boss is a reviewer for each change and either approves or rejects.    Should he approve the content goes into the staging sandbox which is then snapshotted and deployed.   The point is that only approved content should be in the staging sandbox.     And then you deploy a consistent view of the entire project.

One kludge to implement your requirement could be to have two folders in your pre-prod environment.   "drafts" and "blessed".     Upon "blessing" your boss moves the contents from "drafts" to "blessed".   The final key in the puzzle is to add an "excludes" filter in the definition of the ASR to exclude everything in the "drafts" folder.