OwnCloud Backup

From SEPsesam
Jump to: navigation, search
Other languages:
Deutsch • ‎English

Copyright © SEP AG 1999-2019. 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 Beefalo. 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.

Enterprise File Sharing from ownCloud. 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 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. In order to save backup disk space, a FULL INCR strategy can also be used.

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 Task type drop-down list, select the relevant task 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.
    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 levels. For more information, see Creating a Backup Event.