[zope2-tracker] [Bug 382772] [NEW] repozo.py dump to stdout = usefull!
tseaver at palladion.com
Tue Jun 2 12:19:49 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Mark Van den Borre wrote:
> Public bug reported:
> It would be cool if repozo.py could do (full) Data.fs dumps to stdout.
> That would enable one to sync the Data.fs from a server A to a server B
> by piping stdout through ssh. No need to touch the file system (disk
> space, security) where the original Data.fs resides.
Given that a full backup creates *two* files, a straightforward pipe
isn't going to do: you would probably be better off just doing 'rsync
- -W' over SSH: a single file can't record the information used to do
verification of the copy.
That being said, the attached script does much the same thing, but
writes the file length and MD5 checksum to sys.stderr. Perhaps you
could work it up into something which used MIME to record both the
payload and the verification stuff on the same stream, and then used a
similar script to crack them apart on the other side.
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
** Attachment added: "copy_to_stdout.py"
** Changed in: zope2
Status: New => Won't Fix
repozo.py dump to stdout = usefull!
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
More information about the zope2-tracker