I made a backup of database so - mysqldump - opt-Q-u dbusername-p databasename> / path / to / backupname.sql
And the root of the forum - tar -cvzf ~/path/to/backup.tar.gz ~/site (If you ask why I did archive root folder I reply that I have attachments are stored in the file system.)
As I was returning:unpacked folder -
gunzip /path/to/backup.tar.gz
tar -xvf /path/to//backup.tar
And then the base - mysql -u dbusername -p databasename < /path/to/backupname.sql
Forum is back, but do not work:
1. Home
2. Recent Activity
3. Admin panel looks like this - http://i58.fastpic.ru/big/2013/1017/...180d795c95.png
I am not an expert in such matters, help me find my mistake!
And the root of the forum - tar -cvzf ~/path/to/backup.tar.gz ~/site (If you ask why I did archive root folder I reply that I have attachments are stored in the file system.)
As I was returning:unpacked folder -
gunzip /path/to/backup.tar.gz
tar -xvf /path/to//backup.tar
And then the base - mysql -u dbusername -p databasename < /path/to/backupname.sql
Forum is back, but do not work:
1. Home
2. Recent Activity
3. Admin panel looks like this - http://i58.fastpic.ru/big/2013/1017/...180d795c95.png
I am not an expert in such matters, help me find my mistake!
Comment