# Restoring a Base Node from snapshot Here are instructions on how to restore your Base Node using a snapshot: In the home directory of your Base Node, create a folder named `geth-data`. If you already have this folder, remove it to clear the existing state and then recreate it. Next, run the following code and wait for the operation to complete. **Testnet (Full)** ``` wget https://sepolia-full-snapshots.base.org/$(curl https://sepolia-full-snapshots.base.org/latest) ``` **Testnet (Archive)** ``` wget https://base-sepolia-archive-snapshots.s3.us-east-1.amazonaws.com/$(curl https://base-sepolia-archive-snapshots.s3.us-east-1.amazonaws.com/latest) ``` **Mainnet (Full)** ``` wget https://mainnet-full-snapshots.base.org/$(curl https://mainnet-full-snapshots.base.org/latest) ``` **Mainnet (Archive)** ``` wget https://mainnet-archive-snapshots.base.org/$(curl https://mainnet-archive-snapshots.base.org/latest) ``` You'll then need to untar the downloaded snapshot and place the `geth` subfolder inside of the archive in the `geth-data` folder. Make sure you're in the root of your Base node folder and start your node. ``` cd .. docker compose up --build ``` Your node should begin syncing from the last block in the snapshot. Check the latest block to make sure you're syncing from the snapshot and that it restored correctly: ``` curl -d '{"id":0,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' \ -H "Content-Type: application/json" http://localhost:8545 ``` If so, you can remove the snapshot archive that you downloaded.