Concurrency?

44 views
Skip to first unread message

Nathan Neulinger

unread,
Jul 3, 2011, 10:57:56 PM7/3/11
to got-yo...@googlegroups.com
Is it safe to run multiple invocations of gyb simultaneously against the same target backup folder? i.e. for different searches?

Keith Robards

unread,
Jul 4, 2011, 5:45:20 AM7/4/11
to got-yo...@googlegroups.com
Hi Nathan, I suspect that might be dangerous due to simultaneous access being required to the master files.

Brian Kennelly

unread,
Jul 4, 2011, 11:46:00 AM7/4/11
to got-yo...@googlegroups.com
On Sun, Jul 3, 2011 at 19:57, Nathan Neulinger <nn...@neulinger.org> wrote:
Is it safe to run multiple invocations of gyb simultaneously against the same target backup folder? i.e. for different searches?

It should be safe, but if you run overlapping searches, GYB will download the common messages each time, overwriting the older copy. The master file is a SQLite database, and can handle concurrent access.

You can, of course, combine searches with OR. If you do that, you will only download each message once.

Nathan Neulinger

unread,
Jul 4, 2011, 4:54:33 PM7/4/11
to got-yo...@googlegroups.com, Brian Kennelly
Thank you. I was mainly concerned about accidental overlaps if I had a short duration incremental search running and I
ran a different operation against the same directory. Sounds like it isn't really a corruption issue - only inefficient
if the searches overlap.

-- Nathan

On 07/04/2011 10:46 AM, Brian Kennelly wrote:

> --
> You received this message because you are subscribed to the Google
> Groups "Got Your Back: Gmail Backup" group.
> To post to this group, send email to got-yo...@googlegroups.com
> To unsubscribe from this group, send email to
> got-your-bac...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/got-your-back?hl=en?hl=en

--
------------------------------------------------------------
Nathan Neulinger nn...@neulinger.org
Neulinger Consulting (573) 612-1412

Reply all
Reply to author
Forward
0 new messages