Bitcoin Institute

Satoshi to Nicholas Bohm: back up %appdata%\Bitcoin, and Eraser may have filled the disk (January 30, 2009)

Satoshi Nakamoto January 30, 2009 18:20 UTC

That would be great.

The directory is “%appdata%\Bitcoin” It has spaces in it so you need the quotes cd “%appdata%\bitcoin”

On XP it would typically be: C:\Documents and Settings\[username]\Application Data\Bitcoin

Backup that whole directory. All data files are in that directory. There are no temporary files.

It looks to me like other than unused space, Eraser only erases a few specific directories that it knows. Whatever “Windows Temporary Files” is and internet cookies. It would be strange for it to scan the disk guessing at files to delete.

I think I know what happened. It probably fills up the disk with a giant random data file to overwrite all the deleted space, and Bitcoin ran out of disk space.

Disk full checking is coming in the next release. It’s already in the bitcoin-0.1.4-debug.rar I sent you. You should definitely switch to that. If you run Eraser and Bitcoin gives you a disk full warning dialog, that would confirm what happened.

Certainly backup the %appdata%\Bitcoin directory before running Eraser again.

Satoshi

Quote from: Nicholas Bohm on January 30, 2009, 3:50:00 PM UTC

Bitcoin continues to run without failures since I stopped scheduled Eraser operations.

If you can tell me which temporary folders Bitcoin uses, I could try and replicate the fault by trying one-off operations.

(It would also be useful to know which files or folders I need to back up in order to preserve my accumulated hoard of bitcoins.)

Regards,

Nicholas

Original external source

https://eth.loan/pdfs/20090130-Re_Bitcoin%20Problems-93522.pdf
From exhibit NB1 to Nicholas Bohm's witness statement in COPA v Wright: his own export of his correspondence with Satoshi from Mozilla Thunderbird, filed in July 2023 and put online by decashed.eth in January 2025. The time is the one shown in Bohm's mail client (UK time), converted to UTC. The postal address and telephone numbers in Bohm's signature are omitted. The PDF dropped the letter pairs ti, tt, ft and fi in this email; they are restored.