-
Notifications
You must be signed in to change notification settings - Fork 12
Backup Restore
Anonymoussaurus edited this page Jul 2, 2024
·
3 revisions
sudo docker exec -t rengine_db_1 pg_dumpall -c -U {DB_USER} > rengine_dump_.sql
You will be prompted for a database password. This is not your reNgine-ng login password. Please consider checking your .env
file.
Keep a copy of the following data volumes;
-
rengine_scan_results/
: To keep screenshots -
rengine_gf_patterns/
: To keep custom gf patterns -
rengine_nuclei_templates/
: To keep custom nuclei templates -
rengine_tool_config/
: To keep tools config -
rengine_wordlist/
: To keep custom wordlists
After installation of reNgine-ng, run the following commands;
sudo docker stop rengine_web_1
sudo docker exec -i rengine_db_1 psql -U {DB_USER} postgres -c "DROP DATABASE rengine;"
sudo docker exec -i rengine_db_1 psql -U {DB_USER} postgres -c "CREATE DATABASE rengine;"
cat {/path/to/rengine_dump_.sql} | sudo docker exec -i rengine_db_1 psql -U {DB_USER} -d rengine
- Replace the data volumes, if available.
- Finally, run the following commands from inside the reNgine-ng directory;
sudo make build && make up
sudo make up
Contributed by : nerrorsec
- Home - Introduction to reNgine-ng with workflows and features
- Installation - Install reNgine-ng in different ways
- Usage - Common usage and best practices
- Backup-Restore - Backup and restore reNgine-ng easily
- Dependencies - Information about used third-party libraries and tools
- Security - Security best practices and reporting issues
- Support - Troubleshooting guide and common issues
- Changelog - Complete changelog
- Community - Get help on social networks
- Contributing - How to contribute to the project
- Presentations - Materials regarding reNgine presented at conferences
- Screenshots - Collection of screenshots demonstrating features