Internal Backup With Messages but without EML Files

Use this forum if you want to suggest a new feature to hMailServer. Before posting, please search the forum to confirm that it has not already been suggested.
Post Reply

Do you need this feature?

Yes
17
100%
No
0
No votes
 
Total votes: 17

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Internal Backup With Messages but without EML Files

Post by ^DooM^ » 2010-03-31 11:31

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.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

User avatar
Caspar
Senior user
Senior user
Posts: 377
Joined: 2008-09-08 11:47
Contact:

Re: Internal Backup With Messages but without EML Files

Post by Caspar » 2010-03-31 11:37

Thanks ^DooM^ for putting up this feature request, and thanks for the help in IRC :)
If you have strange problems or errors use the log analyzer! http://log.damnation.org.uk
Join us on IRC! http://hmailserver.com/irc_fullscreen.php

prisma
Senior user
Senior user
Posts: 310
Joined: 2010-07-09 13:16

Backup only database structure without messagesfolder

Post by prisma » 2012-03-06 18:05

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]

Bill48105
Developer
Developer
Posts: 6192
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: Backup only database structure without messagesfolder

Post by Bill48105 » 2013-02-09 17:50

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
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***

prisma
Senior user
Senior user
Posts: 310
Joined: 2010-07-09 13:16

Re: Internal Backup With Messages but without EML Files

Post by prisma » 2015-06-08 16:18

Has an duplicate: viewtopic.php?t=22365

Anybody able to merge these two?

User avatar
mattg
Moderator
Moderator
Posts: 20233
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Internal Backup With Messages but without EML Files

Post by mattg » 2015-06-09 01:13

Merged
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

prisma
Senior user
Senior user
Posts: 310
Joined: 2010-07-09 13:16

Re: Internal Backup With Messages but without EML Files

Post by prisma » 2015-06-09 12:57

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:

User avatar
mattg
Moderator
Moderator
Posts: 20233
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Internal Backup With Messages but without EML Files

Post by mattg » 2015-06-09 14:00

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
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation


Post Reply