Tag: backups
-
Backups: one quick file backup alias
When you have a file you need to edit and you have the foresight to think, “whoa, make a copy before I destroy…” you often copy hulk.txt to hulk.txt.old (that’s using the minimum of keystrokes: cp hul[tab][tab] hul[tab][tab].old[enter]. Well, a week later, what do you rename your next .old file? .old2? No time to put…
-
Backups: using tar and find
If you are familiar with zip files, they are the DOS version of tar files (tar = Tape Archive). The tar utility is totally intended for storing backups. A quick way to backup your home directory is: cd /home ; tar -cvf home-jed.tar ./jed You might see that command grab a whole lot of stuff…
-
Backups: outline
Here’s some basic programs and techniques I’ll be covering about backups. tar rsync find date how to write “now” using date how to find files newer than your last backup all this will be done in bash
-
Backups: Using rsync and find.
I’m doing a talk at Linuxfest Northwest on making Very Sexy Backup Scripts. This is because you are more empowered when you know your filesystem and a little bit of bash scripting on your sweet linux system. I’ll start with an out-of-order post showing rsync and find. If you don’t know [[WTF]] I’m talking about,…