Results 1 to 4 of 4

Thread: which one is faster? better?

  1. #1
    Join Date
    Jan 2008
    Location
    Canada
    Posts
    22
    Rep Power
    9

    Default which one is faster? better?

    Hi Zimbra(i)ns,

    We are going to import several thousands of .ics files into Zimbra. Which one of the folowing would be a faster way to achieve that?

    Thx. in advance.
    lkj

    create folder:
    [zimbra@huron ~]$ zmmailbox -z -m user@domain.com createFolder --view contact /'New Calendar'


    [A]
    import calendar:
    [zimbra@huron ~]$ zmprov sm user@domain.com pru /'New%20Calendar' /tmp/user.ics

    OR

    [B]
    curl -k -u admin:zimbra --data-binary @/tmp/user.ics 'https://domain.com/service/home/user@domain.com/'New%20Calendar?fmt=ics'

  2. #2
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    10

    Default

    You'll have to have the user's account (or that folder/calendar) shared to the admin account to use option [b]. I do this by script when I create my accounts, but if you haven't done (or don't want to) that I'd recommend [a].

  3. #3
    Join Date
    Jan 2008
    Location
    Canada
    Posts
    22
    Rep Power
    9

    Default

    We are interested in learning which command would run faster regardless, as we are importing thosands of accounts. Thx. jkl

  4. #4
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    10

    Default

    In that case, you should run the command against 'time' to see how long it takes to run.

    Code:
    time zmprov...
    time curl...

Similar Threads

  1. Replies: 1
    Last Post: 05-23-2008, 05:55 AM
  2. Zimbra Network Edition faster?
    By hans@toplanguagejobs.com in forum Migration
    Replies: 8
    Last Post: 05-16-2008, 08:17 AM
  3. Replies: 6
    Last Post: 02-17-2007, 11:47 AM
  4. Replies: 0
    Last Post: 10-08-2006, 09:39 PM
  5. Moving to a faster server
    By jholder in forum Administrators
    Replies: 2
    Last Post: 02-12-2006, 07:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •