I'm playing with coherence 3.6 query.sh to backup a cache, and I got the following error:
CohQL> backup cache "ACCOUNT" to file "account"
WARNING: The backup command should not be used on active data set,
as it makes no provisions that ensure data consistency during the backup.
Please see the documentation for more detailed information.
java.io.NotSerializableException: com.tangosol.examples.model.Account
java.lang.RuntimeException: Error in BACKUP
My Account object implements PortableObject, which should be good for serialization. And java.io.Serializable is not recommended to use anyway.
Any suggestions?