Create system backup without user data?

Is it possible to create a system backup that does not include user data or certain folders?