repozo.py dump to stdout = usefull!

Bug #382772 reported by Mark Van den Borre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Won't Fix
Undecided
Unassigned

Bug Description

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.

Tags: wishlist
Revision history for this message
Tres Seaver (tseaver) wrote : Re: [zope2-tracker] [Bug 382772] [NEW] repozo.py dump to stdout = usefull!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

 status wontfix

Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 <email address hidden>
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

iD8DBQFKJVEl+gerLs4ltQ4RAl22AJsFWpc7qwlTEb8VGoY2YBV9LyK0+QCePT1L
QiR3jCKRlhYCKyYfYOwgu3M=
=UG3l
-----END PGP SIGNATURE-----

Changed in zope2:
status: New → Won't Fix
Revision history for this message
Mark Van den Borre (markvdb) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.