Changes

From Amahi Wiki
Jump to: navigation, search
m
/sbin/shutdown -h now}}</blockquote>
* === Amahi ownCloud Backup/Recovery Tools === In order to make life easier for doing ownCloud backup and recovery a couple of tools might be of some benefit? The tools provided are based on the wiki articles "''Backup and Recovery of ownCloud''" and "''Upgrading ownCloud to New Version Releases''". Both tools can be modified to meet the needs of a current ownCloud instance. Please remember is the tools are "modified" to back them up as in a next install of ownCloud they will be replaced with the packages defaults. The tools can be found at directory location, "/var/hda/web-apps/owncloud/html/scripts/". ==== Backup Tool ====The backup tool is called \,"oc-backup.sh". Currently it is configured to only do an "rsnapshot daily". The tool is run using the "root"bashuser ID in a " terminal session. <blockquote>Help information is available by:{{Code|/var/hda/web-apps/owncloud/html/scripts could /oc-backup.sh -h}}</blockquote> <blockquote>Resulting in the following:{{Text|Text=Usage: oc-backup.sh [option] Options: -h help --version displays version of this script - d do daily backup}}</blockquote> The tool only allows one command-line option to be written for entered. Please note the "-d" options? This performs the backup. ==== Recovery Tool ==== The backup tool is called \,"oc-recover.sh". The recovery tool performs several different types of ownCloud recovery operations. <blockquote>Help information is available by:{{Code|/var/hda/web-apps/owncloud/html/scripts/oc-recover.sh -h}}</blockquote> <blockquote>Resulting in the following:{{Text|Text=Usage: oc-recover.sh [option] Options: -h help -f restore, ownCloud "data files" -r restore, ownCloud -p update, ownCloud -g upgrade ownCloud -rf or -fr restore ownCloud and ownCloud data files -pf or -fp update operations OR ownCloud and ownCloud data files -gf or -fg upgrade ownCloud and ownCloud data files --version displays version of this script}}</blockquote> The tool only allows one combined script with command-line options written for all of these operationsoption to be entered.
<br>