Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [opensuse] backup question to y'all
  • From: Chris Maaskant <gch@xxxxxxxxxxx>
  • Date: Wed, 12 Apr 2006 18:46:03 +0200
  • Message-id: <1144860363.6982.5.camel@xxxxxxxxxxx>
Op wo, 12-04-2006 te 10:13 +1000, schreef scsijon:
> please
> would you be willing to share the total script

Sure, it's realy a simple script :-)

#!/bin/bash
mount /backup
rsync -avptgoHq --delete-excluded '/home/chris' '/etc' '/boot'
'/usr/local' '/opt' /backup
umount /backup
mandb
updatedb
shutdown -h now
done

You can leave out the mandb and updatedb offcourse, by default cron does
that for you but i disabled it and do it myself (i dont like it when the
system starts doing things when i don't expect it to)

Chris Maaskant.


< Previous Next >
Follow Ups