jkroepke / 2Moons

Open Source Browsergame Framework
MIT License
150 stars 113 forks source link

Problem with backups #349

Closed Nusuminat closed 6 years ago

Nusuminat commented 6 years ago

error.log

Hello to you. I have had a problem with Backups for some time. and it's still blinding this bland. the database agrees with dbtables -> although mine is more extensive than the original one.

Greetings to the team

mys commented 6 years ago

Do You have set privileges to includes/backups path for www-data linux account? Beware, don't set too much privileges to avoid users download whole database from backup ;)

Nusuminat commented 6 years ago

probably rather not ... Server I have on VPS so configuration is much harder for me to do than on lan I did ...

Nusuminat commented 6 years ago

Problem solved

jkroepke commented 6 years ago

@Nusuminat what was the problem?

Nusuminat commented 6 years ago

Hello, Jana

I have or maybe I do not have a problem anymore ... The problem was that with a cron or even from the admin panel it was not possible to create a backup.

I solved the problem in this way: chmod -R 777 backups to the directory I gave the .htaccess file But I do not know if this is a good solution, but only so I will start to copy the database to the VPS server.