If you are looking to restore SquirrelMail backup, then you can follow the how to here:
First, copy the backup file from Windows to Linux using the instructions here. Or if it is already on Linux, you have nothing to worry about.
cd /backup
where backup is the folder where you backup squirrelmail and zip it.
Just unzip the zipped file by giving the command:
unzip zipfilename -d tmpThis will unzip the folders and files under tmp folder.
If you have followed the instructions on how to Backup SquirrelMail on Ubuntu 9.04 then you will have already copied dumptoIMAP.pl to /usr/local/imap_tools.
Create a user called test using ISPConfig.
The following command will restore the INBOX from SquirrelMail to user testuser.
/usr/local/imap_tools/dumptoIMAP.pl -i localhost/test@genopharma.com/password -L dumptoIMAP.log -D /backup/tmp/backup/username/INBOX -m INBOX
You will have to restore each mail folder this way. The following command will restore the Sent folder.
/usr/local/imap_tools/dumptoIMAP.pl -i localhost/test@genopharma.com/password -L dumptoIMAP.log -D /backup/tmp/backup/username/INBOX.Sent -m INBOX.Sent
You will have to do this for as many mail folders that might exist for that user.
First, copy the backup file from Windows to Linux using the instructions here. Or if it is already on Linux, you have nothing to worry about.
cd /backup
where backup is the folder where you backup squirrelmail and zip it.
Just unzip the zipped file by giving the command:
unzip zipfilename -d tmpThis will unzip the folders and files under tmp folder.
If you have followed the instructions on how to Backup SquirrelMail on Ubuntu 9.04 then you will have already copied dumptoIMAP.pl to /usr/local/imap_tools.
Create a user called test using ISPConfig.
The following command will restore the INBOX from SquirrelMail to user testuser.
/usr/local/imap_tools/dumptoIMAP.pl -i localhost/test@genopharma.com/password -L dumptoIMAP.log -D /backup/tmp/backup/username/INBOX -m INBOX
You will have to restore each mail folder this way. The following command will restore the Sent folder.
/usr/local/imap_tools/dumptoIMAP.pl -i localhost/test@genopharma.com/password -L dumptoIMAP.log -D /backup/tmp/backup/username/INBOX.Sent -m INBOX.Sent
You will have to do this for as many mail folders that might exist for that user.
0 comments:
Post a Comment