Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Looking to increase confidence in my Backups

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


cewing at u

Jul 20, 2009, 11:42 AM

Post #1 of 1 (699 views)
Permalink
Looking to increase confidence in my Backups

Ho there,

I've got a backup strategy that seems to be working fine for me, but
I'm ever looking for ways to increase confidence that the backups I'm
making of Data.fs are actually functional and can be restored from
properly.

To that end, I was reading some info on this page:

http://wiki.zope.org/ZODB/FileStorageBackup

and playing with the fstest and fsrefs scripts referenced there.
I've discovered a problem (I think). Here's the scenario:

$ python fstest.py -v Data.fs
Traceback (most recent call last):
File "fstest.py", line 228, in <module> main()
File "fstest.py", line 215, in main
VERBOSE = VERBOSE + 1
UnboundLocalError: local variable 'VERBOSE' referenced before assignment

The same error arises in using fsrefs, although there the line where
the error is raised reads
VERBOSE += 1

By changing the declaration of VERBOSE from

VERBOSE = 0

to

VERBOSE = 1

the error goes away, but of course you always get verbose output,
which we don't really need or want for automated integrity checks, do
we?

Am I using the right tool for this job? Is there a better way out
there to create automated integrity checks of Data.fs files restored
from repozo-generated backups?

Thanks

C

********************************
Cris Ewing
Webmaster, Lead Developer
Department of Radiology Web Services
University of Washington
School of Medicine
Work Phone: (206) 616-1288
Cell Phone: (206) 708-9083
Pager: (206) 559-2306
E-mail: cewing [at] u
Web: http://www.rad.washington.edu
*******************************

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.