Comments (7)
Hi @ido-ran.
You may be right. I see your workarounds as follows:
- set number of threads to very low (1 might be good) - this will slow down your downloads to spread the load on quota
- use date ranges to do your photos in chunkss
- once you are synced all is good because the incremental backup will only search for photos since the last backup time.
(use --help to see how to set those options)
from gphotos-sync.
Hi,
Thank you for the quick response.
I was quick the assume I'll run out of quote but at the end I've used 5.18k out of the 10k.
I would like to know what you think about changing the script to store the last page_token so it will be able to pickup from where it left off.
I agree that for most part once the full scan has complete search by date will produce much smaller results but every once in a while I do either upload photos without date, which usually end up in 1970 or I upload old photos which the search by date will not find.
from gphotos-sync.
Yep - you need to use --flush-index occasionally if older photos have been uploaded. I should probably make that clear in the docs.
re: keeping the page_token. I would have thought that it has a reasonably short expiry but I could be wrong.
from gphotos-sync.
I have photo frame project that also download photos from Google Photos and I've noticed I can use page_token even a day later. I'll give it a go and will let you know.
I am currently get to about 8.2k requests when the quota is 10k, I also run it close to midnight so I use some quota of today and some tomorrow.
Storing the page_token should also allow the script to pickup where it left off when stopping the indexing in the middle, that will also be a useful feature.
from gphotos-sync.
One last question, can I use --rescan
insetad of --flush-index
?
It seems like rescan start to scan from scratch but just doesn't drop the database.
from gphotos-sync.
Yes you are right that is a better option!
from gphotos-sync.
I believe this issue is completed - closing
from gphotos-sync.
Related Issues (20)
- Shared photos are removed and then re-added in version 2.14.2 HOT 4
- Comparison to rclone with google-photos backend HOT 1
- Error When Connecting - Running Cloud Flare and NGINX HOT 2
- NFS Share [Errno 28] No space left on device HOT 7
- Error when running gphotos-sync HOT 3
- Container Restarting HOT 5
- Please delete this thread - Sorry. HOT 1
- No new photos HOT 15
- Why are my photos being deleted HOT 5
- Invalid Syntax HOT 4
- Syntax error on syncing folders called '3 years later' HOT 4
- Not working after upgrade to Python 3.12 & gphotos-sync 3.2 HOT 11
- Many 404 client error while downloading HOT 7
- Creating Duplicate Photos Once Finished HOT 10
- Escape special characters HOT 3
- why an image do not have exif data. HOT 6
- Is there any way to make the timezone correct? HOT 3
- using the tool with new oauth rules from June 17, 2024 HOT 2
- Deadlock in photo download flow. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gphotos-sync.