home contents changes options help subscribe edit (external edit)

A tool that ships with zope, in SOFTWARE_HOME/utilities, for incrementally backing up your Data.fs, without having to shut down the Introduction to Zope server.

repozo.py -- incremental and full backups of a Data.fs file.

Usage: /usr/local/www/[Introduction to Zope]/bin/repozo.py [options]
Where:

   Exactly one of -B or -R must be specified:

   -B / --backup
       Backup current ZODB file.

   -R / --recover
       Restore a ZODB file from a backup.

   -v / --verbose
       Verbose mode.

   -h / --help
       Print this text and exit.

   -r dir
   --repository=dir
       Repository directory containing the backup files.  This argument
       is required.  The directory must already exist.  You should not
       edit the files in this directory, or add your own files to it.

Options for -B/--backup:
   -f file
   --file=file
       Source Data.fs file.  This argument is required.

   -F / --full
       Force a full backup.  By default, an incremental backup is made
       if possible (e.g., if a pack has occurred since the last
       incremental backup, a full backup is necessary).

   -Q / --quick
       Verify via md5 checksum only the last incremental written.  This
       significantly reduces the disk i/o at the (theoretical) cost of
       inconsistency.  This is a probabilistic way of determining whether
       a full backup is necessary.

   -z / --gzip
       Compress with gzip the backup files.  Uses the default zlib
       compression level.  By default, gzip compression is not used.

Options for -R/--recover:
   -D str
   --date=str
       Recover state as of this date.  Specify UTC (not local) time.
           yyyy-mm-dd[-hh[-mm[-ss]]]
       By default, current time is used.

   -o filename
   --output=filename
       Write recovered ZODB to given file.  By default, the file is
       written to stdout.

Either --backup or --recover is required
sawdog: $python $repobin -BQv -r $backupdir/ZODB -f $home/var/ZODB/var/Data.fs
sawdog: that's how I run it from within just a shell script
sawdog: where repobin is the repozo.py script path

On FreeBSD repozo is installed at /usr/local/www/[Introduction to Zope]?/bin/repozo.py



subject:
  ( 24 subscribers )