Peter Kaldis | 15 Mar 2012 22:17
Favicon

imsbackup/imsrestore question

Hi Folks, we're running Oracle Communications Messaging Exchange Server 7u4-20.01 and I'm trying to make
copies of some user folders from one user to another for legal archiving purposes.

Lets say I have userA and userB. And userA folder structure looks like this:

  user/userA/INBOX
  user/userA/directory1
  user/userA/directory1/msgfolder1
  user/userA/directory1/msgfolder2

and I want to copy them over to this path:

  user/userB/userA/

so that userB folder structure would look like this:

  user/userB/userA/INBOX
  user/userB/userA/directory1
  user/userB/userA/directory1/msgfolder1
  user/userB/userA/directory1/msgfolder2

I figured i'd use imsbackup/imsrestore to do this. So parsed through the docs and created a mapfile and put
"userA=userB" in there, and ran the following command

imsbackup -g -f- /primary/user/userA/directory1 | imsrestore -f- -g -n -m /tmp/mapfile /user/userB/userA

but I end up with this instead:

  user/userB/directory1  

(Continue reading)

Dan Petersen | 15 Mar 2012 22:24

Re: imsbackup/imsrestore question

  Add a "-d userA" to the imsrestore command line, it will create a 
userA directory and put the contents of the restore into it.

On 03/15/2012 04:17 PM, Peter Kaldis wrote:
> Hi Folks, we're running Oracle Communications Messaging Exchange Server 7u4-20.01 and I'm trying to
make copies of some user folders from one user to another for legal archiving purposes.
>
> Lets say I have userA and userB. And userA folder structure looks like this:
>
>    user/userA/INBOX
>    user/userA/directory1
>    user/userA/directory1/msgfolder1
>    user/userA/directory1/msgfolder2
>
>
> and I want to copy them over to this path:
>
>    user/userB/userA/
>
> so that userB folder structure would look like this:
>
>    user/userB/userA/INBOX
>    user/userB/userA/directory1
>    user/userB/userA/directory1/msgfolder1
>    user/userB/userA/directory1/msgfolder2
>
>
> I figured i'd use imsbackup/imsrestore to do this. So parsed through the docs and created a mapfile and put
"userA=userB" in there, and ran the following command
>
(Continue reading)

Peter Kaldis | 15 Mar 2012 22:52
Favicon

Re: imsbackup/imsrestore question

Sheesh, completely missed that in the docs. 

Thanks, that worked like charm.

On Mar 15, 2012, at 14:24 , Dan Petersen wrote:

> Add a "-d userA" to the imsrestore command line, it will create a userA directory and put the contents of the
restore into it.
> 
> On 03/15/2012 04:17 PM, Peter Kaldis wrote:
>> Hi Folks, we're running Oracle Communications Messaging Exchange Server 7u4-20.01 and I'm trying to
make copies of some user folders from one user to another for legal archiving purposes.
>> 
>> Lets say I have userA and userB. And userA folder structure looks like this:
>> 
>>   user/userA/INBOX
>>   user/userA/directory1
>>   user/userA/directory1/msgfolder1
>>   user/userA/directory1/msgfolder2
>> 
>> 
>> and I want to copy them over to this path:
>> 
>>   user/userB/userA/
>> 
>> so that userB folder structure would look like this:
>> 
>>   user/userB/userA/INBOX
>>   user/userB/userA/directory1
>>   user/userB/userA/directory1/msgfolder1
(Continue reading)


Gmane