Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 11 of 11
  1. #1
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154

    Solved When does TeamSpeak 3 delete clients?

    Looking at the client ids in my server's database, I can tell that there are many holes in the earlier client_ids but the latter client_ids have no holes between them.

    I'd like to know what the criteria for deleting clients is, whether it's built-in or its a setting, so I can prevent it.

  2. #2
    Join Date
    September 2012
    Posts
    6,079
    The server will delete clients that have not been logged in for 90 days (by default) and that do not have a permanent server group assigned (e.g. are guests). This is to keep the database small(ish) and prevent unnecessary data from being kept. If a client that was never a member (or something special) hasn't been around for 90 days, chances are he won't be coming back so why keep data you are, in all likelihood, never going to need.

    The amount of days of inactivity before such a client gets deleted from the database can be configured through a command line parameter at instance start and it can also be disabled. See server_quickstart.txt section 6 for further information on available command line parameters.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  3. #3
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154
    Does dbclientkeepdays=0 disable pruning?

  4. #4
    Join Date
    September 2012
    Posts
    6,079
    No it does not.
    Please use a big value like 99999999.
    Last edited by dante696; December 4th, 2013 at 07:47 AM. Reason: 0 is not accepted from server.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  5. #5
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154
    Thank you very much for your quick help Chris! I had a whole group of people that joined a few months back but left before I could add them to Normal they disappeared.

  6. #6
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154

    dbclientkeepdays=0 does not work!

    I have dbclientkeepdays set to 0 in my ts3server.ini and it still deleted a large number of clients from my TeamSpeak database at the beginning of the month. I don't want the overhead of having to add everyone who connects to my TeamSpeak to another server group, but I need the join date of all clients who connect. My only command-line parameter is inifile=ts3server.ini. Do I have the wrong key/value, or is this broken?
    Last edited by dante696; December 4th, 2013 at 07:22 AM. Reason: merged

  7. #7
    Join Date
    June 2008
    Posts
    18,513
    dbclientkeepdays=0 does not accept 0 as a value.
    Also would mean delete them everyday.

    Please use 999999 and your users will stay in your databse for 273~ years
    I guess you will never find out if that worked , when the first user was deleted.
    Last edited by dante696; December 4th, 2013 at 09:36 AM. Reason: merged
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  8. #8
    Join Date
    July 2010
    Location
    Chicago
    Posts
    154
    Thank you dante, I think Chris erred here, but it's cool.

    Is it the same for dblogkeepdays? I think those are both the keys I need to not ever prune, at least according to this.
    Last edited by dante696; December 4th, 2013 at 07:23 AM. Reason: merged

  9. #9
    Join Date
    April 2013
    Posts
    34
    ... is "dbclientkeepdays=" only working on a NEW created Server? On my Server the Entry "dbclientkeepdays=90" is doing nothing, this Server is not new, i use the ServerConfig.ini after 1 Year after created my Server ...

    Sorry my English Iam German Potato-Eater

  10. #10
    Join Date
    June 2008
    Posts
    18,513
    It's working with old and new servers. But must be set on each virtual server + the user must be removed from any permanent Server group.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  11. #11
    Join Date
    April 2013
    Posts
    34
    OK, i will see ... thanks for Answer
    Last edited by --- MaBo. ---; October 6th, 2014 at 06:39 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] list All Clients delete gameserver serverquery from list
    By thywitness in forum Server Support
    Replies: 9
    Last Post: May 22nd, 2012, 07:12 AM
  2. Auto delete clients?
    By Trekkan in forum Server Support
    Replies: 3
    Last Post: October 13th, 2010, 08:51 AM
  3. Delete teamspeak server without using sid
    By DieHardServers.com in forum Server Support
    Replies: 6
    Last Post: May 6th, 2010, 05:23 AM
  4. Cant delete TeamSpeak Server
    By nsateam in forum Server Support
    Replies: 2
    Last Post: March 12th, 2010, 08:00 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •