We have a private stellar network and for some reason the archive is corrupt and a new node cannot get the history. Is there a way to recreate the full archive from stellar-core?
Unfortunately archives are the canonical history -- there's no other place to replay history from. They're what you would be replaying history from if you wanted to replay it.
Are you sure the archive is actually corrupt, rather than the new client merely being misconfigured? What sort of error are you getting?
-
It seems that the archive is actually corrupt. ie data is missing from the archive. The archive was set to be on tmp folder unfortunately. The new node is starting to ingest the data from archive but it is stooping after 10-15 mins saying cannot find the next ledger on the archive. – fitims Jun 26 '20 at 9:57
-
1Unfortunately if the archives are corrupt there's nowhere else to recover data from. It's like trying to recover a backup when your backup drive is corrupt -- that was the backup. – Graydon Hoare Jun 30 '20 at 3:01