Hi,

I've found from a backup the folder /opt/zimbra/store only, the other paths like /opt/zimbra/index or the ldap configs are lost

I'm trying to inject the files with extension .msg from the backup folder that i've got to a new server with users that I have created like on the old server. It is possible to determine the owner of each numbered folder in the store or scan the message to determine the correct user account?

I'm trying with the following command line, but it's showing me all messages sent from user1 to others, but not precisely the messages to user1:

Code:
find /media/zimbra/backup-20120702-01/store/0 -type f | xargs grep "Return-Path: user1@mydomain.com.ec"
This is the outup:
Code:
/media/zimbra/backup-20120702-01/store/0/154/msg/1/4518-8000.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/7994-14634.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/6708-12144.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/5473-9716.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154msg/1/5618-9963.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/5650-10032.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/5910-10540.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/5450-9670.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/7968-14583.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/5295-9376.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/6744-12212.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/154/msg/1/7667-14016.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/1/7039-12776.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/14086-26307.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/14872-27820.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/13771-25658.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/16269-30526.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/12413-23086.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/12478-23216.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/14602-27333.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/14533-27192.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/15212-28461.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/15190-28419.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/15191-28420.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/3/12444-23150.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3619-6254.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/829-1207.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3539-6098.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/1270-1955.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2434-4209.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/1063-1579.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3973-6930.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2815-4856.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3383-5830.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3650-6314.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2920-5038.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/1039-1546.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3443-5932.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2508-4347.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/1887-3181.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2403-4153.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/548-673.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3645-6305.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3114-5353.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2395-4134.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/4027-7034.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2476-4285.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3395-5845.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3649-6312.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3646-6306.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3977-6935.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3647-6309.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/1057-1569.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3502-6035.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/3123-5365.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/99/msg/0/2455-4241.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/4057-7092.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/606-777.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/2964-5115.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/1133-1692.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/562-705.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/3970-6927.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/4020-7021.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/44/msg/0/850-1236.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/140/msg/0/2801-4832.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/140/msg/0/1656-2731.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/140/msg/0/1051-1563.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/140/msg/0/3648-6311.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/140/msg/0/542-663.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/140/msg/0/3108-5339.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/152/msg/0/1013-1510.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/152/msg/0/3612-6236.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/96/msg/2/11067-9894.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/162/msg/0/1817-3798.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/162/msg/0/1049-1197.msg:Return-Path: user1@mydomain.com.ec
/media/zimbra/backup-20120702-01/store/0/162/msg/0/2373-5424.msg:Return-Path: user1@mydomain.com.ec