---
name: "evms_metadata_backup"
section: "8"
platform: "linux"
package: "evms"
version: "2.5.5-18"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/evms_metadata_backup"
---

# evms\_metadata\_backup(8)

Backup the metadata used to create EVMS objects, containers, and volumes.

## NAME

evms\_metadata\_backup - Backup the metadata used to create EVMS objects, containers, and volumes.

## SYNOPSIS

evms\_metadata\_backup \[options\] \[directory\]

```
options:
  [-d debug_level, --debug-level debug_level]
    debug_level = [0-9] |
		      [critical | serious | error | warning | default |
 		       details | entry_exit | debug | extra | everything]
  [-l log_file_name, --log-file log_file_name]
  [-n node_name, --node-name node_name]
  [-q, --quiet] quiet mode
  [-v, --verbose] verbose mode
  [-h | -? | --help] display this help
directory:
  Directory in which to save the metadata backup file
```

## DESCRIPTION

Use the **evms\_metadata\_backup** utility to save a copy of all the metadata that are used to build the segments (partitions), regions, containers (groups), and volumes in the system. The metadata are saved in a file named "evms-metadata-yyyy-mm-dd-hh.mm.ss", where "yyyy-mm-dd-hh.mm.ss" is the time of the backup.

## OPTIONS

The following options can be used with **evms\_metadata\_backup**:

- \-d, --debug-level debug\_level

  Specify the amount of information that should be written to the log file. A numerical value between 0 and 9 can be specified, where a larger number generates more logging information. The following text values are also allowed:

  ```
  critical
  serious
  error
  warning
  default
  details
  entry_exit
  debug
  extra
  everything
  ```

  "Critical" generates the least information and "everything" generates the most information. The default debug level is "default" or "5."

- \-l, --log-file log\_file\_name

  Specify the location of the log file. The default value is */var/log/evms-engine.log*.

- \-n, --node-name node\_name

  Specify the node in the cluster on which the backup should be performed. The default value is the local node. If EVMS is not running in a cluster, this option is ignored.

- \-q, --quiet

  Display only error messages.

- \-v, --verbose

  Display verbose status information about the progress of the backup.

- \-h, -?, --help

  Display a summary of the options available for **evms\_metadata\_backup**.

## PARAMETERS

- directory

  Save the metadata backup file in this directory. The default directory is */var/evms/metadata-backups/*. The directory can also be set with the "metadata\_backup\_dir" variable in the "engine" section of */etc/evms.conf*.

## SEE ALSO

[**evms\_metadata\_restore**(8)](/evms_metadata_restore/8.md), [**evms**(8)](/evms/8.md), http://evms.sourceforge.net/

## AUTHOR

Steve Dobbelstein
