If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4488:
L2JDP Revision 7760:
Hi all
I want to make daily backup of my database, but i dont know if i need shoutdown my gameserver for do the backup correctly or i can backup while server is running.
I ask becouse i can have my gameserver one week running, but i think make backup each week is not safe.
Backup Dude
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- goncafa
- Posts: 385
- Joined: Thu Aug 05, 2010 2:10 pm
- Location: Santiago, Chile
Backup Dude
Best Regards
PS: im sorry my bad english.

PS: im sorry my bad english.

- AntV
- Posts: 177
- Joined: Mon May 10, 2010 10:46 pm
Re: Backup Dude
If you only want to backup the database, then simple backup it using Navicat, pmpmyadmin or any program you are using to create and manage the databases. Doing that also does not require to shut down the server (although it is not a bad idea)
- pinkcore
- Posts: 247
- Joined: Fri Jul 24, 2009 3:04 am
- Location: Czech Republic
Re: Backup Dude
I'm doing backup every hour for all my projects and I'm removing 7 days old backups. Simply use your cron.
PS: You don't need to restart / shutdown your server or something else.
PS2: Never use Navicat or remote MySQL access, use phpmyadmin(you don't need remote access beacuse you are accessing server from localhost...)
PS: You don't need to restart / shutdown your server or something else.

PS2: Never use Navicat or remote MySQL access, use phpmyadmin(you don't need remote access beacuse you are accessing server from localhost...)
I'm not here only for food!
- goncafa
- Posts: 385
- Joined: Thu Aug 05, 2010 2:10 pm
- Location: Santiago, Chile
Re: Backup Dude
Hi pinkcorepinkcore wrote:I'm doing backup every hour for all my projects and I'm removing 7 days old backups. Simply use your cron.
PS: You don't need to restart / shutdown your server or something else.
PS2: Never use Navicat or remote MySQL access, use phpmyadmin(you don't need remote access beacuse you are accessing server from localhost...)
Thank you for response

Can you share your cron for bakcup each hour and delete files with 7 days or more?
is your crone for Linux? becouse my server is running on CentoS 5.5
Best Regards
PS: im sorry my bad english.

PS: im sorry my bad english.

- kimeraweb
- Posts: 55
- Joined: Sat Jul 31, 2010 5:33 pm
- Location: Deutschland
- Contact:
Re: Backup Dude
Sorry but you need server shutdown (and hold it off-line) for good backup.
First of all:
because, while your server is running, doesn't record the newest data in database.
It uses ram for speed, no disk access which is very slow.
And second:
If you let players playing while you are in backup, could happen (sure will) players create new object ID which will be referred in some parts of the tables and not in others.
Unless you get a backup in few milliseconds, you're doing wrong, and you will be noticed when console starts with messages because you're using a corrupted database or maybe not, because you couldn't restore it.
First of all:
because, while your server is running, doesn't record the newest data in database.
It uses ram for speed, no disk access which is very slow.
And second:
If you let players playing while you are in backup, could happen (sure will) players create new object ID which will be referred in some parts of the tables and not in others.
Unless you get a backup in few milliseconds, you're doing wrong, and you will be noticed when console starts with messages because you're using a corrupted database or maybe not, because you couldn't restore it.
GS: 4470
DP: 7733
DP: 7733