Single User Backup

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

manishbnaik

Single User Backup

Postby manishbnaik » Wed Jun 13, 2007 5:32 am

Hi All
Recently I have installed Scalix. I want to know abt. single user backup steps Pls. help me
Manish

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 13, 2007 6:42 am

Hi Manish!

You can use the commands sxmboxexp to take backup of a users mailbox from command
line. Check the man pages of this command for details.

Thanks,
Subir

manishbnaik

Postby manishbnaik » Wed Jun 13, 2007 6:56 am

Thanks for a command
I am using following command
sxmboxexp -u manish.naik -a /backup/test.mbox -F
but it show error "user not found"
Thanks

ScalixSupport wrote:Hi Manish!

You can use the commands sxmboxexp to take backup of a users mailbox from command
line. Check the man pages of this command for details.

Thanks,
Subir

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 13, 2007 7:37 am

Hi Manish!

Check what user name you get when you run the command "omshowu -m all | grep Manish"
use the same in the command.

Thanks,
Subir

manishbnaik

Postby manishbnaik » Wed Jun 13, 2007 7:50 am

Hi Subir
Thanks for rocket replay
I am alredy try this command and confirm the username it's OK I am trying to best for result then my error is change
"The Initials is are too long"
Pls. replya same
Manish

ScalixSupport wrote:Hi Manish!

Check what user name you get when you run the command "omshowu -m all | grep Manish"
use the same in the command.

Thanks,
Subir

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 13, 2007 8:00 am

Hi!

When you run the command omshowu -m all, you get a result for all users in the format as
below:
firstname lastname/mailnode/CN=commanname

So, when you run the command sxmboxexp -u <username> -a <filename> -F, instead of
<username> type the command as sxmboxexp -u "firstname lastname/mailnode" -a <filename> -F. See a demonstration below:
# omshowu -m all | grep Subir
Subir Sinha /subir-rhel4,scalix/CN=Subir Sinha
# sxmboxexp -u "Subir Sinha/subir-rhel4,scalix" -a testfile.test -F
# ll testfile.test
-rw-rw---- 1 root scalix 37460 Apr 11 18:03 testfile.test

Hope this helps.

Thanks,
Subir

manishbnaik

Postby manishbnaik » Wed Jun 13, 2007 8:47 am

Thank u very much Subir
I got successful result and also I tried restore option but I have noticed that only Inbox is getting restore. Is there any option for taking full mailbox backup ?

Thanks again for help
Cheers
Manish

ScalixSupport wrote:Hi!

When you run the command omshowu -m all, you get a result for all users in the format as
below:
firstname lastname/mailnode/CN=commanname

So, when you run the command sxmboxexp -u <username> -a <filename> -F, instead of
<username> type the command as sxmboxexp -u "firstname lastname/mailnode" -a <filename> -F. See a demonstration below:
# omshowu -m all | grep Subir
Subir Sinha /subir-rhel4,scalix/CN=Subir Sinha
# sxmboxexp -u "Subir Sinha/subir-rhel4,scalix" -a testfile.test -F
# ll testfile.test
-rw-rw---- 1 root scalix 37460 Apr 11 18:03 testfile.test

Hope this helps.

Thanks,
Subir

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 13, 2007 9:16 am

Hi Manish!

Restore using the command sxmboximp, to see what folders that have been saved in the
file use the command sxmboxlist. Try it as below:

Code: Select all

sxmboxlist -a <filename>

To restore the data from the file to a user use sxmboximp using command similar to that
below:

Code: Select all

sxmboximp -u <username> -a <filename>

Hope this helps.

Thanks,
Subir

manishbnaik

Postby manishbnaik » Wed Jun 13, 2007 9:50 am

Hi Subir!!
once again I stuckup on one question
when we are taking backup from tar command in that we r getting complet scalix folder. If I want to take single user back up and restore same it can be possible ? and how ?

Thanks



Oh nice !!
really you are amazing person because we are struggling the backup problem since last two days & today only
we got what i exactly want so thanks a lot for a speedy reply
can u send your mail id for being in touch

Cheers,
Manish
mbnaik@rediffmail.com

ScalixSupport wrote:Hi Manish!

Restore using the command sxmboximp, to see what folders that have been saved in the
file use the command sxmboxlist. Try it as below:

Code: Select all

sxmboxlist -a <filename>

To restore the data from the file to a user use sxmboximp using command similar to that
below:

Code: Select all

sxmboximp -u <username> -a <filename>

Hope this helps.

Thanks,
Subir

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Jun 14, 2007 3:36 am

Hi Manish!

I would recommend you to have a look into the Scalix Administration Guide:
http://www.scalix.com/documents/Scalix_ ... 11.0.2.pdf
at page#88 to find a chapter on backup and recovery.

You can PM me on forum whenever you like.

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests