Linuxgsm: Backup function: exclude backups directory

Created on 18 Mar 2016  路  5Comments  路  Source: GameServerManagers/LinuxGSM

Hi,

the backup function includes per default the backups dir.
So every new backup includes the old backups and is growing unnecessarily.

bug

All 5 comments

Hi,
For now, the backup hasn't been designed to be run multiple times, it's something that you should use once to transfer your server.
However, i wish to improve it, and i could code your suggestion before anything else.

Here is an idea of what i've got in mind afterwards :
https://github.com/dgibbs64/linuxgsm/issues/716

OK, after having a look at the code, the backup directory should already be excluded from the backup.
https://github.com/dgibbs64/linuxgsm/blob/master/functions/command_backup.sh#L56

So are you sure that you're experiencing that issue ?
With what game ? And what version of LGSM ? Can you try updating your functions, running ./gameserver update-functions , ant try again ?

Maybe your game and backup folders becomes bigger for another reason ?

yeah i designed the code with not backing up the backups in mind. Would be pretty dumb to backup the backups :P

@pix0wl You sir were actually right, so thanks ! :)
It's fixed, and you gained an improved display with file size information.

To get the update :
./gameserver update-functions
or
./gameserver uf

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dgibbs64 picture dgibbs64  路  3Comments

metalowcom picture metalowcom  路  3Comments

KuJoe picture KuJoe  路  3Comments

UltimateByte picture UltimateByte  路  4Comments

Septembers picture Septembers  路  3Comments