bbolli / tumblr-utils

Utilities for dealing with Tumblr blogs, Tumblr backup
GNU General Public License v3.0
668 stars 124 forks source link

Incremental option fails on second try #117

Closed ajmas closed 5 years ago

ajmas commented 5 years ago

I don't always have the time to backup a large blog, so I will want to run the backup tool and then abort it at some point, then to be able to restart it later. The issues is when I do that it will look at the first request page, decide it has those resources and then abort with:

myblog: 0 posts backed up     

I ran the backup tool as follows:

./tumblr_backup.py -i -O /path/to/myblog --save-video --save-audio -j myblog

It appears to assume that I want posts after the most recent download, rather than before the least recent?

Is the a solution to this?

bbolli commented 5 years ago

That's a property of the Tumblr API. It returns the most recent posts first. You can count the number of saved posts and use -s to skip this number.