[Bio-linux-dev] bio-linux-backups

Tony Travis a.travis at abdn.ac.uk
Mon May 17 05:23:14 EDT 2010


On 17/05/10 09:32, Tim Booth wrote:
> Hi Tony,
>
> Yes, I changed the setup script to run 'mkfs.ext4' instead of
> 'mkfs.ext3' as you suggested.  There's not much I can do about the
> standard behaviour of Dpkg in overwriting packaged files, but for the
> benefit of everyone on this list who may find it useful, here's how to
> protect your custom files with dpkg-divert:
>
> sudo dpkg-divert --divert /usr/bin/example.distrib --rename /usr/bin/example
>
> Now the .distrib file will be overwritten by any package updates, and
> you are free to put your own version into /usr/bin/example knowing that
> it is safe from any clobbering.

Hello, Tim.

Thanks for the tip - Didn't know about that, but a far simpler solution 
for me is simply to uninstall bio-linux-backups and anyone who follows 
your advice to use "backup2l" will have to do the same. I've restored my 
ETOH backup script on our NBX's. Your script does a level 0 dump on 
Sunday followed by a level 9 on Monday, which only provides two-days of 
redundancy to recover accidentally deleted or modified files. My simple 
'ETOH' extension to your backup script provides up to three months.

Bye,

   Tony.
-- 
Dr. A.J.Travis, University of Aberdeen, Rowett Institute of Nutrition
and Health, Greenburn Road, Bucksburn, Aberdeen AB21 9SB, Scotland, UK
tel +44(0)1224 712751, fax +44(0)1224 716687, http://www.rowett.ac.uk
mailto:a.travis at abdn.ac.uk, http://bioinformatics.rri.sari.ac.uk/~ajt



More information about the Bio-linux-devel mailing list