Does Plesk have a Recycle Bin in File Manager?

Follow

Comments

7 comments

  • Avatar
    Holger Schramm

    Be careful, because the trashbin has no retention time for deleting the files automatically. you have to this by hand.

    0
    Comment actions Permalink
  • Avatar
    Michael Neubert

    The recycle bin seems to be turned on by default now:

    So in case you suddenly run out of disk space on your server, this could be one "new" reason.

    0
    Comment actions Permalink
  • Avatar
    Glenn

    This feature really needs a retention time feature otherwise the server will just fill up.

    If I disable the trashbin in Panel.ini, will the files within trash also be removed?

    Thx
    G

    0
    Comment actions Permalink
  • Avatar
    Holger Schramm (Edited )

    Glenn: No. You have to delete the files manually.

    0
    Comment actions Permalink
  • Avatar
    Glenn

    Any plans to add plesk admin capability to limit how long files are kept in trashbin?

     

    0
    Comment actions Permalink
  • Avatar
    Julian Bonpland Mignaquy (Edited )

    Hi Glenn, the feature you are requesting is already in progress with ID PPP-54200. It will be most likely implemented in version 18.0.39. You can monitor this website https://docs.plesk.com/release-notes/obsidian/change-log/.

    As a workaround, this could be resolved with a cron job.

    1. Log into Plesk

    2. Go to Tools & Settings > Scheduled Tasks > Add Task

    3. In the Command field, put the full path to the script to be executed.
      # find /var/www/vhosts/* -maxdepth 1 -type d -name ".trash" | xargs -i find {} -type f -mtime +1 | xargs -i rm {}
    4. In the Run field, set the the task execution time.
    5. In the System user field, leave user as root or choose another system user to run the task
    0
    Comment actions Permalink
  • Avatar
    Glenn

    Awesome. Thanks for the update Julian.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request