XFS and btrfs filesystem
Whilst reading the lesson on the above, the following questions/observations came to mind:
1. what's the difference between a snapshot and a backup -- or are the terms interchangeable; my understanding is that the former is a lot quicker to complete, so if they are different, can I do a snapshot and just use it as my backup?
2. are the commands xfsdump and xfsrestore snapshot-related commands? The man page describes them as "incremental" which implies the snapshot process...
In terms of readability, the warning text on the btrfs page reads:
btrfs was removed... it is not recommended to use an important filesystem...
I think that should either read:
...it is not recommended to use an imported filesystem...
or
...it is not recommended to use as an important filesystem...
Thoughts, anyone?
Comments
-
The expression "snapshot" means something you can easily revert to, reset the system to. A "backup" does not have this property although it will have all the data to do so, and some forms of backup are indeed images that can be dropped in just like a snapshot. But they are not logically the same.
xfsdump and xfsrestore are, I believe, commands to restore backups, not snapshots, and the restore has a lot of options about what can be deleted, ignored etc. I've never used the commands and the man pages are not crystal clear

Yes the word "as" is missing (your second choice) (use as an important filesystem)
1 -
This has been updated in the course. Thank you for flagging it.
1 -
Re 1.
- in my understanding (as a btrfs user), a snapshot shares the physical media of the original (and may to a large extend even overlap with the original), a backup is separate (either just duplicated on the same physical media, or on remote media).
- so a snapshot is purely logical (not guaranteed to have any separate space in the physical world), while a backup is physical (guaranteed to occupy a different space in the physical world - even if it is only a separate portion of the physical carrier).
0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 16 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 42 Cloud & Containers Training
- 6 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 774 Linux Distributions
- 82 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 173 Mobile Computing
- 32 Android
- 126 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 311 Kernel Development
- 728 Software Development
- 1K Software
- 420 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)

