Skip to main content
Solved

removing multiple users from Gmail and Google Drive backups


Forum|alt.badge.img+13

I need to remove some 1000 users from the Gmail and Google Drive backups. do we have any automated or easy method to complete it.

Best answer by Abhinandan Jain

Hi Allan,

 

Please find the file attached.

Instructions usage:

  • file requires cvpysdk and Python 3.9 as dependency.

  • In the file: fill the commcell, login, client, subclient details.

  • on line 80: mail, enableTeamDrive and enableMultiDomain as 1, if required to enable team drive backup on subclient,

  • file, will output, two XML files: exec_first_prop_update.xml and exec_second_q_cmd.xml

  • on the cs, go to base folder and open a cmd session with admin privileges.

  • run qlogin

  • run qoperation execute -af "path_to_exec_first.xml"

  • run qoperation execute -af "path_to_second_file.xml"

In the community thread, I saw that the user emails are in a notepad file.
We'll need to give the file path as an input.
 

(Remove the .txt extension from the file to convert it to a Python script)

View original
Did this answer your question?

8 replies

Mike Struening
Vaulter
Forum|alt.badge.img+23

@Allan0105 , looking into this for you.  I assume you have a text file with the user list that you want to feed into an operation?

A Workflow can likely do this, though we may have a qoperation as well.  I can find Exchange MB but not gmail or google drive.

Let me know how you have the information on hand while I see if we have any options.

Also, is the overall goal to cut down on size?  Or licensing?  Or compliance?

Thanks!


Forum|alt.badge.img+13
  • Author
  • Byte
  • 115 replies
  • July 13, 2022
Mike Struening wrote:

@Allan0105 , looking into this for you.  I assume you have a text file with the user list that you want to feed into an operation?

A Workflow can likely do this, though we may have a qoperation as well.  I can find Exchange MB but not gmail or google drive.

Let me know how you have the information on hand while I see if we have any options.

Also, is the overall goal to cut down on size?  Or licensing?  Or compliance?

Thanks!

Mike, Thanks for the response. users are expired and not active users so we have to removed them from the backup job. i have the list on the notepad but i was searching for qoperation command but not able to find, if you can share me how to do with workflow that will be great too. i knew very little about workflow. 


Mike Struening
Vaulter
Forum|alt.badge.img+23

Sounds good.  I’ll talk to some of our developers to see if there are any command line methods to do this.


Forum|alt.badge.img+13
  • Author
  • Byte
  • 115 replies
  • July 18, 2022
Mike Struening wrote:

Sounds good.  I’ll talk to some of our developers to see if there are any command line methods to do this.

Thanks Mike, will wait for your update! 


Forum|alt.badge.img+13
  • Author
  • Byte
  • 115 replies
  • July 22, 2022
Allan0105 wrote:
Mike Struening wrote:

Sounds good.  I’ll talk to some of our developers to see if there are any command line methods to do this.

Thanks Mike, will wait for your update! 

Mike, just checking any update 


Mike Struening
Vaulter
Forum|alt.badge.img+23

I followed up with the devs I was chatting with.  Hopefully we can get a response soon.


Forum|alt.badge.img+13
  • Author
  • Byte
  • 115 replies
  • July 26, 2022
Mike Struening wrote:

I followed up with the devs I was chatting with.  Hopefully we can get a response soon.

Thanks Mike, will wait for Devs update! 


Forum|alt.badge.img+1

Hi Allan,

 

Please find the file attached.

Instructions usage:

  • file requires cvpysdk and Python 3.9 as dependency.

  • In the file: fill the commcell, login, client, subclient details.

  • on line 80: mail, enableTeamDrive and enableMultiDomain as 1, if required to enable team drive backup on subclient,

  • file, will output, two XML files: exec_first_prop_update.xml and exec_second_q_cmd.xml

  • on the cs, go to base folder and open a cmd session with admin privileges.

  • run qlogin

  • run qoperation execute -af "path_to_exec_first.xml"

  • run qoperation execute -af "path_to_second_file.xml"

In the community thread, I saw that the user emails are in a notepad file.
We'll need to give the file path as an input.
 

(Remove the .txt extension from the file to convert it to a Python script)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings