databases are synced via mysql replication and the backup server's moodledata sync with the main's by this script:
rsync -e 'ssh -ax' -avz --delete-excluded mainServerIP:/srv/www/htdocs/moodledata /var/www/html
chown -R apache:apache /var/www/html/moodledata
logs show that databases are completely sync but unfortunataly the resources are not showed properly in the backup server site.it should be noted that two moodledata folders are the same but I don't know why the backup site can't show it's resources and only the icon of resources can be showed like the atachement!
please help me