List out all the revision which are available in tar file | Community
Skip to main content
anilkum
Level 4
October 7, 2016
Solved

List out all the revision which are available in tar file

  • October 7, 2016
  • 6 replies
  • 2968 views

Hi,

I was guided to do the following as a part of some activity in support portal.

"1. List out all the revision which are available in tar file. "

I am assuming it implies to do so by untaring all the tar file. Is this assumption correct?

Since I have a huge number of tar file, it would be very time intensive. Is there a programmatic way to do this?

Regards,

Anil

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ashokkumar_TA

Check the oak run version you are using. The check mode was introduced in later versions of oak run tool.

6 replies

kautuk_sahni
Community Manager
Community Manager
October 10, 2016

I would request you to counter ask the support team:  how to do it?

I am not not sure, what exactly they have asked, but if you know the manual way, then i can help you to automate it.

~kautuk

Kautuk Sahni
anilkum
anilkumAuthor
Level 4
October 12, 2016

I got a reply to use the "check" mode of oak run but that throws below error:

java.lang.IllegalArgumentException: No enum constant org.apache.jackrabbit.oak.run.Main.Mode.CHECK

        at java.lang.Enum.valueOf(Enum.java:236)

        at org.apache.jackrabbit.oak.run.Main$Mode.valueOf(Main.java:1000)

        at org.apache.jackrabbit.oak.run.Main.main(Main.java:128)

joerghoh
Adobe Employee
Adobe Employee
October 12, 2016

If the AEM supports advises you to perform some actions, and these actions do fail for an unknown reason, please ask the AEM support. This forums lacks all the context around it.

kind regards;
Jörg

anilkum
anilkumAuthor
Level 4
October 13, 2016

Jörg Hoh wrote...

If the AEM supports advises you to perform some actions, and these actions do fail for an unknown reason, please ask the AEM support. This forums lacks all the context around it.

kind regards;
Jörg

 

Thanks Jorg,

I have and am waiting a response. I was just checking if the community has some quick advice on this.

Regards,

Anil

Adobe Employee
October 13, 2016

Hi Anil,

What did aem support recommend you. Normally a data tar file would contain segments and the revision entries would be journal.log file. What exactly were you trying to achieve

and what did support recommend you. Is there a daycare ticket you are following up with AEM support?

Ashokkumar_TA
Ashokkumar_TAAccepted solution
Level 2
October 13, 2016

Check the oak run version you are using. The check mode was introduced in later versions of oak run tool.