4 4 3 Grolar:OwnCloud Backup: Difference between revisions

From SEPsesam
mNo edit summary
mNo edit summary
Line 29: Line 29:
<span style="font-size:92%; line-height: 1.3em; color:grey;">The procedures and features explained herein provide only information about the SEP sesam-specific parts of ownCloud configuration and backup. For detailed information on ownCloud, refer to [https://doc.owncloud.org/server/latest/admin_manual/ ownCloud Administration Manual].</span>
<span style="font-size:92%; line-height: 1.3em; color:grey;">The procedures and features explained herein provide only information about the SEP sesam-specific parts of ownCloud configuration and backup. For detailed information on ownCloud, refer to [https://doc.owncloud.org/server/latest/admin_manual/ ownCloud Administration Manual].</span>


ownCloud is free and open source self-hosted file sync and share server. SEP sesam provides online backup of your ownCloud files and its underlying database. To back up a complete ownCloud server, you have to configure a ''Path'' backup (typical file system backup) for your ownCloud files and a separate database backup for ownCloud server data (database, config, etc.). SEP sesam backup and restore is only supported for ownCloud without server-side encryption.<br />
ownCloud is free and open source self-hosted file sync and share server. SEP sesam provides online backup of your ownCloud files and its underlying database. To back up a complete ownCloud server, you have to configure a ''Path'' backup (typical file system backup) for your ownCloud files and a ''separate database backup'' for ownCloud server data (database, config, etc.). Supported databases are [[Special:MyLanguage/SEP_sesam_Extension_for_MySQL#Backup_Configuration|MySQL/MariaDB]], [[Special:MyLanguage/4_4_3:PostgreSQL_Backup|PostgreSQL DB]] and [[Special:MyLanguage/SEP_sesam_Extension_for_Oracle#Backing_up_the_Oracle_database|Oracle DB]] (if an ''Enterprise edition'' is used).
 
Note that SEP sesam backup and restore is only supported for ownCloud without server-side encryption.<br />
For details on how to to restore single files from the ownCloud backup, see [[Special:MyLanguage/OwnCloud_Single_File_Restore|OwnCloud Single File Restore]].
For details on how to to restore single files from the ownCloud backup, see [[Special:MyLanguage/OwnCloud_Single_File_Restore|OwnCloud Single File Restore]].


Line 58: Line 60:


==={{anchor|database}}Backing up databases===
==={{anchor|database}}Backing up databases===
Depending on which database is used with ownCloud (supported are [[Special:MyLanguage/SEP_sesam_Extension_for_MySQL#Backup_Configuration|MySQL/MariaDB]], [[Special:MyLanguage/4_4_3:PostgreSQL_Backup|PostgreSQL DB]] and [[Special:MyLanguage/SEP_sesam_Extension_for_Oracle#Backing_up_the_Oracle_database|Oracle DB]], if an Enterprise edition is used), follow the relevant steps.
Depending on which database is used with ownCloud (supported are [[Special:MyLanguage/SEP_sesam_Extension_for_MySQL#Backup_Configuration|MySQL/MariaDB]], [[Special:MyLanguage/4_4_3:PostgreSQL_Backup|PostgreSQL DB]] and [[Special:MyLanguage/SEP_sesam_Extension_for_Oracle#Backing_up_the_Oracle_database|Oracle DB]], if an ''Enterprise edition'' is used), follow the relevant steps.


<ol><li>From '''Main Selection''' -> '''Tasks''' -> '''By clients''', select ''ownCloud'' client and click '''New backup task'''. The ''New backup task'' window opens.</li>
<ol><li>From '''Main Selection''' -> '''Tasks''' -> '''By clients''', select ''ownCloud'' client and click '''New backup task'''. The ''New backup task'' window opens.</li>

Revision as of 17:35, 16 October 2017

Draft.png WORK IN PROGRESS
This article is in the initial stage and may be updated, replaced or deleted at any time. It is inappropriate to use this document as reference material as it is a work in progress and should be treated as such.

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3/4.4.3 Tigon. For previous documentation version(s), check SEP sesam Archive.

'

Overview

The procedures and features explained herein provide only information about the SEP sesam-specific parts of ownCloud configuration and backup. For detailed information on ownCloud, refer to ownCloud Administration Manual.

ownCloud is free and open source self-hosted file sync and share server. SEP sesam provides online backup of your ownCloud files and its underlying database. To back up a complete ownCloud server, you have to configure a Path backup (typical file system backup) for your ownCloud files and a separate database backup for ownCloud server data (database, config, etc.). Supported databases are MySQL/MariaDB, PostgreSQL DB and Oracle DB (if an Enterprise edition is used).

Note that SEP sesam backup and restore is only supported for ownCloud without server-side encryption.
For details on how to to restore single files from the ownCloud backup, see OwnCloud Single File Restore.

Requirements

To ensure error-free operation of SEP sesam and improve performance, make sure that the following conditions are met:

  • SEP sesam Server v. 4.4.3 or higher. Check Hardware requirements for SEP sesam Server.
  • Install the SEP sesam Client package on your ownCloud server.
  • A user account with sufficient privileges to perform backup and restore operations.
  • ownCloud license and relevant database module license (Oracle, MySQL/MariaDB, or PostgreSQL). For details, see List of Licenses.

Adding the ownCloud client to SEP sesam environment

Once you have downloaded the SEP sesam package, proceed as follows: You configure a new client by adding it to the SEP sesam environment: Main selection -> Components -> Topology -> New client -> add your ownCloud server. For details, see Configuring Clients.

Information sign.png Note
Before proceeding, you should validate that you can backup to SEP sesam. Run a test Path backup manually to ensure that the backups work. For details on typical backup configuration, see Standard Backup Procedure.

Creating a backup task

Use the SEP sesam GUI to configure the ownCloud backup tasks. According to ownCloud documentation, you have to back up the following data to have a complete ownCloud server backup:

  • config/ directory
  • data/ directory
  • your ownCloud database
  • your custom theme files (if they exist)

You should set up a a separate backup task for backing up your ownCloud directories and for other ownCloud data (database, config ...).

Backing up directories

Backing up ownCloud directories is pretty straight-forward and follows the steps as described in Creating a backup task. You only need to ensure that you select the desired directory and then set the backup task.

Backing up databases

Depending on which database is used with ownCloud (supported are MySQL/MariaDB, PostgreSQL DB and Oracle DB, if an Enterprise edition is used), follow the relevant steps.

  1. From Main Selection -> Tasks -> By clients, select ownCloud client and click New backup task. The New backup task window opens.
  2. Enter the Task name.
  3. From the Backup type drop-down list, select the relevant backup type according to which database is used with ownCloud (Oracle, PostgreSQL, or MySQL).
  4. Under Source, enter the name of the ownCloud database, for example oracle, my_db, postgre_db.
  5. If required, enter the user name and password to access the database: click the tab Options and enter the following in the Save options field.
  6. -a user=<DB User>,password=<Password DB Users> Click OK to create the task.
    File:OwnCloud bck task.png
  7. If you want to start the newly created task immediately, right-click the name of the task and click Immediate start. If you want to schedule the task, click New schedule under Main Selection -> Scheduling -> Schedules. For details, see Creating a Schedule.
  8. Once you have configured a schedule, you must create a new backup event for it. Go to Main Selection -> Scheduling -> New Backup Event, click the Parameter tab and select one of the available backup level types. For more information on schedules and related events, see Schedules 4.4.

See also

OwnCloud Single File RestorePostgreSQL BackupMySQL BackupOracle Backup