Saltar para o conteúdo principal
Versão: v18

Visão Geral

The Maintenance and Security Center (MSC) window contains all the tools needed for verification, analysis, maintenance, backup, compacting, and encrypting of data files. The MSC window is available in all 4D applications: 4D single user, 4D Server or 4D Desktop.

Note: The MSC window is not available from a 4D remote connection.

Existem várias maneiras de abrir a janela do CSM. The way it is accessed also determines the way the database is opened: in “maintenance” mode or “standard” mode. In maintenance mode, the database is not opened by 4D, only its reference is provided to the MSC. No modo standard, a base de dados é aberta por 4D.

Acesso no modo de manutenção

In maintenance mode, only the MSC window is displayed (the database is not opened by the 4D application). This means that databases that are too damaged to be opened in standard mode by 4D can nevertheless be accessed. Moreover, certain operations (compacting, repair, and so on) require the database to be opened in maintenance mode (see Feature availability).

É possível abrir o CSM em modo de manutenção a partir de dois locais:

  • From the standard database opening dialog box The standard Open database dialog includes the Maintenance Security Center option from the menu associated with the Open button:
  • Menu Ajuda/Centro de segurança e de manutenção ou botão CSM da barra de ferramentas (banco de dados não aberto)
    Quando chamar esta função, aparece uma caixa de diálogo padrão Abrir ficheiro para que possa indicar o banco de dados a ser examinado. A base de dados não será aberta por 4D.

Acesso ao modo padrão

No modo standard, está aberta uma base de dados. Neste modo, algumas funções de manutenção não estão disponíveis. Existem várias possibilidades de acesso à janela do CSM:

  • Use the Help/Maintenance Security Center menu or the MSC button in the 4D toolbar:

  • Use the “msc” standard action that it is possible to associated with a menu command or a form object (see "Standard actions" section).

  • Utilizar o comando OPEN SECURITY CENTER.

Disponibilidade de funcionalidades

Certas funções do CSM não estão disponíveis dependendo do modo de abertura do CSM:

  • Backup function is only available when the database is open (the MSC must have been opened in standard mode).
  • Data compacting, rollback, restore, repair, and encryption functions can only be used with data files that are not open (the MSC must have been opened in maintenance mode). If these functions are tried while the database is open in standard mode, a dialog warns you that it implies that the application be closed and restarted in maintenance mode.
  • In encrypted databases, access to encrypted data or to the .journal file requires that a valid encryption data key be provided (see Encrypt page). Caso contrário, os dados encriptados não são visíveis.