1 Star 0 Fork 25

gxloy/vos

forked from Vos3000/vos 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
如何将Vos3000服务器数据库传输到新的Vos3000服务器 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
How to transfer Vos3000 server database to new Vos3000 server
VOS 3000 use MySQL database to for their database named vos3000db
If you want to backup and restore VOS 3000 database or transfer Vos3000 server database to new VOS 3000 server follow the below steps :-
Login as root on old server
[root@centos]# mysqldump -u root -p vos3000db > vos3000backup.sql
Enter password: (enter your MySQL root Password)
Now copy vos3000backup.sql file to new server execute below command to restore
#scp vos3000backup.sql root@newserverip:/var/
Now Login on New Server
cd /var
[root@centos]# mysqldump -u root -p vos3000db < vos3000backup.sql
Enter password: (enter your MySQL root Password of new server)
if command execute successful then your database is restore.
if you are getting error to restore database try below command
mysql -u root -pxyz vos3000db <vos3000db.sql
To Backup VOS3000 databse execpt CDR data
Stop vos3000 service ,
/bin/tar -jcvf /home/kunshi/vos3000/databackup/vos3000.tar.bz2 –exclude *cdr* /var/lib/mysql/vos3000/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/gxloy/vos.git
git@gitee.com:gxloy/vos.git
gxloy
vos
vos
master

搜索帮助