> For the complete documentation index, see [llms.txt](https://decentralized-pictures-foundatio.gitbook.io/dcp-docs-v0.0.1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://decentralized-pictures-foundatio.gitbook.io/dcp-docs-v0.0.1/t4l3nt-net/blockchain/snapshots.md).

# Snapshots

### Exporting an image

From inside the node bash session:

```
tlnt-node snapshot export --block <BLOCK>
```

If using docker you will need to copy the exported snapshot to the host like so:

```
docker cp <containerId>:/file/path/within/container /host/path/target
```

For example from host dir it would look like this:

```
docker cp <containerID>:/home/tlnt/TLNT_NET-BMN362FVdqj5UrApPHNBBJnCiawVzjM8aQmEYWhsRnkxVTTSmu1-1004069.full ~/TLNT_NET-BMN362FVdqj5UrApPHNBBJnCiawVzjM8aQmEYWhsRnkxVTTSmu1-1004069.full
```

To copy file from a remote host to local host SCP example:

```
$ scp username@from_host:file.txt /local/directory/
```

Copy file from local host to a remote host SCP example:

```
$ scp file.txt username@to_host:/remote/directory/
```

### Importing a snapshot

You can use wget to download the file if it is accessible on the internet

`sudo apt-get update`

`sudo apt-get install wget`

Then

`wget <https://path.to.file.fileextesion>`

Example using the file below would be

`wget https://loonfilms.com/tlnt.net.snapshot.6.16.22.zip`

Here is an example of a snapshot from block 1004069 we will soon be doing regular snapshots and will publish the repo here when those nightly snapshots are online and ready to do.

Latest snapshot `https://loonfilms.com/tlnt.net.snapshot.6.16.22.zip`

Install zip with `sudo apt-get update`&#x20;

Then

`sudo apt-get install zip`

Then

`unzip tlnt.net.snapshot.6.16.22.zip`

From inside the node bash session

```
tlnt-node snapshot import FILE --block <BLOCK_HASH>
```

Example using the file above:

```
tlnt-node snapshot import TLNT_NET-BMN362FVdqj5UrApPHNBBJnCiawVzjM8aQmEYWhsRnkxVTTSmu1-1004069.full --block BMN362FVdqj5UrApPHNBBJnCiawVzjM8aQmEYWhsRnkxVTTSmu1
```

If your node is in archive mode you will need to change it inside the tlnt-node.conf file (this example uses nano, you can use any editor like vim, vi, nano etc.

```
sudo nano /etc/supervisor/conf.d/tlnt-node.conf
```

Remove the `--history archive` param from line 3 and save/exit.

Then exit the node bash session

`exit`

`docker ps`

`docker stop <containerID>`

`docker start <containerID>`

`docker exec -it <containerID> bash`

`tlnt-client bootstrapped`

Once bootstrapped

`supervisorctl restart all`

Done.

##


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://decentralized-pictures-foundatio.gitbook.io/dcp-docs-v0.0.1/t4l3nt-net/blockchain/snapshots.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
