Tuesday, March 2, 2010

Backing up in Scalix

Backing up a user folder:

Setup a cron to execute the command below at every night.
sxmboxexp -u "username" -a /path_to_file.mbox
Using crontab:
crontab -e
0 0 * * * sxmboxexp -u "username" -a /path_to_file.mbox
#The above command wil run at every night 12 AM.

To restore the mailbox using the back up,use the command below.

sxmboximp -u "John Doe" -a "/path_to_file.mbox" -s --listlevel folder

----------------------------------------------------------------------------------------------
For automatc back up of entire scalix directory.Refer the link below.

http://www.scalix.com/wiki/index.php?title=HowTos/AutoBackupScript

No comments:

Post a Comment