Hello Colin, Monday, 25 February 2002, you wrote:
CM> At 10:21 20/02/02 +0000, Gavin McCord wrote: >>On Wed, Feb 20, 2002 at 02:57:04AM -0000, Ben McCosh wrote: >>> Can anyone recommend any backup scripts / software for slackware 8 >>> >>> Secondly how do I stop in.pop3d logging every access /var/log/messages? >>> >>> Thanks in advance all >>> >>> Ben >> >>1) man tar CM> You're getting mean in your old age Gavin ;) CM> Here's something to get you started Ben (obviously you might want to edit CM> the destination unless you happen to be using a tape drive at /dev/tape): CM> #!/bin/sh CM> # CM> # bkup - a script to backup entire system (except for listed files) CM> # to /dev/tape CM> # C.McKinnon 30/6/98 CM> tar -czf /dev/tape --exclude-from /etc/nobackup / 2>bkup.err CM> sleep 120 CM> # eject the tape CM> mt offline CM> Another fave way of setting up the backups is to use 'find' to generate a CM> list of the stuff you want e.g. mtime > last_backup_log (I'm guessing here): CM> find / -newer bkup.err.last | tar -cvzf /dev/tape --files-from -- 2>bkup.err CM> mv bkup.err bkup.err.last You can also use dump to do this I believe. If you want something graphical then try the free version of Arkeia (www.arkeia.com) Mark -------------------------------------------------------------------- http://www.lug.org.uk http://www.linuxportal.co.uk http://www.linuxjob.co.uk http://www.linuxshop.co.uk --------------------------------------------------------------------
