samba-bugs@samba.org
2009-Jan-22  08:01 UTC
DO NOT REPLY [Bug 6062] New: [FMR]: Add an option to terminate rsync after a specific time
https://bugzilla.samba.org/show_bug.cgi?id=6062
           Summary: [FMR]: Add an option to terminate rsync after a specific
                    time
           Product: rsync
           Version: 3.0.4
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned@samba.org
        ReportedBy: iwbb.bin@gmail.com
         QAContact: rsync-qa@samba.org
Many of us have broadband with usage restrictions like an 8GB download limit
per month when downloaded in peak periods (off peak is unrestricted between
00:00 and 06:00).  So for those with restrictions like this will often run
backups nightly to run between this time.
Currently I have written a wrapper script to rsync called lrsync that accepts
an option of --end-time.  This option takes a timestamp that will force rsync
to terminate when the current time exceeds the time represented by the
timestamp.  For example, running lrsync at midnight with the following option:
  lrsync --end-time $(( $(date +%s) + 21600 ))
...will force rsync to terminate at 6 am.  This ensures no data is sent during
the peak periods to avoid using up the data transfer limit imposed by the ISP.
It would be nice for this feature to be built into rsync since I think it would
be useful for others like myself, with broadband usage restrictions.
-- 
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.
samba-bugs@samba.org
2009-Jan-22  14:50 UTC
DO NOT REPLY [Bug 6062] [FMR]: Add an option to terminate rsync after a specific time
https://bugzilla.samba.org/show_bug.cgi?id=6062 ------- Comment #1 from matt@mattmccutchen.net 2009-01-22 08:49 CST ------- What is the benefit of building this feature into rsync compared to using a wrapper script (which you could contribute to the support/ dir of the distribution)? -- 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.
samba-bugs@samba.org
2009-Jan-22  14:59 UTC
DO NOT REPLY [Bug 6062] [FMR]: Add an option to terminate rsync after a specific time
https://bugzilla.samba.org/show_bug.cgi?id=6062 ------- Comment #2 from iwbb.bin@gmail.com 2009-01-22 09:00 CST ------- I guess no benefit if there is a place I can make a contribution. How do I go about adding my wrapper to the support/ dir? -- 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.
samba-bugs@samba.org
2009-Jan-22  16:24 UTC
DO NOT REPLY [Bug 6062] [FMR]: Add an option to terminate rsync after a specific time
https://bugzilla.samba.org/show_bug.cgi?id=6062 ------- Comment #3 from iwbb.bin@gmail.com 2009-01-22 10:25 CST ------- I have created a google code project containing the script. Feel free to submit this to the distribution support/ dir as I am unable to do so. http://lrsync.googlecode.com/files/lrsync.zip -- 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.
Reasonably Related Threads
- DO NOT REPLY [Bug 6061] New: [FMR]: Add an option to only delete files once they expire
- doing zero inflated glmm for count data with fmr
- PSARC 2005/546 FMR Update for IBTF
- PSARC 2006/026 IBTF FMR buf addition
- Feature Request - Recursive Rsync Parameter - Example Script