Skip to content

Fix and supplement backup_restore.md based on java-tron source#331

Open
abn2357 wants to merge 5 commits into
tronprotocol:masterfrom
abn2357:fix_data_backup
Open

Fix and supplement backup_restore.md based on java-tron source#331
abn2357 wants to merge 5 commits into
tronprotocol:masterfrom
abn2357:fix_data_backup

Conversation

@abn2357
Copy link
Copy Markdown
Contributor

@abn2357 abn2357 commented May 20, 2026

Summary

  • Fix factual inaccuracies in using_javatron/backup_restore.md (default data directory, jar name capitalization, version case)
  • Add notes on the database/ subdirectory, the vm.saveCancelAllUnfreezeV2Details option, and the LevelDB→RocksDB conversion tool
  • Clean up markdown formatting issues
  • Replace external developers.tron.network API links with local HTTP API pages

Test plan

  • Render the page locally with mkdocs serve and verify the layout under the 注意 section is intact
  • Confirm the gettransactioninfobyid and getaccountbalance links resolve to local HTTP API pages
  • Confirm the toolkit anchor link (toolkit.md#_13) still navigates correctly

abn2357 added 5 commits May 20, 2026 13:00
- Default data directory is the relative path 'output-directory', not
  '/output-directory/' (per CommonParameter#outputDirectory default).
- Jar file name is 'FullNode.jar', not 'fullnode.jar' (per
  framework/build.gradle binaryRelease task).
- Use lowercase 'v' in GreatVoyage-v4.1.0 to match the actual git tag.
…b convert

- Document the default 'database/' subdirectory under output-directory
  (controlled by storage.db.directory), so backup/restore steps account
  for a renamed directory.
- Add a Note bullet for vm.saveCancelAllUnfreezeV2Details, including the
  prerequisite that vm.saveInternalTx and vm.saveFeaturedInternalTx must
  both be enabled.
- Point users with a LevelDB snapshot at the toolkit Data Conversion
  Tool when they want to run the node with RocksDB.
- Add spaces between Chinese text and inline code for consistency with
  surrounding bullets.
- Collapse double blank lines between section headings to a single
  blank line.
- Trim trailing whitespace after the '注意:' marker and at the end of
  a list item.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant