Page 1 of 1

Internal Backup With Messages but without EML Files

Posted: 2010-03-31 11:31
by ^DooM^
When doing a backup using internal you have a choice of with or without messages. If you run just the settings off you do not get the data from hm_messages added to XML but if you run with messages the data directory must be under 1.5 gig.

I suggest adding the option to backup with messages but without physical data directory. The data directory can be moved easily and doesn't need to be added to backup zip but the message data from the database can then be imported into any SQL server hMail Supports.

Re: Internal Backup With Messages but without EML Files

Posted: 2010-03-31 11:37
by Caspar
Thanks ^DooM^ for putting up this feature request, and thanks for the help in IRC :)

Backup only database structure without messagesfolder

Posted: 2012-03-06 18:05
by prisma
Bill48105 did a change to an experimental build and added a setting named:

[Settings] BackupMessagesDBOnly=0 ;Defaults to 0 or disabled

This setting modifies the behaviour of the built-in full (message) backup. The aim is to backup the settings+file informations but not the data (files) folder.
This setting is optimal for migration purposes and backup scenarios where the data (files) folder is backed up separately. Because the XML-structure is used, this "dump" is database type independent.

The problem is, the data (files) folder has to be renamed, before the restore is started. Background: During the restoring process the data folder will be wiped out.

So, here is the request:

1. Please put BackupMessagesDBOnly in a stable release
2. Give it a own GUI Checkbox
3. Prevent deletion of the data (files) folder if no messages are stored in the backup file.

[Added poll]

Re: Backup only database structure without messagesfolder

Posted: 2013-02-09 17:50
by Bill48105
I voted YES but don't believe this needs to be in GUI at this time. Eventually yes but not for next release. INI setting is sufficient for the purpose of this feature IMO

Re: Internal Backup With Messages but without EML Files

Posted: 2015-06-08 16:18
by prisma
Has an duplicate: viewtopic.php?t=22365

Anybody able to merge these two?

Re: Internal Backup With Messages but without EML Files

Posted: 2015-06-09 01:13
by mattg
Merged

Re: Internal Backup With Messages but without EML Files

Posted: 2015-06-09 12:57
by prisma
Merged or deleted? :wink: Seems that everybody who voted yes for the other poll has also voted yes here. Because the 15 yes have not changed here... miraculous but not implausible :wink:

Re: Internal Backup With Messages but without EML Files

Posted: 2015-06-09 14:00
by mattg
There was no merge option, only move posts

I suspect that the poll didn't move.
It may well have been the same group that voted though.

Add this to github as a bug I reckon. https://github.com/hmailserver/hmailserver/issues

Re: Internal Backup With Messages but without EML Files

Posted: 2015-06-10 11:07
by prisma