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