Tools
Built-in utilities for checking files, networks and websites: what they can do and where they fall short.
Eberprot P / guides
The first guide in this section covers 3-2-1 backups with integrity checks. The result: three copies of your important files on different drives, and a way to confirm in a minute that a copy is readable and unchanged.
Linux commands were tested by our editors on Ubuntu 24.04.5 LTS (bash 5.2, GNU coreutils 9.4, GNU tar 1.35). Windows and macOS commands are based on documentation and were not tested.
Three copies of your data (the working copy and two backups), on two different types of storage, with one of them kept somewhere else. The rule protects against drive failure, accidental deletion, theft and fire: a single event is unlikely to destroy all three copies at once.
Checking one folder is easier than checking dozens of scattered ones. In this example, the folder is called src.
Don't copy the entire system drive: it takes a long time, and restoring a single file from it is harder.
A SHA-256 checksum is a "fingerprint" of a file's contents. Save the checksums to a file alongside the data.
sha256sum src/notes.txt > SHA256SUMSGet-FileHash .\src\notes.txt -Algorithm SHA256shasum -a 256 src/notes.txt > SHA256SUMSFor multiple files on Linux: find src -type f -exec sha256sum {} + > SHA256SUMS
Copy the folder, preserving timestamps and permissions. Adding the date to the copy's name is handy.
cp -a src /media/backup/copy-$(date +%F)tar -czf /media/backup/archive.tar.gz srcThe path /media/backup is just an example: use your drive's mount point instead.
Cloud storage or a drive kept away from home. If the data is sensitive, encrypt the archive before sending it.
Check that cloud sync won't automatically delete the copy when the original is deleted.
Run the check on the drive holding the copy. OK means the file matches the original; FAILED means it has been changed or corrupted.
sha256sum -c SHA256SUMSsrc/notes.txt: OKWe deliberately modified the file after calculating its checksum: the command printed "src/notes.txt: FAILED" and exited with code 1.
A backup is only useful if you can restore data from it. Every few months, extract the archive to a temporary folder and open a couple of files.
tar -tzf /media/backup/archive.tar.gzsrc/
src/notes.txtA checksum confirms that a file hasn't changed since the checksum was calculated, but it doesn't tell you the original file was intact. If the original was already corrupted, the copy will be corrupted in exactly the same way.
This section will feature articles written for English-speaking readers around the world. They are independent publications created for this audience, not translations of articles from other language versions of the site.
A neutral comparison of GTA 6 player assistance options, from guides and co-op help to paid boosting, with the risks and checks to consider before launch.
How dungeons and raids fit Aion 2’s progression loop after the global launch: solo vs group content, preparation, limits and paid help.
An editorial overview of Diablo IV gold: how it works, why third-party prices vary, which learning resources help, and the terms-of-service risks of trading.
A framework for Call of Duty multiplayer progression and loadout planning, comparing self-directed play with optional help and what to check first.
Software and service interfaces change. We list the versions we tested commands on; on other versions the steps may differ.