efa_v4_to_v5_migration_guide
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
efa_v4_to_v5_migration_guide [2024/05/04 12:49] – created spammy | efa_v4_to_v5_migration_guide [2024/07/20 12:45] (current) – [v5 Appliance Preparation] spammy | ||
---|---|---|---|
Line 8: | Line 8: | ||
- Initial preparation (fact gathering) | - Initial preparation (fact gathering) | ||
- | - Preparing | + | - Preparing |
- | - Preparing the v4 appliance | + | - Preparing the v5 appliance |
- | - Shutting down the v3 appliance | + | - Shutting down the v4 appliance |
- | - Configuring the v4 appliance and running a restore | + | - Configuring the v5 appliance and running a restore |
If successful, all databases will be transferred to v5 with upgraded schema and compatible settings will be transferred. | If successful, all databases will be transferred to v5 with upgraded schema and compatible settings will be transferred. | ||
Line 24: | Line 24: | ||
* domain name | * domain name | ||
* admin email | * admin email | ||
- | (hint: | + | (hint: |
| | ||
===== v4 Appliance Preparation ===== | ===== v4 Appliance Preparation ===== | ||
- Log into v4 console | - Log into v4 console | ||
+ | - Make sure you are up to date, install any missing updates | ||
- Enter Maintenance Mode | - Enter Maintenance Mode | ||
- Drop to shell | - Drop to shell | ||
- sudo systemctl stop postfix (to halt mail flow) | - sudo systemctl stop postfix (to halt mail flow) | ||
- | - sudo eFa-Backup -backup | + | - sudo eFa-Backup-cron -backup |
- sudo chmod -R o+r / | - sudo chmod -R o+r / | ||
- | - sudo chmod -R o+r /var/EFA/backup/* (to loosen permissions for copy) | + | - sudo chmod -R o+r /var/eFa/backup/* (to loosen permissions for copy) |
- sudo sa-learn --backup > / | - sudo sa-learn --backup > / | ||
+ | - sudo ls / | ||
- | ===== v4 Appliance Preparation ===== | + | ===== v5 Appliance Preparation ===== |
- Build a v5 using any means with sufficient storage | - Build a v5 using any means with sufficient storage | ||
- Do not set it up yet (if no DHCP, set a temporary static IP using NetworkManager, | - Do not set it up yet (if no DHCP, set a temporary static IP using NetworkManager, | ||
- Start eFa first-time configure (Y/n) -> n | - Start eFa first-time configure (Y/n) -> n | ||
- | - dnf install sshfs | + | - rsync -av <v4user>@<v4ipaddress>:/var/eFa/ |
- | | + | |
- | - cp /mnt/var/EFA/ | + | |
- chmod 600 / | - chmod 600 / | ||
- chown root:root / | - chown root:root / | ||
- | - cp /mnt/ | + | - rsync -av < |
The following steps apply if you want to keep your quarantine | The following steps apply if you want to keep your quarantine | ||
- | - cp -ra /mnt/ | + | - rsync -rav < |
- chmod -R o-rwx / | - chmod -R o-rwx / | ||
- chown -R postfix: | - chown -R postfix: |
efa_v4_to_v5_migration_guide.1714826990.txt.gz · Last modified: 2024/05/04 12:49 by spammy