RE: need method of backing up files

2002-11-18 Thread Paul Furness
I don't know of a way to make it put the machine name at the beginning of each line. As a partial solution, you could put the machine name into the log file before the copy: echo ${machinename} >> $log cp --preserve . and so on. I tend to put a lot of date stamps in log files as well as

RE: need method of backing up files

2002-11-08 Thread Paul Kraus
How can I add the machine name to the output. For instance... This command writes to the log file that a file is in use and was not backed up. cp --preserve --recursive --update "$source"/* $dest 2>> $log So if I have a variable called $machine and it equals the workstations name how can I have i

RE: need method of backing up files

2002-11-08 Thread Paul Furness
Yup, that should work nicely. Couple of things you might want to add to it (or you may not, of course :) - see below On Fri, 2002-11-08 at 14:35, Paul Kraus wrote: > > Example: scriptname someuser somepassword computername computershare > pathwithinshare locationofpst > > > Let me know if you

Re: need method of backing up files

2002-11-08 Thread Mr. James W. Laferriere
Hello Shaggy , Look at rsync , works beautifully for me . JimL http://rsync.samba.org/index.html On Fri, 8 Nov 2002, Shaggy Im-erbtham wrote: > I use Slackware 7.0 with upgraded 2.4.18 kernel in a box which serves > as file server to 5 win9x clients. > > Is there a method to pe

RE: need method of backing up files

2002-11-08 Thread Paul Kraus
="Backup for machine $workstation FAILED!" mutt -a $log -s "$subj" $externalmail -c $localmail < $msg fi -Original Message- From: [EMAIL PROTECTED] [mailto:linux-newbie-owner@;vger.kernel.org] On Behalf Of Paul Furness Sent: Friday, November 08,

Re: need method of backing up files

2002-11-08 Thread Paul Furness
Well, there are so many ways of doing this that it's difficult to know where to start! There are two parts to what you want to do: scheduling when the backup happens and doing the actual backup. The scheduling is easy - use cron. man crontab will get you started on that. One thing to be aware of

need method of backing up files

2002-11-08 Thread Shaggy Im-erbtham
I use Slackware 7.0 with upgraded 2.4.18 kernel in a box which serves as file server to 5 win9x clients. Is there a method to perform incremental back-ups for every user, for every day of the week. Eg. /home/peter /home/paul /home/mary to be backed up everyday into day-of-the-week