Dump from cron job, need to change tape

Mike Maltese mike at pcmedx.com
Mon Jul 21 12:29:42 PDT 2003


I've also looked into this (I have a DDS2 autoloader), but unfortunately
dump doesn't support multiple volumes.  Because my /, /usr and /var
partitions will fit on one tape, I use dump for those.  For everything else
(i.e. large file shares) I just use tar with the -M flag when doing a manual
backup.  This will cause tar to prompt for a new tape when it has reached
the end of the current tape.  This is the best solution I could come up
with, although it make incrementals a bit tough (see the -g flag under man
tar).  If my system disk crashes, I can be reasonably confident that I'll
have a working system after restoring those parts from a dump, and tar seems
to work fine for regular files.

----- Original Message ----- 
From: "Bob Collins" <bob at anything-inc.com>
To: <freebsd-questions at freebsd.org>
Sent: Monday, July 21, 2003 11:35 AM
Subject: Dump from cron job, need to change tape


> Sorry to repost, but wanted to post with a subject line.
>
> >I hope I am not asking a NewB question, but I read through dump and cron
> >and see no obvious way to run a nightly dump through cron AND allow user
> >intervention to change the tape.
> >
> >I am running a DDS2 tape drive and trying to backup around 12GB. The tape
> >runs to the end, issues the end of tape, and then dump fails. I would
like
> >to be able to change the tape and get a backup.
> >
> >Do I need to use some other software, or am I missing a switch or
> >something somewhere?
> >
> >TIA
> >Bob
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list