Results 1 to 6 of 6

Thread: Can I delete /opt/zimbra/store?

  1. #1
    nosebreaker is offline Active Member
    Join Date
    Aug 2010
    Posts
    39
    Rep Power
    4

    Default Can I delete /opt/zimbra/store?

    I have a backup installation that has lots of duplicate data (thanks to imapsync thinking all messages are new). Specifically a 4GB mailbox has ballooned to 95GB !

    I want to copy data from my primary server's /opt/zimbra/store and replace this one, but will this work?
    Last edited by nosebreaker; 12-16-2011 at 02:54 PM. Reason: 95GB

  2. #2
    nosebreaker is offline Active Member
    Join Date
    Aug 2010
    Posts
    39
    Rep Power
    4

    Default

    Yes identical versions, same users, different server hostnames. How can I just replicate user data? I see there are several scripts that do various things, but none just copy the user data, they seem to replicate everything which I don't want!
    Last edited by nosebreaker; 12-17-2011 at 10:00 AM.

  3. #3
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    4

    Default

    LOL

    "nosebreaker" ask if its safe to delete the store...
    aka nomen est omen


    no really you cant - store is bound to mysqlbackend dont do it
    go with migration scripts as mentioned above - copy over - aka nosebreaker

  4. #4
    nosebreaker is offline Active Member
    Join Date
    Aug 2010
    Posts
    39
    Rep Power
    4

    Default

    I keep getting authentication failed messages, any ideas? I can login to the admin web gui just fine!

    [WARNING|main:1| 12/19/2011 16:55:32]: Auth Failed: authentication failed for admin@mydomain.com
    [SEVERE|main:1| 12/19/2011 16:55:32]: Error: Source Server(mydomain.com)Authentication Failed


    bofh: I am just trying to replicate user data, I was hoping to just replace that data.

  5. #5
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    4

    Default

    you cant
    if you take a look into the files stored there youll see they missing a lot
    data is splittet with mysql and files

    also mysql cotains information which files is allocated to which message

    you athproblems smells liek an ldap problem - or dns
    if you restart zimbra and get no errors its quite possible you got a corrupt ldap databse too


    if its just an backup why dont you clean everything and make a new backup installation?

    if both installs are the same (same distribution and absolut same version) you can actually replace the data

    but you need to shutdown the source host
    copy the following:
    data
    store
    db
    index
    log
    logger
    redolog

    i hope i didnt forget something

    ofcourse if you get issues with auth a solution with migration tools might not work so copy above may the only one

    if both installs are the same you can simply delete those dirs on the backupserver and copy the new afterwards

  6. #6
    nosebreaker is offline Active Member
    Join Date
    Aug 2010
    Posts
    39
    Rep Power
    4

    Default

    It is not an identical system per se, the system has a few accounts that other programs need to use, but aren't critical if they lose data (but do not exist on the primary). Mostly the hostname is different and the server config is different. I just want to replace the backup server's user data for 99% of users. But I can't just overwrite everything.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to delete domain admin or postmaster accounts
    By magsu in forum Administrators
    Replies: 0
    Last Post: 08-14-2011, 12:43 AM
  2. Replies: 0
    Last Post: 12-13-2010, 03:07 AM
  3. Delete old archive accounts?
    By fnbwaseca in forum Administrators
    Replies: 0
    Last Post: 11-29-2010, 09:17 AM
  4. [SOLVED] Delete messages with commands using filters
    By mnbvmnbv in forum Administrators
    Replies: 3
    Last Post: 11-02-2010, 09:50 AM
  5. Delete Server in WebAdmin
    By tseinc in forum Installation
    Replies: 7
    Last Post: 02-20-2007, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •