Koozali.org: home of the SME Server

Restoring mail from workstation backup to new server

Offline dallas

  • **
  • 33
  • +0/-0
Restoring mail from workstation backup to new server
« on: November 29, 2024, 01:20:51 AM »
Back in June I installed 10.1 as server only and restored from a workstation backup on my 9.2 server/gateway.
Due to a lot of home & health issues I'm now ready to switch the 10.1 server to server/gateway. So I have about six months of email on the 9.2 server that's not on the 10.1 server.

Is it safe to reconfigure the 10.1 server then restore a current 9.2 backup and will this cause duplication of emails already on the new server from the initial restore?

Offline ReetP

  • *
  • 3,881
  • +5/-0
Re: Restoring mail from workstation backup to new server
« Reply #1 on: November 29, 2024, 12:07:51 PM »
How to make life difficult for yourself :-)

Should have just switched directly to 10.1 !!

Assuming the only thing you really want is existing mails and no other configuration items then you should be able to copy existing mails from one server to another.

Just use rsync. See here for an example of how to do that:

https://wiki.koozali.org/Migratehelper#Restore

eg

Code: [Select]
rsync -aArv root@oldsme:/home/e-smith/files/users/ /home/e-smith/files/users
Or amend that for a specific directory.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation