ispconfig_access_log

Discussion in 'Feature Requests' started by ADM, Oct 29, 2008.

  1. ADM

    ADM ISPConfig Developer ISPConfig Developer

    Hello

    Thanks in advance if you could help.

    I'm looking for a feature that allow me to compress these files:
    ispconfig_access_log_2008_10_28 and so on

    Without that, I run very fast to low disk space becasue they are 300MB each

    Thanks, any hint appreciated.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You can use the tar or zip commands. Take a look at
    Code:
    man tar
    and
    Code:
    man zip
     
  3. ADM

    ADM ISPConfig Developer ISPConfig Developer

    Falko, I know that my thread seems quite noob, but your reply is not useful.
    I think you can save your time instead of writing these things.

    It could be more useful to point wich script to look inside, where to add these commands, how to insert this into a cron job without wasting anything.

    Nevermind.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You did not say that you wanted to use this in a script, so I assumed that you want to do it manually.

    And I don't think I ask too much that if I invest a little bit of time to point you in the right direction, that you should invest a little bit of time as well to learn how to use zip or tar. I don't remember everything, that's why I pointed you to the man pages.

    Code:
    tar -pczf archive.tar.gz directory/
     

Share This Page