Tasks export

46 views
Skip to first unread message

yozza

unread,
Feb 10, 2019, 8:07:58 PM2/10/19
to tasks-...@googlegroups.com
Hi,
Thanks so much for your fantastic tool!
With the impending google tasks apocalypse, I'm frantically searching for a tool to export my tasks.
I thought I'd found a solution with your tool, however, everytime I try I get the following error:
Status = Error
Progress = 27196


Server took too long to respond: DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded.
Please report this error at github.com/Google-Tasks-Backup/tasks-backup/issues

This always happens around 26k or 27k tasks...
Thanks very much for any assistance you can provide!
Regards,
Yorran


Julie Smith

unread,
Feb 11, 2019, 3:55:11 AM2/11/19
to Google Tasks Backup
Hello Yorran,

GTB has hit a limit imposed by Google App Engine; it limits a process to run for a maximum of 10 minutes. 
The DeadlineExceededError indicates that GAE has killed the GTB process that retrieves the tasks from the Google Tasks server.

Unfortunately, you have so many tasks that GTB is unable to retrieve all of your tasks from the Google Tasks Server within that 10 minute time limit.
The logs show that one other user encountered DeadlineExceededError during  the past month.
Most users have considerably fewer than 10,000 tasks. Of the past 300 backup jobs, only 6 users had more than 10,000 tasks. The average is 1,500 tasks.

There is no way around the 10 minute limit. 
The only possible solution would be "split" the retrieval process into multiple jobs, each limited to less than 10 minutes, and then combine the retrieved jobs.
That would mean a MAJOR rewrite of GTB.

One possible workaround would be to use Google Takeout to export your tasks

Google doesn't impose a time limit on the Takeout process;
"Please note that archives may take a long time (hours or possibly days) to create. You will receive an email when your archive is complete."
so it should be able to retrieve all of your tasks.

The Takeout exports your tasks in JSON format.

I hope this helps.

Kind regards,

Julie Smith
GTB Developer

Julie Smith

unread,
Mar 28, 2019, 1:40:44 AM3/28/19
to Google Tasks Backup
I have increased the App Engine Instance Class and enabled Basic Scaling, so that the process that retrieves tasks will now run for more than 10 minutes, which should eliminate the DeadlineExceededError.

This should allow GTB should to retrieve all tasks, even if the Google Tasks Server is running slower than normal, or if a user has a very large number of tasks.

Kind regards,

Julie Smith
GTB Developer

Reply all
Reply to author
Forward
0 new messages