Home Blog Archive Internet OwnCloud: Backup - how to

OwnCloud: Backup - how to

  • Oct 25, 2025
  • 801
  • 0

Even with Cloud services like OwnCloud regular Backups are worthwhile. We will show you how to perform such a backup properly.

What you can back up a OwnCloud Backup

A OwnCloud Backup is done quickly, because you only need to secure three things:
  1. the config folder
  2. the data folder
  3. the database
So you make an OwnCloud Backup

With an OwnCloud Backup, folder backup

  1. You will have to copy the folders config and data and save them outside of the OwnCloud environment.
  2. Alternatively, you can also just copy the entire OwnCloud install and data folder.
  3. For that, you can also use this command: rsync -Aax owncloud/ owncloud-dirbkp_`date +"%Y%m%d"`/

Backup of the OwnCloud-create database

  • MySQL is the recommended database Engine. To secure MySQL, use this command: mysqldump --lock-tables -h [server] -u [username] -p[password] [db_name] > owncloud-sqlbkp_`date +"%Y%m%d"`.bak
  • If you use SQLite, use this command: sqlite3 data/owncloud.db .dump > owncloud-sqlbkp_`date +"%Y%m%d"`.bak
  • For PostgreSQL, use this command: PGPASSWORD="password" pg_dump owncloud -h [server] -U [username] -f owncloud-sqlbkp_`date +"%Y%m%d"`.bak

Video-tip: The legal hurdles of Cloud Computing

In the next article we will explain to you how your OwnCloud Admin password reset.

YOU MAY ALSO LIKE

0 COMMENTS

LEAVE A COMMENT

Human?
1 + 3 =