billrobo / gdatacopier

Automatically exported from code.google.com/p/gdatacopier
0 stars 0 forks source link

Does not manage to access documents public to my domain #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to setup a simple backup system to save all the documents that are 
public to my domain.

What steps will reproduce the problem?
1. Having google document set for our domain
2. I can manage to copy the document that I own or I have accessed earlier:
python ./gcp.py user@domain.com:/ -c backups -u -o -i 
--password-file=passwordfile

This works very well.

3. I would like to backup all the public documents for our domain, is this 
possible using to do using the google api?

I've seen that you were working with the OAuth system for google docs. Does 
this mean that I could achive this goal using the OAuth system to access the 
data of all the users?

What version of the product are you using? On what operating system?
Ubuntu
http://gdatacopier.googlecode.com/files/gdatacopier-2.1.2.tgz
http://gdata-python-client.googlecode.com/files/gdata-2.0.14.tar.gz
and python version 2.65 on ubuntu

Thanks a lot.

Original issue reported on code.google.com by gerome.r...@gmail.com on 17 Mar 2011 at 8:14

GoogleCodeExporter commented 9 years ago
I am not sure how public documents are made available by gdata.

The document interface and the API work different. 

We can lodge this as an issue and investigate it.

Not sure if OAuth solves this.

Original comment by devraj on 17 Mar 2011 at 9:44

GoogleCodeExporter commented 9 years ago
Thanks devraj for this quick answer.

Just 2 things:

1. I agree that it is not clear how to get domain shared documents into the 
Document List of a user. Would you agree that this issue should be raised to 
the Google API team?

2. I was thinking of using the OAuth system in order to access the documents of 
every users of my domain in order to make backups. The big drawback is that 
I'll have to run the script for each user, but at least, I'd manage to get all 
the documents this way. I've seen that you are working on the OAuth in the 
trunk of gdatacpier but it has not been released yet. Should I wait for the 
next version of gdatacopier then or should I make it myself?

Original comment by gerome.r...@gmail.com on 21 Mar 2011 at 9:08

GoogleCodeExporter commented 9 years ago
Yep it will be quicker answered there and if that exists then we can look at 
integrating it into gdatacopier

OAuth is still under development, you can wait if you wish, we haven't got a 
schedule time of release for this.

Original comment by devraj on 22 Mar 2011 at 5:45