Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Backup strategy
- Date: Fri, 07 Jul 2006 13:27:44 +0900
- From: David Riggs <dariggs@example.com>
- Subject: [tlug] Backup strategy
- References: <mailman.62.1152189854.2473.tlug@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2
In response to recent comments to Joe, I though I would suggest a bare bones simple backup strategy that I have been following using nothing but the below two tar commands (which I have in my ~/bin directory). For personal use to back up ones own data, it seems to me quite adequate and can hardly be simpler, always a virture, I think.Once in a great while I make a CD of all my user data, and once a week back up everything that has changed since then to my flash memory card in the pci slot. (excluding the Trash dir of KDE and other things useless files with the --exclude's)So every Monday I run "backall todays.date" #!/bin/bash tar czvf "/flash/$1" --newer-mtime=2005/03/09 --exclude='*.Trash*' \ --exclude='/xp/archive*' --exclude='*~' --exclude='*#' /xpThen every day I run the below which backs up (in a second or two) everything changed since Monday: "daily tues" changing the argument to whatever day of the week it is. This avoids having a pile of old daily backups since it just overwrites last week's.#!/bin/bash echo "backing up to filename /flash/$1" tar czf /flash/$1 -N 'last mon' --exclude='*.Trash*' --exclude='*#' \ --exclude='/xp/archive.unchanging.data/*' --exclude='*~' /xpMany things could of course be done to grab the date automatically and all, but I kind of like forcing myself to think for half a second.David Riggs, Kyoto
Home | Main Index | Thread Index
- Prev by Date: [tlug] X Windows and Virtual Consoles
- Next by Date: Re: [tlug] Remote Backups and Command Line Stuff
- Previous by thread: [tlug] A little more on CentOS
- Next by thread: [tlug] GTK2: Displaying Japanese font names in Romaji
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links