4 4 3 Grolar:OwnCloud Backup

From SEPsesam
(Redirected from OwnCloud Backup)
Other languages:

Icon archived docs.png This is not the latest version of SEP sesam documentation and, as such, does not provide information on features introduced in the latest release. For more information on SEP sesam releases, see SEP sesam Release Versions. For the latest documentation, check SEP sesam Documentation for the new version.


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 the 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 an ownCloud backup, see OwnCloud Single File Restore.


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

Adding the ownCloud client to the 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 back up to SEP sesam. Run a test Path backup manually to ensure that the backups work. For details on the typical backup configuration, see Standard Backup Procedure.

Creating a backup task

Use the SEP sesam GUI to configure the ownCloud backup tasks. According to the 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 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 same steps as described in Creating a Backup Task. You just need to ensure that you select the desired directory and then set the backup task. To save storage space for the backup, you can also use a FULL INCR strategy.

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 the 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 depending on 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 Backup options (previously Save options) field.
  6. -a user=<DB User>,password=<Password DB Users>

    Click OK to create the task.
    OwnCloud bck task.jpg

  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. SEP Tip.png Tip
    You can add your backup task to an existing schedule by double-clicking the backup task, selecting the tab Schedules and adding it to one or more schedules. You can also group your backup tasks into task groups. For details, see Adding a Task to the Task Group.
  9. 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.

Monitoring backups

You can view the status of your backup jobs in the GUI (Monitoring -> Last Backup State or Job State -> Backups) or SEP sesam Web UI (as of 4.4.3 Beefalo V2). The backup status overview provides detailed information about the last run of backup jobs, including task name, start and stop time of the last backup, backup level, data size, throughput, assigned media pool, etc.

See also

OwnCloud Single File RestorePostgreSQL BackupMySQL BackupOracle Backup

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