Moving database to another server
-
- Normal user
- Posts: 135
- Joined: 2012-09-11 06:33
Moving database to another server
I want to create a backup email server. I tried to do a sqldump to make a sql file backup then use that to import to the backup server. When I use the mysql client on the command prompt to import, it only import some tables not all. Does anymore have this problem? I make sure to run as administrator already.
- jimimaseye
- Moderator
- Posts: 9523
- Joined: 2011-09-08 17:48
Re: Moving database to another server
You might be interested in this.
(Depending on your level of expertise you may just read utt and pick up some tips specifically from '4th')
https://www.hmailserver.com/forum/viewt ... 21&t=28139
The recovery command from the backup is
I know it works - I've used it many times.
[Entered by mobile. Excuse my spelling.]
(Depending on your level of expertise you may just read utt and pick up some tips specifically from '4th')
https://www.hmailserver.com/forum/viewt ... 21&t=28139
The recovery command from the backup is
Code: Select all
mysql -u root -p"yourpassword" < "D:\backuptemp\hmaildata\MYSQLDump_2021-05-24-200000.mysql
[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: Moving database to another server
I'd also look at using the built-in backup and restore built into the GUI
Remember that the messages are NOT stored in the database, the database only contains the data about the messages
Remember that the messages are NOT stored in the database, the database only contains the data about the messages
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
-
- Normal user
- Posts: 135
- Joined: 2012-09-11 06:33
Re: Moving database to another server
Does the built in backup have limitation?
Re: Moving database to another server
Depends on the version of hMailserver in use
What is the size of your data directory?
What is the size of your data directory?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
-
- New user
- Posts: 18
- Joined: 2022-07-19 05:31
Re: Moving database to another server
Host it in the cloud. For databases, Amazon Relational Database Service has automatic Backups/snapshots and standby replica.