Page 1 of 1

Copying an account and all of its contents

PostPosted: Thu Apr 19, 2012 7:20 pm
by icaoberg
I have a demo account in our server. I want to create a second account that is a copy of the first. But I want the images to be separate, not shared. Is their a way to do this from webadmin or shell?

Ivan

Re: Copying an account and all of its contents

PostPosted: Fri Apr 20, 2012 6:03 am
by jmoore
Not at the moment, Ivan. We've recently run into a similar requirement, though, and are so at least thinking about something like this. On the other hand, if you put something together, keep us posted.

Cheers,
~Josh

Re: Copying an account and all of its contents

PostPosted: Tue Apr 24, 2012 1:23 pm
by icaoberg
I might, but I have one question. Is it possible to copy one image from one account to the other using the API?

Thanks,
Ivan

Re: Copying an account and all of its contents

PostPosted: Tue Apr 24, 2012 3:05 pm
by wmoore
I'm afraid there's nothing like that in the API.

The closest we have (in develop) is to "move" an image from one user's group to another. But that's still the same owner.

The nearest thing to a 'copy' that I can think of is to run E.g. the 'Channel_Offsets.py' script (under util scripts). If one user can read the other user's images then this might work to duplicate the image under a different user (don't apply any offsets and choose all (up to 4) channels).

But this won't duplicate any of the acquisition metadata, annotations etc.