gitlab.com/aquachain/aquachain@v1.17.16-rc3.0.20221018032414-e3ddf1e1c055/Documentation/node-operator-guide/FullNode.md (about)

     1  # How to run an archive node
     2  
     3  Estimated time: 10-60 minutes depending on hardware and network connection.
     4  
     5  If *starting from a fresh unsynced node*, simply run the aquachain node with `-gcmode archive` flag.
     6  
     7  If *your node is already synchronized*, you will need to re-sync the entire chain in archive mode.
     8  
     9  To complete this step offline, you can export the chain to a file and clear the node's mainnet database,
    10  then import that file.
    11  
    12  1. `aquachain export aqua-mainnet.dat` and then `aquachain removedb`
    13  2. Run `aquachain -gcmode archive import mainnet.dat`
    14  3. Now, run aquachain with `-gcmode archive` flag.