Restoring Kaltura CE5
Posted By : Arvind Das | 19-Jun-2012
I have a new installation of Kaltura CE5 on my machine and i want to fetch data from previous installation in my current Kaltura CE5. This is how, I have achieve this.
- Export your CE 5 Data Base
- Install CE 5.0
- Rsync back up web directory to your CE5 web directory
-
For example
rsync -r pathtobackup/web/ /opt/kaltura/web/
- Replace values for (only) batch partner “-1†from new database with values in backup kaltura.sql file. Replace old values with new one in kaltura.sql
- Import your CE5 DataBase from previous installation
-
Run the following command (replace [user] and [password] with relevant values):
mysql kaltura -u[user] -p[password] < kaltura.sql
- Run the migration scripts
- If still videos do not display under content tab execute this script
- It should execute without errors else execute again.
- If videos do not play
- Execute the script below if you are unable to see newly uploaded content after rebooting server
- Run the Above script as a background process. Follow Instructions below
Run the following command (replace [user] and [password] with relevant values:
mysqldump kaltura -u[user] -p[password] > kaltura.sql
Backup CE5 installation data, /opt/kaltura/web directory and install Kaltura CE5.
php /opt/kaltura/app/deployment/updates/update.php
php /opt/kaltura/app/scripts/utils/updatePartnerEntries2Sphinx.php “partner_idâ€
chmod -R 777 /opt/kaltura/web/content/entry/data
/usr/bin/php /opt/kaltura/app/plugins/sphinx_search/scripts/populateFromLog.php /opt/kaltura/app/plugins/sphinx_search/scripts/configs/server-sphinx.php
#!/bin/sh /usr/bin/php /opt/kaltura/app/plugins/sphinx_search/scripts/populateFromLog.php /opt/kaltura/app/plugins/sphinx_search/scripts/configs/server-sphinx.php > /dev/null 2>&1 &
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Arvind Das
Technical Product Manager experienced in developing Real Time Planning Solutions, Video CMS with experience in Product Management and technical expertise in Reactive applications , Micro-services . Spending most of his time in planning , new solutions.