We have already seen how easy it is to create a database backup via SSH. The procedure for restoring this backup is no different and here are the steps:
Database Backup for servers without cPanel
- log into your SSH;
- locate the folder where your backup is kept;
- once inside type mysql DATABASE_NAME < BACKUP.sql and replace DATABASE_NAME with the database where this backup will be restored.
Database Backup for servers with cPanel
- log into your SSH;
- mysql -uUsername -pPassword -H localhost database_name < database_backup.sql
Should you experience any difficulties you can always contact our 24/7 Support Team who will gladly assist you in this matter.