here we go..
[1] pry(main)> PostCustomField.where(name: Post::MISSING_UPLOADS)
=> [#<PostCustomField:0x000055efb0edc790
id: 337,
post_id: 2396,
name: "missing uploads",
value: "[\"https://SITENAME/uploads/default/original/1X/da27c8c7525666c20b7e04bfd53ccb24647530c6.png\"]",
created_at: Mon, 29 Apr 2019 20:50:02 UTC +00:00,
updated_at: Mon, 29 Apr 2019 20:50:02 UTC +00:00>,
#<PostCustomField:0x000055efb0ee30b8
id: 338,
post_id: 2785,
name: "missing uploads",
value: "[\"https://SITENAME/uploads/default/original/1X/022705388395c48c415d699d2332bc58d44346c0.png\"]",
created_at: Mon, 29 Apr 2019 20:50:02 UTC +00:00,
updated_at: Mon, 29 Apr 2019 20:50:02 UTC +00:00>,
#<PostCustomField:0x000055efb0ee4238
id: 339,
post_id: 2792,
name: "missing uploads",
value: "[\"https://SITENAME/uploads/default/original/1X/27bfa704ffb22c4a1afe28c8956dc5ed41731bec.png\"]",
created_at: Mon, 29 Apr 2019 20:50:02 UTC +00:00,
updated_at: Mon, 29 Apr 2019 20:50:02 UTC +00:00>]
[3
This is very useful.. I can probably work it out from here.
I guess the problem was that the move was never done, and the backup script stopped backing up the old location?