I have successfully (sort of..) exported attachments that contain many photos. Here is what I do in order:
1. Copy the Feature Class.
2. Paste it on the target SDE geodatabase Postgresql. This will copy the whole thing, including the relationship class
Error comes up. Not all pictures are copied but the whole objects in the Feature Class are copied.
3. I create a new the attachment table with random name. Then turn it into UNLOGGED (ALTER TABLE mytable SET UNLOGGED;) then start copying. After 4 hours, the whole attachments are copied successfully. No errors.
4. I set the table back to LOG.
5. Rename the attachment table above to the original hoping that it will sync automatically
6. Reindex the table.
Then I do random check. Seems that the attachment picture is wrong. One object should have a picture of "mountain", but instead I get "sea".
How can I fix the relationship table ?
I am using: Arcgis Pro 11.0 and Arcgis Enterprise 11.0 with Postgresql 17
thanks