4 4 3 Grolar:OwnCloud Backup
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.
Requirements
To ensure error-free operation of SEP sesam and improve performance, make sure that the following conditions are met:
- It is recommended to use the latest available SEP sesam Server version. Check the 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 Licensing.
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.
![]() |
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.
- From Main Selection -> Tasks -> By Clients, select the ownCloud client and click New Backup Task. The New Backup Task window opens.
- Enter the Task name.
- From the Task type drop-down list, select the relevant task type depending on which database is used with ownCloud (Oracle, PostgreSQL, or MySQL).
- Under Source, enter the name of the ownCloud database, for example oracle, my_db, postgre_db.
- 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.
- 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.
- 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.
-a user=<DB User>,password=<Password DB Users>
Click OK to create the task.
![]() |
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. |
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 Restore – PostgreSQL Backup – MySQL Backup – Oracle Backup