- Posts: 6
COMMUNITY FORUM
K2 Database restore
- Petik Avetisyan
- Topic Author
- Offline
- New Member
Less
More
14 years 1 week ago #90439
by Petik Avetisyan
K2 Database restore was created by Petik Avetisyan
I accidentally deleted a table jos_k2_items from phpmyadmin, please tell me now how to restore it without reinstalling
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 1 week ago #90440
by william white
Replied by william white on topic K2 Database restore
You can cut some of the code out of
install.mysql.sql that originally sets up the file - should say CREATE TABLE IF NOT EXISTS `#__k2_items`- and run it in phpmyadmin, but if you had lots of items, they are gone.
REstoring form an akkeba backup would be best if you have one.
Whatever you do, backup what you have first!
install.mysql.sql that originally sets up the file - should say CREATE TABLE IF NOT EXISTS `#__k2_items`- and run it in phpmyadmin, but if you had lots of items, they are gone.
REstoring form an akkeba backup would be best if you have one.
Whatever you do, backup what you have first!
Please Log in or Create an account to join the conversation.
- Petik Avetisyan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
14 years 1 week ago #90441
by Petik Avetisyan
Replied by Petik Avetisyan on topic K2 Database restore
I do not need to recover items, I want to just rebuild the table k2_items where to find install.mysql.sql
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 1 week ago #90442
by william white
Replied by william white on topic K2 Database restore
look for administrator\components\com_k2\install.mysql.sql
you should find the code you need there
you should find the code you need there
Please Log in or Create an account to join the conversation.
- Petik Avetisyan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
14 years 1 week ago #90443
by Petik Avetisyan
Replied by Petik Avetisyan on topic K2 Database restore
I did import install.mysql.sql with phpmyadmin but jos_k2_items does not appeare
Please Log in or Create an account to join the conversation.
- Petik Avetisyan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
14 years 1 week ago #90444
by Petik Avetisyan
Replied by Petik Avetisyan on topic K2 Database restore
Okay, all done, I reinstalled the component and the database is recovered, thanks for help
Please Log in or Create an account to join the conversation.
- Fred Hermanns
- Offline
- New Member
Less
More
- Posts: 13
13 years 7 months ago #90445
by Fred Hermanns
Replied by Fred Hermanns on topic K2 Database restore
Hi I have a similar problem.
Because my K2 lost its tabs in "items" for some reason I reinstalled k2.
Now all my categoreis & items are lost.
I have a Akkeba Backup. How do i restore just the k2 stuff from there?
any help would be greatly appreciated
Cheers
Petik Avetisyan said:
Okay, all done, I reinstalled the component and the database is recovered, thanks for help
Because my K2 lost its tabs in "items" for some reason I reinstalled k2.
Now all my categoreis & items are lost.
I have a Akkeba Backup. How do i restore just the k2 stuff from there?
any help would be greatly appreciated
Cheers
Petik Avetisyan said:
Okay, all done, I reinstalled the component and the database is recovered, thanks for help
Please Log in or Create an account to join the conversation.
- Olivier Karfis
- Offline
- Elite Member
13 years 7 months ago #90446
by Olivier Karfis
Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com
Replied by Olivier Karfis on topic K2 Database restore
Hi Fred.
Recover any table that start with k2 and you should be fine.
--Olivier
Recover any table that start with k2 and you should be fine.
--Olivier
Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com
Please Log in or Create an account to join the conversation.