[TriLUG] Linux tapes backups and Amanda

Andrew Perrin clists at perrin.socsci.unc.edu
Fri Apr 23 11:33:10 EDT 2004


Myself, I just use mt and tar:

#!/bin/sh

#Active files backup strategy:

LOG=/data/backups/`/bin/date -Idate`.log

echo 'Beginning backup on:' >> $LOG
/bin/date -Idate >> $LOG
mt -f /dev/nst0 erase >> $LOG
mt -f /dev/st0 status >> $LOG
echo '--%%--Backup joehill:/home:' >> $LOG
tar cvf /dev/nst0 -C /home  . >> $LOG
echo '--%%-- Backup nujoma:/home:' >> $LOG
tar cvf /dev/nst0 -C /nujoma/home  . >> $LOG
#(This is where it gets tricky...)
echo 'Backing up jacobi/cousins:' >> $LOG
echo '--%%--c:/' >> $LOG
tar cvf /dev/nst0 -C /mnt/cousins --no-recursion --exclude='*.lnk'  . >> $LOG
echo '--%%--All Users / Desktop:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Documents and Settings/All Users/Desktop' --no-recursion --exclude='*.lnk'  . >> $LOG
echo '--%%--Andrew Perrin / Desktop:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Documents and Settings/Andrew Perrin/My Documents' --exclude='*.lnk'  . >> $LOG
echo '--%%--DandS/eperrin:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Documents and Settings/eperrin' --no-recursion --exclude='*.lnk'  . >> $LOG
echo '--%%--DandS/eperrin/Desktop:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Documents and Settings/eperrin/Desktop' --no-recursion --exclude='*.lnk'  . >> $LOG
echo '--%%--DandS/eperrin/Mail:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Documents and Settings/eperrin/Mail' --exclude='*.lnk'  . >> $LOG
echo '--%%--DandS/eperrin/My Documents:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Documents and Settings/eperrin/My Documents' --exclude='*.lnk'  . >> $LOG
echo '--%%--Palm/eperri:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Palm/eperri' --exclude='*.lnk'  . >> $LOG
echo '--%%--eliana_perrin/Mail:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/Program Files/Netscape/Users/eliana_perrin/Mail' --exclude='*.lnk'  . >> $LOG
echo '--%%--nhanes:' . >> $LOG
tar cvf /dev/nst0 -C '/mnt/cousins/nhanes' --exclude='*.lnk'  . >> $LOG




----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu


On Fri, 23 Apr 2004, Turnpike Man wrote:

> I would LOVE *LOVE* to see this discussed.  I have an old SCSI DDS2 drive which
> I would like to learn how to use... as some of you know... I'm experiencing a
> possible HD funeral as I type.  I have most of my stuff rsync'd, but didn't
> quite get everything.  *sigh*  So tape backup on top of rsync and I'm sure to
> have 100%, 100% of the time when it comes to backups.
>
> Don't let your faith in a particular HD manufacturer ease your mind regarding
> your data... backup backup backup!
>
> laters,
> David M.
>
>
> --- Jeremy Portzer <jeremyp at pobox.com> wrote:
> > Hello,
> >
> > Is there anyone on this list who is an Amanda user, or user of other
> > Free/OSS software for tape backups on Linux?
> >
> > If you are interested in giving a 15-20 minute demonstration/talk/etc.
> > of tape backups and Amanda at the next TriLUG meeting, please contact me
> > off-list.  Our next meeting will be on Linux Backup Strategies, and we
> > have speakers lined up for other backup strategies such as network
> > backups, disk imaging, etc, but I'm looking for someone to talk about
> > Amanda (and basic tar/mt commands too).
> >
> > Thanks,
> > Jeremy
> > --
> > /---------------------------------------------------------------------\
> > | Jeremy Portzer        jeremyp at pobox.com      trilug.org/~jeremy     |
> > | GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
> > \---------------------------------------------------------------------/
> >
>
> > ATTACHMENT part 1.2 application/pgp-signature name=signature.asc
> > --
> > TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25¢
> http://photos.yahoo.com/ph/print_splash
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>



More information about the TriLUG mailing list