Re: [foxboro] save_all scripts (was: Backup strategies - Best Practices?)


Just in case, saveall files from Unix hard drive can always be copied to
a floppy with an script like this.

========================================
#!/bin/sh
#
#  hd2fd
#
#  Usage:  hd2fd
#
#  Purpose:  To copy SaveAll directories from HD to Floppy
#
#  Notes:
#  It is assumed that your SaveAll files reside under
/opt/saveall/cplbug
#
echo "Insert mountable diskette (old saveall). Press <Return> when
ready."
read dummy
mount /dev/fd0 /f0
ls -l /f0 | grep -v lost+found
echo "About to ERASE all shown compounds.  Continue (y/n)?"
read answer
if [ $answer = "y" ]
then
   echo "Deleting ... "
   rm -r /f0/*
else
   umount /dev/fd0
   eject floppy
   echo "Exiting...!"
   exit 1
fi
echo "Enter CP Letterbug (in /opt/saveall) to be SavedAll to Floppy..."
read cplbug
echo "Adding to Floppy ... "
cd /opt/saveall/$cplbug
find . -depth -print | cpio -pduv /f0
umount /dev/fd0
eject /dev/fd0
echo "Done!" 
=====================================

Regards


Angel

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Chaiket, Thom
Sent: Wednesday, January 28, 2009 2:04 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] save_all scripts (was: Backup strategies - Best
Practices?)

Hi all--

Just a quick follow up on save-all.  

We set our system up so that a copy of the save all files resides on the
host workstation and another is backed up onto an external drive.  My
interest is in restoring these files.  

Is it correct that I still need the save all files on floppies in order
to perform a load all?  

I checked on support website and didn't see anything that says
otherwise.

Thanks,

t

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Ron Deen
Sent: Tuesday, December 09, 2008 2:42 pm
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] save_all scripts (was: Backup strategies - Best
Practices?)

Just out of curiosity: Since Duc finds our script the better one and I
would run into you at a Fox gettogether, would I stand a chance in
getting a beer too?
You see, I mentioned the script was "free as in beer" but never had the
chance to experience this...

Just kidding

Ron


On Tuesday 9 December 2008 19:29:08 duc.do@xxxxxxxxxxxxxx wrote:
> Corey, et al.,
>
> The two scripts are unrelated, though the basic action is one and the
same,
> of course.
>
> Ron's contribution, which is available from the Cassandra Project
archive,
> is the one with all the bells and whistles. Its best feature is the 
> archiving of multiple versions of the saveall files, which makes it
the
> better script in my opinion.
>
> My script, bsave, is not available from the Cassandra archive because
I put
> it up on my own Web site (http://www.thedos.org/foxia/utils/) before
the
> dawn of The Cassandra Project and never moved it. It is no frill, but
it
> works for my purpose (actually, Dow Corning's), and I'm glad it works
for
> you.
>
> Duc
>
> PS. I'm looking forward to that free beer, Corey.
>
>
> -----Original Message-----
> From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx] On
> Behalf Of Corey R Clingo Sent: Tuesday, December 09, 2008 12:59 PM
> To: foxboro@xxxxxxxxxxxxx
> Subject: [foxboro] save_all scripts (was: Backup strategies - Best
> Practices?)
>
> Out of curiosity, are Ron's script and Duc's script (on Cassandra) 
> related?  Or were they developed independently?
>
> I've never seen Ron's, but have used Duc's for quite awhile here.
Thanks,
> Duc!  If I ever see you at a Fox get-together, I'll buy you a beer --
so,
> yes, you can get free beers from a script.
>
>
> Corey Clingo
> BASF Corporation
>
>
>
>

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 


* Confidentiality Notice:
This e-mail and any associated files are intended solely for the individual or 
entity to whom they are addressed. Please do not copy it or use it for any 
purposes, or disclose its contents to any other person. Further, this e-mail 
and any associated files may be confidential and further may be legally 
privileged. This email is from the Invensys Process Systems business unit of 
Invensys plc which is a company registered in England and Wales with its 
registered office at Portland House, Bressenden Place, London, SW1E 5BF 
(Registered number 166023).  For a list of European legal entities within the 
Invensys Process Systems business group, please click here 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

If you have received this e-mail in error, you are on notice of its status. 
Please notify us immediately by reply e-mail and then delete this message from 
your system. Thank you for your co-operation. You may contact our Helpdesk on 
+44 (0)20 7821 3859 / 2105 or email inet.hqhelpdesk@xxxxxxxxxxxxx This e-mail 
and any attachments thereto may be subject to the terms of any agreements 
between Invensys (and/or its subsidiaries and affiliates) and the recipient 
(and/or its subsidiaries and affiliates).


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: