Move backups to a different directory

No matter if your backups are already in a different location or if you want to move them out of the Devilbox git directory now, you can do that in a few simple steps.

Table of Contents

Move backups out of the Devilbox git directory

All you have to do is to adjust the path of HOST_PATH_BACKUPDIR in the .env file.

# Navigate to Devilbox git directory
host> cd path/to/devilbox

# Open the .env file with your favourite editor
host> vim .env

Now Adjust the value of HOST_PATH_BACKUPDIR


That’s it, whenever you start up the Devilbox, /home/user/backups/devilbox/ will be mounted into the PHP container into /shared/backups/.