Changes

From Amahi Wiki
Jump to: navigation, search
* Restore the ownCloud "config.php" file from the most recent backups with the following:
rsync -avr --delete /var/hda/backups/daily.0/owncloud/var/hda/web-apps/owncloud/html/config/config.php /var/hda/web-apps/owncloud/html/config/
 
* Restore the ownCloud "apps" directory from the most recent backups with the following:
* The following command-line entry will restore the ownCloud database from the most recent backups:
mysql -u owncloud -powncloud owncloud < /var/hda/backups/daily.0/owncloud/database_dump/owncloud_db.sql
 
:'''NOTE:''' For all releases on or after ownCloud 6, change all instances of ''owncloud'' to ''owncloud6''.
 
===== Upgrade =====
* The following command-line entry will restore the ownCloud database from the most recent backups:
mysql -u owncloud -powncloud owncloud < /var/hda/backups/daily.0/owncloud/database_dump/owncloud_db.sql
 
:'''NOTE:''' For all releases on or after ownCloud 6, change all instances of ''owncloud'' to ''owncloud<major release number> (i.e. owncloud6)''.
12,424

edits