repozo.py dump to stdout = usefull!
Bug #382772 reported by
Mark Van den Borre
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.
To post a comment you must log in.
-----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. ======= ======= ======= ======= ======= ======= ======= ======= ==== palladion. com enigmail. mozdev. org
- --
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFKJVEl+ gerLs4ltQ4RAl22 AJsFWpc7qwlTEb8 VGoY2YBV9LyK0+ QCePT1L fYOwgu3M=
QiR3jCKRlhYCKyY
=UG3l
-----END PGP SIGNATURE-----