omprepsur invalid for recovering certain users
Posted: Sun Aug 08, 2010 7:47 pm
I am trying to restore deleted e-mails for on of the users. I am running Scalix 11.4.6 on RHEL5.x. Last week, the user deleted some e-mails from last summer .
I have run the following command to update the Item Structure Server database to the beggining of this year.
# omupdtis -r -f 01.01.10 -F 12:0:0 -d0
From 01.01.10 at 12:00:00
To 08.08.10 at 18:28:17
Processing log records ...
Total log files read: 2
Total log records read: 13069
Total log records added: 13068
#
I then try to get a list of files that need to be recovered from tape. Backups are done by creating a Linux logical volume (LVM) snapshot of the /var/opt/scalix directory and backing the scalix directory to tape.
# omprepsur -n "John Smith" -t 01.01.10 -T 12:0:0 -d /export/restore -f /export/restore/restorelist1 -i 0
The user name / number provided did not exist at the time specified.
#
This happens with some user names but not others. It never works if I specify "-G the_user's_globally_unique_id" even if it worked for that user when the name was specified.
We initially were running Scalix 10. We upgrading to Scalix 11 at least a year ago. The upgrade involved copying the /var/opt/scalix directory from the Scalix 10 server to new machine (with new host name) and installing Scalix 11. The mailnode name of the old server was preserved. I suspect that problem accounts are those that were created after Scalix 11 upgrade. Or maybe created after I last tried using omstore. Including the mailnode name with omprepsur doesn't help.
Alternately, I would copy the user file system folder specified with "omshow -n username -f" into a "restore" user's directory. However, omshowu however that only lists one directory. Most users will have multiple file system folders so that approach won't work.
Any ideas?
Thanks
I have run the following command to update the Item Structure Server database to the beggining of this year.
# omupdtis -r -f 01.01.10 -F 12:0:0 -d0
From 01.01.10 at 12:00:00
To 08.08.10 at 18:28:17
Processing log records ...
Total log files read: 2
Total log records read: 13069
Total log records added: 13068
#
I then try to get a list of files that need to be recovered from tape. Backups are done by creating a Linux logical volume (LVM) snapshot of the /var/opt/scalix directory and backing the scalix directory to tape.
# omprepsur -n "John Smith" -t 01.01.10 -T 12:0:0 -d /export/restore -f /export/restore/restorelist1 -i 0
The user name / number provided did not exist at the time specified.
#
This happens with some user names but not others. It never works if I specify "-G the_user's_globally_unique_id" even if it worked for that user when the name was specified.
We initially were running Scalix 10. We upgrading to Scalix 11 at least a year ago. The upgrade involved copying the /var/opt/scalix directory from the Scalix 10 server to new machine (with new host name) and installing Scalix 11. The mailnode name of the old server was preserved. I suspect that problem accounts are those that were created after Scalix 11 upgrade. Or maybe created after I last tried using omstore. Including the mailnode name with omprepsur doesn't help.
Alternately, I would copy the user file system folder specified with "omshow -n username -f" into a "restore" user's directory. However, omshowu however that only lists one directory. Most users will have multiple file system folders so that approach won't work.
Any ideas?
Thanks