Tarsnap Mastery: Online Backups for the Truly Paranoid (IT Mastery Book 6) by Michael W Lucas
Author:Michael W Lucas [Lucas, Michael W]
Language: eng
Format: epub
Tags: nonfiction
Publisher: Tilted Windmill Press
Published: 2015-03-02T06:00:00+00:00
include
Tarsnap defaults to letting you back up the entire system. The presence of an include option in tarsnap.conf reverses that default, so that you can only back up explicitly listed directories.
include /home
include /var/log
These two options, without any other include or exclude directives, tell tarsnap(1) that it can only back up files in these directories. If you attempt to back up a directory other than these, tarsnap runs but the results show that your new archive is practically empty.
# tarsnap -cf etc /etc
…
Total size Compressed size
All archives 192 MB 164 MB
(unique data) 190 MB 163 MB
This archive 1.4 kB 1.2 kB
New data 1.4 kB 1.2 kB
1.2 kB is far too small for a new archive, even with deduplication.
I deliberately did not put the trailing slash on the directories in the include statements. If I specified the trailing slash, I’d need to use the slash on the command line as well. I’m human, so I’m by definition forgetful and sloppy. I want Tarsnap to do the right thing even when I fail to be precise.
When you start with the include and exclude options, verify which files your backup captures by using the --dry-run and –v options before running an actual backup. A –v on the previous command would have shown that the archive contains nothing.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7772)
Filmora Efficient Editing by Alexander Zacharias(5859)
The Infinite Retina by Robert Scoble Irena Cronin(5334)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(4015)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3939)
Edit Like a Pro with iMovie by Regit(3466)
Linux Administration Best Practices by Scott Alan Miller(2864)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2840)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2528)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2438)
Docker on Windows by Stoneman Elton(2323)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2317)
Creative Projects for Rust Programmers by Carlo Milanesi(2283)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2115)
Hands-On Linux for Architects by Denis Salamanca(2056)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(2011)
Computers For Seniors For Dummies by Nancy C. Muir(2009)
The Old New Thing by Raymond Chen(1943)
Linux Kernel Debugging by Kaiwan N Billimoria(1768)
