跳到主要内容
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

MySQL Backup

在 Backups 中
作者列表
已发布: 2017年3月21日|最后更新: 2017年3月21日

To back up the MySQL database, use the mysqldump tool to create a backup file.

mysqldump is a standalone tool which is usually installed automatically when you install MySQL.

The recommended mysqldump command to use is:

mysqldump --opt -Q --hex-blob -u 'your user' -p'your password' your_db_name > deskpro-backup.sql
copy

(Note that there must NOT be a space between the the -p switch and your password.)

We recommend that you do this with the command line version of mysqldump, not through phpmyadmin.

Of course, you should then store the backup file on a separate server, secured from unauthorised access.

Note

Note

You do not need to disable the helpdesk to do this backup.

Warning

Warning

This database backup is not enough to restore your helpdesk. You must also do the file backup below. Both are required for recovery.

有帮助没有帮助
下一个页面File backup

请登录或注册以提交评论。