Comments (4)
Hi @Phusty.
The settings you are using mean that you are completely rescanning your whole library every night. Including removing any local copies of your files that were deleted online.
That's not how I use gphotos-sync because it means that accidental deletions would get propagated to my backup. But then if you are taking snapshots of your filesystem by other means then this would be a good way to notice such deletions I guess.
Anyway. I can't comment on ever seeing this and I'm inclined to blame Google for this one. There is an outstanding bug that delivers a less items per chunk than requested, sometimes even zero, sometimes zero several times before picking up again. See the last bullet on #119. My code tries to workaround this by retrying even though zero response is supposed to mean that the search is complete.
Since it's a bug in the server and has not been fixed for 4 years I'm not holding out much hope.
Do you need to use --do-delete all the time. Could you change your workflow a little to work around this?
from gphotos-sync.
Hi,
I was using the library with --do-delete to keep the backup aligned with the photos on Google, and I set up another script that makes a tar of a folder if something changes, notifying me on Telegram of the previous and current number of files (which is why I noticed this behavior) precisely to avoid accidental deletions from the backup.
I will try to modify the workflow in order to be sure that the backup only occurs when I have already deleted, among the latest photos taken, those that I do not want to keep.
Thank you very much for your response!
from gphotos-sync.
makes a tar of a folder if something changes, notifying me on Telegram of the previous and current number
Nice - in fact really the only way to use gphotos-sync as Google has crippled the API - its not a true backup but it is a good way to make sure accidental deletions are not happening.
Of course being as diligent as you are you will catch out little bugs like the one I mention in the Google API.
from gphotos-sync.
closing as completed
from gphotos-sync.
Related Issues (20)
- FREEBSD - pstuil dependency too high HOT 2
- Incremental Indexing HOT 7
- 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
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.