Backup for oCIS files

I now have oCIS running fine (docker on a Debian machine, very few users only, several dozen GBs of data), now I would like to perform regular backups of the user’s data. Data and configuration are both stored on a POSIX-compliant filesystem.
Is is enough to just backup the ocis-data folder? Can it be also simply restored?
The documentation is rather sparse on this points…

1 Like

I am also very interested in the backup/restore story.

Any ideas how to backup/restore OCIS?

Please check out Backup Considerations | ownCloud for more information.

2 Likes

Will there be a built in backup and restore function that makes things a bit easier?

I’ve read the page you linked, thank you. There is some mention of: “Depending on the used blobstore, the blobs need to be backed up separately, for example if S3 is used.”

My data however is stored locally on an ext4 partition: taking into consideration the config files, is it sufficient to back up all files and directories (i.e. with rsync) to be able to restore all user data?

Yes. If you are not using an external S3 store, backing up all files and folders is sufficient.

There is a backup consistency command ocis backup consistency which allows checking a copy for consistency. You could run that command on your backup to make sure everything was copied correctly.

Thanks for getting back to me. I’ll try ocis bakcup consistency as soon as I have the time, my backup is on a remote device so I’ll have to figure out how to do that.

Is backup ocis backup consistency implemented in OCIS Version: 5.0.9?

ocis backup consistency -p /ocis_data/storage/users

returns: “No help topic for ‘backup’” on my system.

Ah no. Sorry, It’s a ocis 7 feature.

1 Like