docker部署网站的迁移和备份

方法一,迁移

备份打包

cd /home && tar -czvf wp1.tar.gz wp1/

迁移或还原

cd /home && tar xvzf wp1.tar.gz