mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-11 21:26:18 +00:00
1.1 KiB
1.1 KiB
- orphan
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
- local
Move backups out of the Devilbox git directory
All you have to do is to adjust the path of env_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 env_host_path_backupdir
HOST_PATH_HTTPD_DATADIR=/home/user/backups/devilbox/
That's it, whenever you start up the Devilbox, /home/user/backups/devilbox/
will be mounted into the PHP container into /shared/backups/
.