تخطي إلى المحتوى الرئيس
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Restoring from backup

في Backups
قائمة المؤلفين
منشور: 21 مارس 2017|آخر تحديث: 28 فبراير 2018

1. Prepare new databaseCopy link to 1. Prepare new database to clipboard

First, create a new database within MyQSL. You'll also need to create a new MySQL user or give your existing user permission to the new database.

Example:

CREATE DATABASE deskpro_restored; CREATE USER 'myuser'@'localhost' IDENTIFIED BY 'mypassword'; GRANT ALL PRIVILEGES ON `deskpro_restored`.* TO 'myuser'@'localhost';
copy

2. Restore databaseCopy link to 2. Restore database to clipboard

Then you can restore the database dump into this new database. From the command-line, use the mysql utility:

mysql -umyuser -p deskpro_restored < backupname.sql
copy

3. Update configCopy link to 3. Update config to clipboard

Finally, you need to modify config/config.database.php to update the database name and user/password.

مفيد.غير مفيد

وجد 1 من 1 شخص هذه الصفحة مفيدة

الصفحة التاليةGeneral Troubleshooting Information
الصفحة السابقةFile backup

الرجاء تسجيل الدخول أو التسجيل لتقديم تعليق.