Take backup of owncloud



I want to take a backup of owncloud installation. I read this article and I run the command

rsync -Aax config data /oc-backupdir/

to take back these folders to my home directory. However when I want to download the files via FileZila, in the data folder, only the folders structure are downloaded (it has permission 770) and not the files and in the config folder the config.php file isn't downloaded.

I have to chmod 755 to the folders to download them.

So I am wondering, if I want to restore owncloud to my server I will have to chmod to every file ???

Server configuration
Operating system: Ubuntu Server 14.04
Web server: Apache
Database: MySQL
ownCloud version (see ownCloud admin page): 9.1.4 (stable)



i wonder how is that related to ownCloud? How to do correct backups heavily depends on your used setup and linux distribution. The linked article is just a short overview over possible ways to do backups and needs to be adjusted to your environment.