🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266661

Re: [Dialog] Where does Dialog store the data directory/folder?

#266661
From: D
Date: Sun, 21 Jan 2024 21:56
56 lines
3768 bytes
On Sun, 21 Jan 2024 12:50:33 -0800, GEO <george@nowhere.invalid> wrote:
>I looked in AppData Folder and found no folder that it uses for storing
>data. When I try to compact the data base I get an error about the folder
>name data.
>TIA.

default data folder is C:\Program Files (x86)\40tude Dialog\data\ . . .
as a rule, i've maintained full multiple copies of installed newsreader
folders across removable drives for just in case; luckily most old pc's
outlast breaking down before slowly transitioning toward newer machines
(removable drives are cheap and roomy so might as well save everything);
uncheck/deselect "Keep backup of uncompressed data", click "Compact Now!"

40tude Dialog > Help contents...[F1]
>The "Compact database" Window 
>Open the Compact database window by selecting File, Compact Database from
>Dialog's main menu. 
>When you delete an article in Dialog the blocked space is not immediately
>freed on your hard disk. Instead the deleted article is simply marked as
>being deleted. 
>To actually free the cluttered space you need to regularly compact Dialog's
>database. 
>The compacting uses a slow, but safe approach. It simply iterates through
>all articles in the old database and copies all undeleted articles to a new
>database. After that the old database is closed, the old database files are
>replaced with the new ones and the database is opened again. 
>Dialog's database of articles is located in the "data" subdirectory. While
>compacting a new directory "datanew" is created and when finished, the old
>directory "data" is renamed to "dataold" and the new directory "datanew" is
>renamed to "data". 
>The compact database window has a check box Keep backup of uncompressed data.
>If this is checked the "dataold" directory is not deleted after compacting is
>finished. You will need to delete the subdirectory "dataold" manuallylater to
>free the cluttered space. (The Keep backup of uncompressed data option is
>likely to vanish in a future non-beta release.) 
>Error messages 
>-You need ...KB more space on drive ... to compact the database. 
>Due to the way Dialog compacts the database by copying undeleted articles to
>a new database, you need additional disk space before you actually get more
>free disk space. Free up some space on the drive indicated in the error
>message and try again. 
>-Error freeing the old datadir. Please rename the correct data directory to
>"data" and restart Dialog. 
>-Error renaming/deleting old or new data directory. Please rename the correct
>data directory to "data" and restart Dialog. 
>-Error reloading new data directory. Please rename the correct data directory
>to "data" and restart Dialog. 
>Dialog successfully compacted the database, but failed to rename one or more
>database subdirectory. You will need to close Dialog and manually rename the
>directories to the correct name. 
>-Problem [NUM] while compacting the database. 
>An unexpected problem occurred. Please report this as a bug together with the
>number shown. 
> Further readings 
> The Database  
[end quote]
Technical Details
Message-ID: <8987b3bf36328ab4a0b6a585b24de883@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <1chev4gstvkjc.dlg@nowhere.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <8987b3bf36328ab4a0b6a585b24de883@dizum.com>
Subject: Re: [Dialog] Where does Dialog store the data directory/folder?
Date: Sun, 21 Jan 2024 21:56:29 +0000
From: D <J@M>
References: <1chev4gstvkjc.dlg@nowhere.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Content-Transfer-Encoding: 7bit
Newsgroups: news.software.readers
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128