DO NOT REPLY [Bug 6667] New: proposal: --transaction

2009-08-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6667

   Summary: proposal: --transaction
   Product: rsync
   Version: 3.1.0
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P3
 Component: core
AssignedTo: way...@samba.org
ReportedBy: d...@yost.com
 QAContact: rsync...@samba.org


someday, perhaps with zfs, file system APIs will offer transaction wrapper
functions, something like fio_begn(), fio_cancel(), fio_commit().

In the meantime (another 10 years?) until that happy day arrives, rsync could
fake an almost transactional update in the following manner: instead of
creating hidden files as you go, create a hidden directory at the root of the
tree containing all files being transferred. Populate this new tree with
transferred files, then when all have been transferred, hard link all the rest
of the files from the existing tree into the new tree. Finally, rename the
existing tree to a backup name, rename the new tree into place, then rm -rf the
renamed old tree.

--transaction and --partial would work well together.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


DO NOT REPLY [Bug 6667] proposal: --transaction

2009-08-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6667





--- Comment #1 from car...@taltos.org  2009-08-27 17:50 CST ---
Except that assumes rsync will never traverse a filesystem boundary. Be very
careful about your assumptions...


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


DO NOT REPLY [Bug 6667] proposal: --transaction

2009-08-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6667


m...@mattmccutchen.net changed:

   What|Removed |Added

   Severity|normal  |enhancement
 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Comment #2 from m...@mattmccutchen.net  2009-08-27 18:06 CST ---
The atomic-rsync script distributed with rsync in the support dir does what
you propose.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


content of file

2009-08-27 Thread Mag Gam
Is it possible to stream the content of a file using rsync to stdout
instead of placing it into a file?
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


snapshot support in rsync

2009-08-27 Thread Jignesh Shah
Hi,

I have been using rsync-3.0.6 to sync my huge file system and it works
awesome. I have been getting really annoying lots of errors about file has
vanished. We thought on getting rid of this and realized that having
snapshot support in rsync would make things much easier. Could you please
let me know if there is any way to get rid of this error message in
rsync-3.0.6? If not then is there any plan of getting rid of it in future?

Thanks a ton,
Jignesh
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html