[SunHELP] networker backup Index compression

Les sunhelp at sunhelp.org
Sun Aug 26 12:21:07 CDT 2001


IIRC & that is questionable, you can just rename the existing file
(assume your networker directory is /networker)
your client directory would be /networker/clientname
and the database for that client's backups *and only that client*
will be /networker/clientname/db.
Copy the files from that directory to a save area, compress them,
remove the db directory and recreate the client with the nsrck -C command.
EX:
             mkdir /savedir/clientname
             copy -r /networker/clientname/db /savedir/clientname; ls -l
/savedir/clientname/db;ls -l /networker/clientname/db
make sure that your filesizes are they same, do a sum on them if you want to
be positive and then:

            rm -fr /networker/clientname/db; nsrck -C clientname;compress
(or gzip or whatever) /savedir/clientname/db/*

This will recreate the client indexes at minimum size containing no backup
history and then compress the old files.
IF you need to restore from the earlier backups, copy out the new current db
directory in the same way, copy the
compressed one back in and unzip it.
I've used this procedure many times and it works fine. Of course it is of no
use if you have recycled the volumes.
Obviously check the syntax, etc. from documentation and build a test client
and do this on a test basis before
you shoot yourself in the (foot?)

----- Original Message -----
From: <william.x.ng at verizon.com>
To: <sunhelp at sunhelp.org>
Sent: Thursday, August 23, 2001 1:50 PM
Subject: [SunHELP] networker backup



All,
Does anyone know how to compress the index file for networker backup? The
index file for client is so big. Does anyone have script or command to
compress it and make it smaller or limit to keep 1 month index?

Thanks
Will





More information about the SunHELP mailing list