Changes

From Amahi Wiki
Jump to: navigation, search
* Enter the following "rsync" command to restore the "files" directory from the most recent backups. Depending on the amount of data stored the restore could take sometime.
rsync -avr --delete /var/hda/backups/daily.0/owncloud/var/hda/files /var/hda/
 
image =oc_tip.png|
heading =ownCloud Tip!|
message = Before going further please become acquainted with the ''[[Upgrading ownCloud to New Version Releases|Upgrading ownCloud to New Version Releases]]'' Wiki article. }} <!--ownCloud Tip ends-->
===== Update =====
* 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