[SunHELP] Backupss, how to organize?

Will Mc Donald sunhelp at sunhelp.org
Thu Apr 12 05:38:24 CDT 2001


Unless you want to use a commercial product...

man ufsdump
(and ufsrestore)

You can specify incremental or differential backups through the use of
different dump levels. i.e. a level 0 (zero) is everything, a level 1 is
everything since the last level 0. So for instance for incremental through
the week do...

Su - level 0
M - 1
T - 2
W - 3
Th - 4
F - 5

etc.

For Differential...

Su - level 0
M - 5
Tu - 4
W - 3
Th - 2
F - 1


As to the state your file systems are in when dumping, I think there was a
thread on this either on here or the Geeks list. If you want to verify your
backups, ufsdump will compare the contents of the tape to what's on the
disk.

If your disks are mirrored you can offline one half, dump it in a quiescent
state with a verify since nothing's changing and the online and re-sync it.
I think your other options were single user mode or boot off cdrom.

Here we use a combination of techniques. For most of our regular Solaris
backups we use Legatto (sp?), for one-off backups we'll offline half a
mirror and dump it, if that one-off needs restoring we'll boot the other
machine off cdrom. As with most things it's horses for courses. For less
vital linux boxes we just dump them without a verify. (As an aside if anyone
has lots of linux boxes, I managed to get something like a 6-fold increase
in the speed of our linux dumps using the latest versions of dump and rmt.)

For more info have a browse round the web, there's...

www.backupcentral.com

There's probably some links on Sunhelp.org and advice in the Administration
FAQ, and there's always the O'Reily book, UNIX Backup and Recovery which
covers the subject in detail and includes DB backups as well.

HTH.

Will.


----- Original Message -----
From: "Maarten Deen" <mdeen at xs4all.nl>
To: <sunhelp at sunhelp.org>
Sent: Thursday, April 12, 2001 11:11 AM
Subject: [SunHELP] Backupss, how to organize?


> Hi,
>
> now that I seem to get more and more data, I'm looking to use some kind
> of backup strategy on my suns.
> Two questions are really bugging me:
> - how to do an incremental backup? In MS-DOS I'm used to reset the archive
>   bit so I can see what I need to backup for the next incremental. How do
>   you handle this in SunOS/Solaris?
> - how do you backup filesystems that are larger that the tapesize? If you
>   tar,  does it prompt for a second tape?
> Or should I use cpio or something else for backups?
>
> Any good pointers?
>
> Cheers,
>
> Maarten
> --
> God's Final Message to His Creation:
> We Apologise for the Inconvenience
> (Douglas Adams)
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp




More information about the SunHELP mailing list