Ricerca

Questo contenuto non è disponibile nella lingua selezionata.

4.4. Backing Up and Restoring the luci Configuration

download PDF
You can use the following procedure to make a backup of the luci database, which is stored in the /var/lib/luci/var/Data.fs file. This is not the cluster configuration itself, which is stored in the cluster.conf file. Instead, it contains the list of users and clusters and related properties that luci maintains.
  1. Execute service luci stop.
  2. Execute luci_admin backup [backup_xml_file_path].
    Specifying the backup_xml_file_path is optional. If you do not specify a file path, the backup file will be written to /var/lib/luci/var/luci_backup.xml.
  3. Execute service luci start.
Use the following procedure to restore a luci database.
  1. Execute service luci stop.
  2. Execute luci_admin restore -r backup_xml_file_path.
    If you do not specify a backup path argument, the command uses /var/lib/luci/var/luci_backup.xml.
    Specifying the -r option indicates that you will replace all configuration with the configuration specified in the backup file. If you do not specify this option, the default behavior (which you can also specify with the -u) is to merge any additional configuration information from the XML backup into the current database.
  3. Execute service luci start.
Red Hat logoGithubRedditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.