This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Overview ### | |
| In order to replicate from an AWS RDS database to an external server, you need 3 components, and to keep two things in mind: | |
| **Components** | |
| * RDS Master DB - `rds-master` | |
| * RDS Read-Only Slave - `rds-slave` | |
| * External DB Server - `external-db` | |
| **Two Things to Keep in Mind** | |
| * This process is fairly brittle and not fully supported by AWS except for temporary data extraction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RUN apt update | |
| RUN apt upgrade -y | |
| RUN apt install -y apt-utils | |
| RUN a2enmod rewrite | |
| RUN apt install -y libmcrypt-dev | |
| RUN docker-php-ext-install mcrypt | |
| RUN apt install -y libicu-dev | |
| RUN docker-php-ext-install -j$(nproc) intl | |
| RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
| RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Check disk space before | |
| df -h | |
| # Delete local-lvm storage in gui | |
| lvremove /dev/pve/data | |
| lvresize -l +100%FREE /dev/pve/root | |
| resize2fs /dev/mapper/pve-root |