LuckyBX Русский
Sites

Disable a site

luckybx site del shop.example.com

Files, settings and a database dump move to the trash. Nothing is deleted right away. The command asks for confirmation first.

In the menu it is the last item of the site menu. There you can choose whether to disable the site or delete it completely.

Disable or delete a site
Disable or delete a site

Delete completely#

luckybx site del shop.example.com --purge

The site is deleted without a copy: files, database, backups on this server and the certificate. To avoid deleting it by accident, the command asks you to type the site name. Copies sent to another server or a cloud stay there.

Such a site cannot be brought back. If in doubt, disable it: the trash can be emptied later.

Trash#

See it:

luckybx site trash

Delete for good what has been there longer than 30 days:

luckybx site trash clean 30

Without a number the command deletes everything from the trash.

Emptying the trash cannot be undone.