Multiple configs and rotation.schedule corruption?
"Tristan Rhodes" <[email protected]> Thu, 09 Sep 2004 13:48:16 -0600
| Newsgroups | gmane.comp.sysutils.backup.sarab |
|---|---|
| Message-ID | <[email protected]> |
Joseph, >As far as I can recall, I only used vim to edit it. But I suppose it may >have had some corruption in it from somewhere?? I will start new and see >if >it works. Will be easy with multiple configs :) Let me know what you find out, I would like to solve the problem. Also, does the new version do what you would like regarding multiple backups? I was thinking that you could create a directory for each backup (i.e. /etc/sarab/server2/) and create a custom sarab.dcf, sarab.conf, rotation.schedule in that directory. Then call sarab.sh with /etc/sarab/server2/sarab.conf to start that particular backup. >I am testing the latest release now. The only thing I notices was the >email >notification is missing the name of the Backup... ie "SaraB: Successful >backup for" is what I get. That's probably a bug I need to look into. >Do you think we could add a variable in the sarab.conf to name the backup? >This name could be used in the email subject for filtering purposes. If you are talking about the name of the Dar file, you can edit BASENAME. # Get the date and time with custom formating; used as the basename for the DAR file # For more information on the date command, type "man date" at the command prompt. BASENAME="$(date +'%m-%d-%Y_%H%M')" By default it formats the current date and time to name the Dar file. If you wanted, you could name it whatever you wanted. BASENAME="server2_$(date +'%m-%d-%Y_%H%M')" Is that what you were looking for? Tristan >-----Original Message----- >From: Tristan Rhodes [mailto:[email protected]] >Sent: Thursday, September 09, 2004 3:02 PM >To: [email protected] >Subject: Re: Hello > > >Joseph, > >By any chance, did you edit the rotation.schedule file on a Windows PC? I >did that and it caused the type of problems you are seeing. I fixed the >problem by running the dos2unix utility on the file. > >Let me know if that fixes your problems. I have been testing SaraB with >dashes, and it is working perfectly for me. Good luck. > >Tristan Rhodes > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php