Is the workspaces' customization saved in custom app or in database backup?

Depends. If you’ve done the customization through the backend, it’s stored in the database.