Changes

From Amahi Wiki
Jump to: navigation, search
m
* Go to the Amahi Dashboard, Apps => Installed make sure that ownCloud is uninstalled.
* If ownCloud is still installed, uninstall the current ownCloud instance. This will remove the ownCloud binaries and ownCloud database.
 
* Go to the Amahi Dashboard, Apps => Available, install ownCloud.
* Restore the ownCloud "config" directory with the following:
<blockquote>{{Code|rsync -avr /var/hda/backups/daily.0/owncloud/var/hda/web-apps/owncloud/html/config /var/hda/web-apps/owncloud/html/}}
</blockquote>
 
* Restore the ownCloud "apps" directory with the following:
<blockquote>{{Code|rsync -avr /var/hda/backups/daily.0/owncloud/var/hda/web-apps/owncloud/html/apps /var/hda/web-apps/owncloud/html/}}
</blockquote>
 
* Restore the ownCloud database using the database dump file:
<blockquote>{{Code|mysql -u owncloud -powncloud owncloud < /var/hda/backups/daily.0/owncloud/database_dump/owncloud_db.sql}}
</blockquote>
* Login to a normal user ID and test ownCloud functionality (i.e. sharing) and applications.
* If the prior testing was successful have other users test their ownCloud IDs.
* The restore is now completed.
==== Update ====