1.3 KiB
Devilbox Documentation
Home | Overview | Configuration | Usage | Updating | Info | PHP Projects | Emails | Logs | Intranet | FAQ
FAQ
How do I backup my MySQL database?
- Use phpMyAdmin
- Use Adminer
- use
mysqldump
from your host computer - use
mysqldump
from within the php container
Why are mounted MySQL data directories separated by version?
This is just a pre-caution. Imagine they would link to the same datadir. You start the devilbox with mysql 5.5, create a database and add some data. Now you decide to switch to mysql 5.7 and restart the devilbox. The newer mysql version will probably upgrade the data leaving it unable to start with older mysql versions.
Why are mounted PostgreSQL data directories separated by version?
See: Why are mounted MySQL data directories separated by version?
Why do the user/group permissions of log/ or cfg/ directories show 1000?
Uid and Gid are set to 1000 by default. You can alter them to match the uid/gid of your current user. Open the .env
file and change the sections NEW_UID
and NEW_GID
. When you start up the devilbox, the php-container will use these values for its user.