No path information should be stored in the database at all, previous versions were made in the modx_workspaces table, but it has disappeared since then [as of 2.2.4, I think].
If you are concerned about changes to the url [dev.mysite.com/stage.mysite.com/production ...], you donβt need to - this is all in the .htaccess file [there used to be a site_url system but it also seems to have disappeared.]
The only file you need to worry about is core / config / config.inc.php ~ create 3 different files with different paths or just replace them when transferring.
My process of moving / updating / migrating modx sites:
clear cache! tar cvfz httpdocs.tar.gz httpdocs / mysqldump -u -p the_database> export.sql
move files, tar xvfz and import the database. It is recommended that you check the modx_workspaves table, and if you used an older version of the gallery, check this as well, but most plugins and developers seem to be used to NOT store path information in code tables and databases.
Of course, if you have strengthened your installation, there are a few more steps, but nothing serious. [cm. Reinforcing Modx article on rtfm.modx.com]
Sean kimball
source share