EmailArchiver
Documentation
HIGH PRIORITY NOTES
1. When using the dockerized version, please remember that your archive is stored within the container. Therefore if you decide to upgrade to a newer dockerized version, you must copy your archive to your local machine and then copy back the archive to the new container!
Copy archive from docker container to local computer
This is important especially before upgrading to a new release of EmailArchiver since deleting a container will delete the archive you made!
1. To copy your archive out of the container you must determine a directory on your local machine.
For example, if you are using Windows, you can create a directory in your Documents directory
eg. C:\Users\User\Documents\email-archive
2. Make sure you're running the EmailArchiver container, go to your command line and run the following as an example:
docker cp -r emailarchiver-container:/var/www/html/archive/ C:\Users\User\Documents\email-archive\
If this completes successfully, you should find a 'archive' directory created with all your emails in there. You'll need this later on to restore to your new dockerized container.
Copy archive from local machine back to container
This is important only AFTER you've upgraded to a new dockerized version of EmailArchiver (be sure to read the copy archive from docker container to local computer before performing an upgrade!)
1. To copy archive from your local machine to your docker container you must know the directory path you previously downloaded the archive to.
For example, if you are using Windows, you may have created a directory in your Documents directory if you followed our documentation
eg. C:\Users\User\Documents\email-archive
2. Make sure you're running the (new) EmailArchiver container, go to your command line and run the following as an example:
docker cp C:\Users\User\Documents\email-archiver\archive emailarchiver-container:/var/www/html/
3. Lastly, you must restore the correct permissions to the archive folder on the container:
docker exec -it emailarchiver-container chown -R www-data:www-data /var/www/html/archive
Reset frontpage login
To reset the frontpage password, simply delete the .admin_password from the EmailArchiver root directory. If you are using the dockerized version, the root directory is /var/www/html/