Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
How To Backup Ext2, Ext3, or Ext4 File Systems In Linux [Updated]

How To Backup Ext2, Ext3, or Ext4 File Systems In Linux [Updated]

Posted on March 9, 2022 By admin No Comments on How To Backup Ext2, Ext3, or Ext4 File Systems In Linux [Updated]

How to backup Ext2, Ext3, or Ext4 file systems in Linux

In this tutorial, we will show you the steps to take backup of Ext2, Ext3, or Ext4 file systems in Linux-based operating systems. You should be cautious while taking the backup of the Ext2, Ext3, or Ext4 file systems in Linux as the operating system that you are currently using is mounted on the file system on Linux which you won’t be able to copy in active mode. In this post, we will see how to backup Ext2, Ext3, or Ext4 file systems in Linux.

How To Backup Ext2, Ext3, or Ext4 File Systems In Linux [Updated]

We will be using a third-party tool to backup the file systems in Linux. The backup tool that we are going to use in this post is the Dump tool. it allows the users to backup the running Linux files system in another drive.  The Dump tool can backup, record, restore, and partial backup files on Linux.

Run the following command to install the dump tool in Ubuntu and its derivatives.

sudo apt-get install dump

Run the following command to install the dump tool in Red Hat and Fedora Linux

sudo yum install dump

Run the following command to install the dump tool in Arch Linux

sudo pacman -S dump

Run the following command to install the dump tool in SUSE Linux

sudo zypper install dump  

Dump command to backup Ext2, Ext3, or Ext4 file systems in Linux

sudo dump -0uf /my_backup_directoryname/sda1.dump /dev/sda1 ( This will the take backup of sda1)
sudo dump -0uf /my_backup_directoryname/sda2.dump /dev/sda2 (This will the take backup of sda2)
sudo dump -0uf /my_backup_directoryname/sda3.dump /dev/sda3 (This will the take backup of sda3)
udo dump -0f /my_backup_directoryname/boot.0 /boot ( This will take the backup of /boot file system on Linux ) 

Dump command to take the partial backup of File Systems

Command to take the partial backup of Linux file systems.

sudo dump -0f /my_backup_directoryname/configurations.dump /etc/default /etc/network

How To Restore the Linux File Systems From Backup

Run the following command to restore the file systems from the backup file.

sudo restore -xf /my_backup_directoryname/configurations.dump
READ More Relevant Stuff:  Useful Ubuntu Keyboard Shortcuts For Beginners
Linux Tags:backup, Linux backup

Post navigation

Previous Post: How To Compile And Install Kernel On Ubuntu [2023]
Next Post: Docker Stop Container Commands [Examples]

Related Posts

Linux Kernel 5.13 Released Linux Kernel 5.13 Released Linux
How To Add Swap Space On CentOS 8 CentOS Linux 8.3 Released Linux
How To Upgrade To Linux Mint 20.2 | Easy Method How To Upgrade To Linux Mint 20.2 | Easy Method Linux
How To Fix “Failed to mount ‘/dev/sdax’: Input/output error, NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware” Fix “Failed to mount ‘/dev/sdax’: Input/output error, NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware” Fix
Fedora Linux 36 Beta Released Fedora Linux 36 Beta Released Linux
Install Nagios Monitoring Tool On RHEL 8 Install Nagios Monitoring Tool On RHEL 8 Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023
  • Linux Wget Examples September 27, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Responsible Sourcing Data Scientist and Project Manager

    • Eden Prairie, MN (Remote)
    • Solventum
    • Full Time
  • Customs Entry Writer (Queens)

    • Queens, NY
    • CEVA Logistics
    • Part Time
  • Grants Writer (Los Angeles)

    • Los Angeles, CA
    • LHH
    • Part Time
  • Grants Writer (Los Angeles)

    • Los Angeles, CA
    • LHH
    • Part Time
  • Customs Brokerage Entry Writer (Houston)

    • Houston, TX
    • Total Quality Logistics
    • Part Time
  • User Experience Writer (San Antonio)

    • San Antonio, TX
    • Brooksource
    • Part Time
  • User Experience Writer (Phoenix)

    • Phoenix, AZ
    • Brooksource
    • Part Time
  • Contract Writer (Boca Raton)

    • Boca Raton, FL
    • Seneca Resources
    • Part Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme