在 MAMP 上开发时如何备份 Joomla 网站?
how to backup Joomla website when developing on MAMP?
我是一名网络开发新手。我一直在使用带有第 3 方模板的 Joomla,在本地 MAMP 服务器上开发它。模板有点不稳定,容易折断。我想每天备份我的工作。
我假设所有文件和数据库都需要备份?有这方面的最佳做法吗?
非常感谢!
最好和最简单的方法是通过 Akeeba Backup https://www.akeebabackup.com/download.html. Install this component at the backend. Run it and take a backup whenever you want. It takes backup of files and database both. You can even download and extract it to run it in another web server. To extract Akeeba you can use their software Akeeba Extract 完成它。这都是免费的。
使用 Akeeba 备份(https://www.akeebabackup.com/products/akeeba-backup.html) is indeed a good idea. You can schedule a command line task to run every day and create a backup of this site. To restore such a backup you can use Akeeba Kickstart (https://www.akeebabackup.com/products/akeeba-kickstart.html)。很轻松,很舒服。
但这只有在您不损坏 Joomla! 的情况下才有效。安装!你的问题暗示了这样的事情。要进行手动备份,您只需压缩包含 Joomla 安装的文件夹并创建数据库转储。您可以每天使用命令行脚本执行这两项操作。
正在创建转储:https://dev.mysql.com/doc/refman/5.7/en/mysqldump-sql-format.html
使用 GIT 也可能有效。您无需压缩文件夹,只需将其提交到 git 存储库即可。不要忘记将数据库转储也添加到您的存储库中。
https://techjoomla.com/developers-blogs/joomla-development/deploying-joomla-projects-using-git.html
http://joomlaablog.blogspot.de/2010/11/how-to-track-your-joomla-project-with.html
我是一名网络开发新手。我一直在使用带有第 3 方模板的 Joomla,在本地 MAMP 服务器上开发它。模板有点不稳定,容易折断。我想每天备份我的工作。
我假设所有文件和数据库都需要备份?有这方面的最佳做法吗?
非常感谢!
最好和最简单的方法是通过 Akeeba Backup https://www.akeebabackup.com/download.html. Install this component at the backend. Run it and take a backup whenever you want. It takes backup of files and database both. You can even download and extract it to run it in another web server. To extract Akeeba you can use their software Akeeba Extract 完成它。这都是免费的。
使用 Akeeba 备份(https://www.akeebabackup.com/products/akeeba-backup.html) is indeed a good idea. You can schedule a command line task to run every day and create a backup of this site. To restore such a backup you can use Akeeba Kickstart (https://www.akeebabackup.com/products/akeeba-kickstart.html)。很轻松,很舒服。
但这只有在您不损坏 Joomla! 的情况下才有效。安装!你的问题暗示了这样的事情。要进行手动备份,您只需压缩包含 Joomla 安装的文件夹并创建数据库转储。您可以每天使用命令行脚本执行这两项操作。
正在创建转储:https://dev.mysql.com/doc/refman/5.7/en/mysqldump-sql-format.html
使用 GIT 也可能有效。您无需压缩文件夹,只需将其提交到 git 存储库即可。不要忘记将数据库转储也添加到您的存储库中。
https://techjoomla.com/developers-blogs/joomla-development/deploying-joomla-projects-using-git.html http://joomlaablog.blogspot.de/2010/11/how-to-track-your-joomla-project-with.html