<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Backup on Benjamin Italiaander</title><link>https://tlnd.org/topic/backup/</link><description>Recent content in Backup on Benjamin Italiaander</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 28 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tlnd.org/topic/backup/index.xml" rel="self" type="application/rss+xml"/><item><title>Backups with BorgBackup</title><link>https://tlnd.org/Linux/backup/borg_backup/</link><pubDate>Sat, 28 Nov 2026 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/backup/borg_backup/</guid><description>&lt;h1 id="-backups-with-borgbackup"&gt;🗄️ Backups with BorgBackup&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://www.borgbackup.org/" class="external-link" target="_blank" rel="noopener"&gt;BorgBackup&lt;/a&gt; (borg) is, like &lt;a href="https://tlnd.org/Linux/backup/restic_desktop_backups/"&gt;restic&lt;/a&gt;, a backup program that &lt;strong&gt;encrypts&lt;/strong&gt; everything and stores every piece of data only once (&lt;strong&gt;deduplication&lt;/strong&gt;). After the first backup, a new one only adds what changed, so you can keep a snapshot of every day for years without filling the disk.&lt;/p&gt;
&lt;p&gt;I use borg especially for backups to my &lt;strong&gt;own server&lt;/strong&gt; over SSH: borg on the server side makes it fast, and the server can be locked down so that it can only receive backups.&lt;/p&gt;</description></item><item><title>Desktop Backups with restic (and the 3-2-1 Rule)</title><link>https://tlnd.org/Linux/backup/restic_desktop_backups/</link><pubDate>Sat, 28 Nov 2026 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/backup/restic_desktop_backups/</guid><description>&lt;h1 id="-desktop-backups-with-restic"&gt;💾 Desktop backups with restic&lt;/h1&gt;
&lt;p&gt;For servers I use &lt;a href="https://tlnd.org/Linux/backup/tape/bearos-start-point/"&gt;Bareos and tape&lt;/a&gt;. For my own laptop that is far too much: there I use &lt;strong&gt;&lt;a href="https://restic.net/" class="external-link" target="_blank" rel="noopener"&gt;restic&lt;/a&gt;&lt;/strong&gt;. It is one program, it encrypts everything, and it only stores what changed, so a daily backup takes seconds.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="the-3-2-1-rule"&gt;The 3-2-1 rule&lt;/h2&gt;
&lt;p&gt;A backup is only a backup if it survives the disaster:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;th&gt;Rule&lt;/th&gt;
 &lt;th&gt;Example&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;3&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;three copies of your data&lt;/td&gt;
 &lt;td&gt;the original + two backups&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;on two different media&lt;/td&gt;
 &lt;td&gt;laptop SSD + USB disk&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;one copy somewhere else&lt;/td&gt;
 &lt;td&gt;a server, a cloud bucket, or a disk at a friend&amp;rsquo;s house&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;And the hidden fourth rule: &lt;strong&gt;test your restores&lt;/strong&gt;. A backup you have never restored is a hope, not a backup.&lt;/p&gt;</description></item><item><title>First Tape Commands in Linux</title><link>https://tlnd.org/Linux/backup/tape/first-tape-commands-in-linux/</link><pubDate>Wed, 11 May 2016 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/backup/tape/first-tape-commands-in-linux/</guid><description>&lt;h1 id="manage-tape-autoloaders-drives-and-libraries-from-the-unixlinux-cli"&gt;Manage tape autoloaders, drives and libraries from the Unix/Linux CLI&lt;/h1&gt;
&lt;p&gt;The first step in managing tapes in Linux is using the &lt;code&gt;mt&lt;/code&gt; and &lt;code&gt;mtx&lt;/code&gt; commands.&lt;/p&gt;
&lt;p&gt;Tools used in this article:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;lsscsi (list SCSI devices (or hosts), list NVMe devices)&lt;/li&gt;
&lt;li&gt;mt (control magnetic tape drive operation, from the mt-st package): controls the tape drive, such as tape movement, ejection and drive settings.&lt;/li&gt;
&lt;li&gt;mtx (control SCSI media changer devices): controls tape libraries (moving cartridges from slots to drives, etc.)&lt;/li&gt;
&lt;li&gt;tar (an archiving utility)&lt;/li&gt;
&lt;li&gt;ltfs (Linear Tape File System)&lt;/li&gt;
&lt;li&gt;sg3-utils (The sg3_utils package contains utilities that send SCSI commands to devices)&lt;/li&gt;
&lt;li&gt;dd (convert and copy a file)&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="warning-the-first-time-you-load-an-lto-9-tape-it-starts-a-calibration-that-can-take-up-to-2-hours"&gt;Warning! The first time you load an LTO-9 tape, it starts a calibration that can take up to 2 hours&lt;/h2&gt;
&lt;p&gt;When LTO-9 media is first loaded into an LTO-9 drive, the drive automatically initiates tape calibration, which includes initialization and characterization of the cartridge.&lt;/p&gt;</description></item><item><title>Bareos: Getting Started</title><link>https://tlnd.org/Linux/backup/tape/bearos-start-point/</link><pubDate>Thu, 28 Jan 2016 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/backup/tape/bearos-start-point/</guid><description>&lt;h1 id="the-basics-of-bareos"&gt;The basics of Bareos&lt;/h1&gt;
&lt;h2 id="main-components-of-bareos"&gt;Main components of Bareos&lt;/h2&gt;
&lt;p&gt;Bareos is made up of the following major components or services:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#bareos-director-service"&gt;Bareos Director Service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#console-service"&gt;Console Service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#bareos-file-daemon"&gt;Bareos File Daemon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#bareos-storage-daemon"&gt;Bareos Storage Daemon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#bareos-monitor-service"&gt;Bareos Monitor Service&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="bareos-director-service"&gt;Bareos Director Service&lt;/h3&gt;
&lt;p&gt;The Director is the central control program for all the other daemons. It schedules and supervises all the backup, restore, verify and archive operations. The system administrator uses the Bareos Director to schedule backups and to recover files. The Director runs as a daemon (or service) in the background.&lt;/p&gt;</description></item></channel></rss>