Skip to main content

A turnkey game server with an integrated management panel.

Discover our game servers

Trash: restore a deleted file

On the YorkHost Panel, a file or folder deleted from the file manager isn't erased straight away: it goes to the trash, from where you can restore it.

How it works​

  • Items deleted from the Files tab are kept in the trash for 7 days, then deleted permanently
  • The trash doesn't count towards your server's disk space. Its size is limited (the limit is shown under Space used): once the limit is reached, the oldest items are deleted to make room, and a file larger than the limit can't go to the trash
  • When you delete something, the confirmation window reminds you that the items will go to the trash. Tick Delete permanently, skipping the trash to erase them immediately
Permanent deletions

Only deletions made from the panel's file manager go through the trash. Files deleted over SFTP, through the console, by a game plugin or mod, or through the panel API (client API key) are deleted permanently.

Restore a file​

  1. Log in to the YorkHost Panel:
  2. Select your server
  3. Go to Management → Trash
  4. Find the item: the list shows its size, deletion date and expiry date
  5. Click Restore (or tick several items, then Restore selection)

The item goes back to its original location (parent folders are recreated if needed). If a file with the same name already exists there, the item is restored under another name, for example config (restored).yml. The restore is refused if the server's disk doesn't have enough room.

Delete permanently​

  • Delete on an item, or Delete selection for several items: permanent deletion, after confirmation
  • Empty trash: every item is deleted permanently

These actions cannot be undone.

Good to know
  • When the server is transferred to another machine, the trash is not transferred
  • Viewing the trash requires the permission to browse files, restoring requires the permission to create files, and deleting requires the permission to delete files (see Subusers)
  • The trash doesn't replace backups: before a risky operation, create a backup from Management → Backups