Changes

From Amahi Wiki
Jump to: navigation, search
m
* As mentioned before, notice that the "daily.0" directory is the most recent backup version.
=== Recover Recovery ===
This section will discuss restoring, updating, and upgrading parts of ownCloud from backups. ownCloud recovery from backups use the "rsync" command.
* Restore the ownCloud "config" directory with the following:
<blockquote>{{Code|rsync -avr --delete /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 --delete /var/hda/backups/daily.0/owncloud/var/hda/web-apps/owncloud/html/apps /var/hda/web-apps/owncloud/html/}}
</blockquote>
* Restore the ownCloud "config" directory with the following:
<blockquote>{{Code|rsync -avr --delete /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 --delete /var/hda/backups/daily.0/owncloud/var/hda/web-apps/owncloud/html/apps /var/hda/web-apps/owncloud/html/}}
</blockquote>
* Restore the ownCloud "config" directory with the following:
<blockquote>{{Code|rsync -avr --delete /var/hda/backups/daily.0/owncloud/var/hda/web-apps/owncloud/html/config /var/hda/web-apps/owncloud/html/}}
</blockquote>