How to change log rotation settings for all domains at once?

Follow

Comments

2 comments

  • Avatar
    Christopher Danks

    the windows log.zip does not work on Onyx 17.8

    a quick fix

     

    Replace the 3 top lines:

     

    @echo off
    set /p password="Please enter your Plesk administrator password: "


    "%plesk_dir%\MySQL\bin\mysql.exe" -uadmin -p%password% -P8306 psa -s -r -e "select name from domains" > domains.txt

     

    with these 2 lines:

     

    @echo off
    plesk db -s -r -e "select name from domains" > domains.txt

  • Avatar
    Denis Bykov

    @Christopher

    I verified the fix and added the updated script to the article. Thank you for your input.

Please sign in to leave a comment.

Have more questions? Submit a request