Forrest logo
tool overview
On this page you find all important commands for the CLI tool e2image. If the command you are looking for is missing please ask our AI.

e2image

e2image is a command-line tool used in Linux systems for creating an image of an ext2/ext3/ext4 file system.

  1. It is generally used to take a snapshot or backup of an entire file system onto a separate storage device or file.
  2. e2image can create images of both mounted and unmounted file systems.
  3. It is a part of the e2fsprogs package, which is a collection of file system utilities for ext2, ext3, and ext4 file systems.
  4. This tool helps in preserving the file system's structure, including directory hierarchy, file permissions, and attributes.
  5. When creating an image, e2image captures the meta-data and file data structures, making it easier to restore the file system later.
  6. The image created by e2image is stored in a regular file, which can be compressed to save disk space.
  7. It supports both incremental and differential backups, allowing for efficient storage utilization.
  8. e2image is capable of handling large file systems efficiently, ensuring data integrity during the backup process.
  9. It provides options to specify the path and name of the image file, as well as the compression level to be used.
  10. e2image is a powerful tool for system administrators and users who want to backup or migrate their ext2/ext3/ext4 file systems easily and reliably.

List of commands for e2image:

  • e2image:tldr:3289d e2image: Restore the filesystem metadata back to the device.
    $ e2image -I ${-dev-sdXN} ${path-to-image_file}
    try on your machine
    explain this command
  • e2image:tldr:54530 e2image: Create a QCOW2 image file instead of a normal or raw image file.
    $ e2image -Q ${-dev-sdXN} ${path-to-image_file}
    try on your machine
    explain this command
  • e2image:tldr:8689c e2image: Write metadata located on device to a specific file.
    $ e2image ${-dev-sdXN} ${path-to-image_file}
    try on your machine
    explain this command
  • e2image:tldr:fc56c e2image: Create a large raw sparse file with metadata at proper offsets.
    $ e2image -r ${-dev-sdXN} ${path-to-image_file}
    try on your machine
    explain this command
  • e2image:tldr:fc77d e2image: Print metadata located on device to `stdout`.
    $ e2image ${-dev-sdXN} -
    try on your machine
    explain this command
tool overview