Jump to content

4 4 3 Grolar:OwnCloud Single File Restore: Difference between revisions

Marked this version for translation
(Prepared for translation.)
(Marked this version for translation)
Line 1: Line 1:
<translate><div class="noprint"><languages />
<translate><!--T:1-->
<div class="noprint"><languages />
{{Copyright SEP AG‎|en}}
{{Copyright SEP AG‎|en}}


<!--T:2-->
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Grolar'']]
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Grolar'']]
|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|SEP sesam Archive]]}}</div></translate><br />
|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|SEP sesam Archive]]}}</div></translate><br />


<translate>==Overview==</translate>
<translate>==Overview== <!--T:3--></translate>
<noinclude><div class="boilerplate metadata" id="Additional resources" style="background-color: #f0f0f0; color:#636f73; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate>Additional resources</translate></b></center>
<noinclude><div class="boilerplate metadata" id="Additional resources" style="background-color: #f0f0f0; color:#636f73; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate><!--T:4--> Additional resources</translate></b></center>


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>[[File:SEP_next.png|45px|link=Special:MyLanguage/OwnCloud_Backup]]</translate>
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:5--> [[File:SEP_next.png|45px|link=Special:MyLanguage/OwnCloud_Backup]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>See also: [[Special:MyLanguage/OwnCloud_Backup|ownCloud Backup]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:6--> See also: [[Special:MyLanguage/OwnCloud_Backup|ownCloud Backup]]</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>[[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ|FAQ]]</translate>
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:7--> [[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ|FAQ]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
<translate>Check [[Special:MyLanguage/FAQ|FAQ]] to find the answers to most common questions.</translate>
<translate><!--T:8--> Check [[Special:MyLanguage/FAQ|FAQ]] to find the answers to most common questions.</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>[[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide]]</translate>
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:9--> [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:10--> Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>[[File:icon_archived_docs.png|45px|link=Special:MyLanguage/SEP_sesam_Documentation#previous]]</translate>
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:11--> [[File:icon_archived_docs.png|45px|link=Special:MyLanguage/SEP_sesam_Documentation#previous]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>If you are using an older SEP sesam version, refer to [[Special:MyLanguage/SEP_sesam_Documentation#previous|SEP sesam Archive]].</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:12--> If you are using an older SEP sesam version, refer to [[Special:MyLanguage/SEP_sesam_Documentation#previous|SEP sesam Archive]].</translate>
|}</div></noinclude>
|}</div></noinclude>
<translate>SEP sesam enables you to restore single files from your ownCloud backup. Note that only ownCloud without server-side encryption is supported.  
<translate><!--T:13-->
SEP sesam enables you to restore single files from your ownCloud backup. Note that only ownCloud without server-side encryption is supported.  


<!--T:14-->
Restore tasks can be saved, scheduled and run automatically in continuous intervals to check and control data integrity. For details, see [[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].
Restore tasks can be saved, scheduled and run automatically in continuous intervals to check and control data integrity. For details, see [[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].


== {{anchor|task}}Configuring ownCloud restore==  
== {{anchor|task}}Configuring ownCloud restore== <!--T:15-->


<!--T:16-->
A restore task involves browsing and selecting the desired savesets by time and task/filename, selecting restore type and restore target, enabling post interface for the client that runs ownCloud and specifying a special command for the post script.
A restore task involves browsing and selecting the desired savesets by time and task/filename, selecting restore type and restore target, enabling post interface for the client that runs ownCloud and specifying a special command for the post script.


=== {{anchor|prerequisites}}Prerequisites ===</translate>
=== {{anchor|prerequisites}}Prerequisites === <!--T:17--></translate>
<ul><li><translate>Depending on what you want to restore, make sure that you have the proper '''restore permissions''' and '''access rights'''.</translate></li>
<ul><li><translate><!--T:18--> Depending on what you want to restore, make sure that you have the proper '''restore permissions''' and '''access rights'''.</translate></li>
<li><translate>Make sure that there is '''sufficient free space''' on the target system to which you are restoring your data.</translate></li>
<li><translate><!--T:19--> Make sure that there is '''sufficient free space''' on the target system to which you are restoring your data.</translate></li>
<li><translate>Prepare a special routine to scan the recovered files after a restore via the sbc_pre interface.</translate></li></ul>
<li><translate><!--T:20--> Prepare a special routine to scan the recovered files after a restore via the sbc_pre interface.</translate></li></ul>


<translate>=== {{anchor|post}}Enabling a post interface ===
<translate>=== {{anchor|post}}Enabling a post interface === <!--T:21-->


<!--T:22-->
To use a pre/post interface, you have to enable it first and create a special <tt>post</tt> command, as explained below.</translate>
To use a pre/post interface, you have to enable it first and create a special <tt>post</tt> command, as explained below.</translate>
<ol><li><translate>In the GUI menu bar, click '''Configuration''' -> '''Interfaces''', select the '''Post interface''', and then select the '''Restore interface''' and your '''ownCloud client'''.</translate></li>
<ol><li><translate><!--T:23--> In the GUI menu bar, click '''Configuration''' -> '''Interfaces''', select the '''Post interface''', and then select the '''Restore interface''' and your '''ownCloud client'''.</translate></li>
<translate>[[image:configure_owncloud_post_restore.png|link=]]</translate>
<translate><!--T:24--> [[image:configure_owncloud_post_restore.png|link=]]</translate>
<br clear=all>
<br clear=all>
<translate>[[image:configure_owncloud_post_restore-2.png|link=]]</translate>
<translate><!--T:25--> [[image:configure_owncloud_post_restore-2.png|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>In the interface script window, add the following command</translate></li>
<li><translate><!--T:26--> In the interface script window, add the following command</translate></li>
  sudo -u "userThatOwnsOwnCloudDir" php "pathToOwnCloudDir"/occ files:scan -all
  sudo -u "userThatOwnsOwnCloudDir" php "pathToOwnCloudDir"/occ files:scan -all
<translate>[[image:configure_owncloud_post_restore-3.png|link=]]</translate>
<translate><!--T:27--> [[image:configure_owncloud_post_restore-3.png|link=]]</translate>
<br clear=all>
<br clear=all>
<translate>under the line:</translate>
<translate><!--T:28--> under the line:</translate>
  #=== Please insert your specific actions here==================
  #=== Please insert your specific actions here==================
<translate>where <tt>"userThatOwnsOwnCloudDir"</tt> must be replaced by the user that owns the ownCloud directory</translate><br />
<translate><!--T:29--> where <tt>"userThatOwnsOwnCloudDir"</tt> must be replaced by the user that owns the ownCloud directory</translate><br />
<translate>and <tt>"pathToOwnCloudDir"</tt> must be replaced by the location of the ownCloud directory.</translate>
<translate><!--T:30--> and <tt>"pathToOwnCloudDir"</tt> must be replaced by the location of the ownCloud directory.</translate>


<translate>For example, on a Debian with Apache2 and ownCloud located in {{Path|/var/www/}}, you should specify the following command:</translate>
<translate><!--T:31--> For example, on a Debian with Apache2 and ownCloud located in {{Path|/var/www/}}, you should specify the following command:</translate>
  #=== Please insert your specific actions here==================
  #=== Please insert your specific actions here==================
  sudo -u www-data php /var/www/owncloud/occ files:scan -all
  sudo -u www-data php /var/www/owncloud/occ files:scan -all


<translate>[[image:configure_owncloud_post_restore-command.png|link=]]</translate>
<translate><!--T:32--> [[image:configure_owncloud_post_restore-command.png|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>Click '''Save''' to activate the interface. The interface is saved to the {{path|<SESAM_ROOT>/bin/sesam}} directory. For details, see [[Special:MyLanguage/Using_Pre_and_Post_Scripts|Using Pre and Post Scripts]].</translate></li></ul></ol>
<li><translate><!--T:33--> Click '''Save''' to activate the interface. The interface is saved to the {{path|<SESAM_ROOT>/bin/sesam}} directory. For details, see [[Special:MyLanguage/Using_Pre_and_Post_Scripts|Using Pre and Post Scripts]].</translate></li></ul></ol>


<translate>=== {{anchor|single}}Restoring single files ===
<translate>=== {{anchor|single}}Restoring single files === <!--T:34-->


<!--T:35-->
You should look at the [[Special:MyLanguage/Standard Restore Procedure|Standard Restore Procedure]] for general instructions on how to configure a restore task. The following procedure shows only ownCloud-specific steps when configuring a restore task.</translate>
You should look at the [[Special:MyLanguage/Standard Restore Procedure|Standard Restore Procedure]] for general instructions on how to configure a restore task. The following procedure shows only ownCloud-specific steps when configuring a restore task.</translate>
<ol><li><translate>From the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore''' -> select the saveset for restore. In the third step of the wizard: '''Select task''', from the list of the savesets click the desired backup version from which you want to restore restore, and then click '''Next'''.</translate></li>
<ol><li><translate><!--T:36--> From the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore''' -> select the saveset for restore. In the third step of the wizard: '''Select task''', from the list of the savesets click the desired backup version from which you want to restore restore, and then click '''Next'''.</translate></li>
<translate>[[image:rst_owncloud-select_bck_task.png|link=]]</translate>
<translate><!--T:37--> [[image:rst_owncloud-select_bck_task.png|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>In the ''Select files'' dialog, select the data you want to restore and click '''Next'''.</translate></li>
<li><translate><!--T:38--> In the ''Select files'' dialog, select the data you want to restore and click '''Next'''.</translate></li>
<translate>[[image:rst_owncloud-select_file.png|link=]]</translate>
<translate><!--T:39--> [[image:rst_owncloud-select_file.png|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>{{anchor|pre_post}}In the ''Save and start'' step of the restore wizard, click '''Expert options''' and then select the tab '''Pre/Post'''. Select the check box '''Execute Post''' to enable running the post script for this task. Click '''OK''' and then '''Save'''.</translate></li>  
<li><translate><!--T:40--> {{anchor|pre_post}}In the ''Save and start'' step of the restore wizard, click '''Expert options''' and then select the tab '''Pre/Post'''. Select the check box '''Execute Post''' to enable running the post script for this task. Click '''OK''' and then '''Save'''.</translate></li>  
<translate>[[image:rst_owncloud-enable_post.png|link=]]</translate>
<translate><!--T:41--> [[image:rst_owncloud-enable_post.png|link=]]</translate>
<br clear=all>
<br clear=all>
</ol>
</ol>
<translate>You can view the status of your restore jobs by selecting '''Job state''' -> '''Restore''' from the ''Main selection''. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.
<translate><!--T:42-->
You can view the status of your restore jobs by selecting '''Job state''' -> '''Restore''' from the ''Main selection''. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.


<div class="noprint">
<div class="noprint">
==See also==
==See also== <!--T:43-->
[[Special:MyLanguage/OwnCloud_Backup|ownCloud Backup]]</div></translate>
[[Special:MyLanguage/OwnCloud_Backup|ownCloud Backup]]</div></translate>