<p>Yes you can disable data pruning by editing the config file at <strong>conf/nxt-default.properties</strong></p>

<p>This would effectively make the node into an <strong>NXT Archival Data Node</strong> and I'd imagine you would be able to charge to retrieve old data in the future. </p>

<pre><code># Override the lifetime of prunable data to keep them longer, value in seconds.
# Set to -1 to disable pruning. Has no effect if set to less then the minimum
# required lifetime of two weeks (1209600 seconds) on mainnet, or 24 hours
# (86400 seconds) on testnet.
nxt.maxPrunableLifetime=0

# Always include prunable parts in transaction json, as long as still available,
# even if expired.
nxt.includeExpiredPrunable=false
</code></pre>

<p>Just change it to <strong>-1</strong> and <strong>true</strong> in those settings. </p>

CC BY-SA 3.0
2015-07-24T21:41:17.127Z
2015-07-24T21:41:17.127Z
Patoshi パトシ
<p>Currently the NXT platform has the ability to store data in its blockchain, whereby making it a decentralized data storage system. But the thing is that the data is purged from a nodes blockchain every 2 weeks to reduce bloat and only keeps a hash of the file only. I read that you can host nodes that disable this pruning of the data and keep the data indefinitely. How can this be done? </p>

<nxt><decentralization><storage><pruning><ardor>
Decentralized Data Storage System in NXT - How do you disable the 2 week data pruning?
Patoshi パトシ
# Decentralized Data Storage System in NXT - How do you disable the 2 week data pruning?

(Asked by: username_0 on 2015-07-24)

Currently the NXT platform has the ability to store data in its blockchain, whereby making it a decentralized data storage system. But the thing is that the data is purged from a nodes blockchain every 2 weeks to reduce bloat and only keeps a hash of the file only. I read that you can host nodes that disable this pruning of the data and keep the data indefinitely. How can this be done?

**Tags:** nxt, decentralization, storage, pruning, ardor


---

## 1 answers

### Answer by username_0 on 2015-07-24. Score: 1 | Accepted answer

Yes you can disable data pruning by editing the config file at **conf/nxt-default.properties**

This would effectively make the node into an **NXT Archival Data Node** and I'd imagine you would be able to charge to retrieve old data in the future.

```
# Override the lifetime of prunable data to keep them longer, value in seconds.
# Set to -1 to disable pruning. Has no effect if set to less then the minimum
# required lifetime of two weeks (1209600 seconds) on mainnet, or 24 hours
# (86400 seconds) on testnet.
nxt.maxPrunableLifetime=0

# Always include prunable parts in transaction json, as long as still available,
# even if expired.
nxt.includeExpiredPrunable=false

```

Just change it to **-1** and **true** in those settings.


---

