[CLUE-Tech] tape backups
Randy Arabie
rrarabie at arabie.org
Wed Aug 14 14:18:27 MDT 2002
On Wed, 14 Aug 2002, Jim Ockers wrote:
> To write the contents of the root filesystem to a tape:
>
> tar -cvf /dev/st0 /
>
> To read the contents of the tape back to the root directory:
>
> cd / ; tar -xvf /dev/st0
>
> This is about as good as it gets, in my opinion. Anything fancier is
> just fluff. :)
>
> FWIW, I think cpio (if you know how to use it) has better error-recovery
> than tar. However I've been using tar for ~10 years now and I've never
> had a problem, and I've done dozens of file or system restores and
> several bare-metal system recovery/restores as well.
WRT scheduling your backups...put your tar commands in an executible shell
script and schedule it with cron.
--
Cheerio!
Randy
More information about the clue-tech
mailing list