Expand my Community achievements bar.

SOLVED

block repositiry writes through CURL command

Avatar

Level 6

Hi All,

Need to run curl command to block repository writes through CURL command.

Is any CURL script to block IO writes?If any please provide.This is used to take online backup without any repository corrupt.

I manually clicked on blockrepositirywrites on JMX console. Instances getting hanged. How to implement this command

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can find syntax at [1] and change the operation/parameteres accordingly.    Weather you run through manually or curl it will get hanged during backup for 5.6.1 make sure to have [2]  in the xml file.

[1]  http://www.wemblog.com/2012/03/how-to-run-online-backup-using-curl-in.html

[2]   <ISMLocking class="com.day.crx.core.lock.BackupAwareISMLocking"/>

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

You can find syntax at [1] and change the operation/parameteres accordingly.    Weather you run through manually or curl it will get hanged during backup for 5.6.1 make sure to have [2]  in the xml file.

[1]  http://www.wemblog.com/2012/03/how-to-run-online-backup-using-curl-in.html

[2]   <ISMLocking class="com.day.crx.core.lock.BackupAwareISMLocking"/>

Avatar

Level 6

Hi Sham,

Even after adding this line in repository.xml file, system getting hanged.

Please suggest .

Avatar

Level 10

Please take a threa dump when it is hanged and file a daycare ticket.