Jump to content
TLThings

Recommended Posts

trago um autobackup via c++ vamos la.

Server/common:

length.h

Buscar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

colocar abaixo:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

service.h

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Agora vá ate Server/game/src:

main.ccp:

Buscar:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Colocar acima:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Dowload:

 

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

  • Like 8
Link to post
Share on other sites

Se isso executa um ficheiro shell, é preferível executares o mesmo pelo crontab não estando dependente do auth estar ligado.

Dessa maneira mesmo que servidor esteja em baixo os backups serão executados de maneira independente.

Link to post
Share on other sites

então esta não é a melhor forma de backup automático ?

"se o game estiver desligado ele não faz o backup ! "

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.