Back Up, how to?

Hey, so since we’re back online, and I have managed to get my viewing logs in order, I’d like to know how one would go about doing a back up for this data. Read many a post on the different forums over the last week where people had done this. Can someone teach me, please?

1 Like

There are icons in the various sections to export CSV files. This blog post has more info: iCal, RSS and CSV feeds. A cool way to extend Trakt.tv’s… | by Trakt | Trakt Blog

We’re also planning to add a feature that automatically backup your data to Dropbox.

6 Likes

I don’t know how data-savvy you are, but I’ll share a couple of the tools I’ve used over the years to keep local copies of my Trakt data as well (frustratingly, I never got around to automating any of them, so I don’t have a copy with newer data than the database restore date to validate against…live and learn, right?):

Python: traktexport module (JSON output)

C#/.NET: TraktRater app (I got more mileage out of this one but largely in the other direction, for sucking my data out of other sites I’d used pre-Trakt to import here, but its export function seems to duplicate the built-in CSV exports here reliably too)

i was about to ask the same thing, i do not believe that going to each and every page and click on export is a way of backup. You should definetely after all this make a Full backup button. And by full backup i mean full backup. In case of database corruption and whatnot happened to be able NOT to loose everything.

And i believe after you recover and relax should be a TOP priority.

1 Like

I was just going to suggest this. Good idea! It has been a pain to back up everything at once, the most recent I have is from April.

Also a way to import a backup would be nice.

2 Likes

I’m not really up in the ways of data and all that goes with it. Thank you for answering.

1 Like

Hey Justin thank you. I will take a look at this.

Just want to pass on my thanks for getting things back as quick as you did.

Restore data! that made me furious on twitter, i got attacked so many times about “you didn’t backup” and many many other, but trakt does not offer away to restore, what do they expect , to send to Justin a thousand email from users with .csv and he starts the restore process.

I love the new backup feature! I have it setup already with Drive! I appreciate that as I do not use Dropbox. A̶l̶t̶h̶o̶u̶g̶h̶ ̶i̶s̶ ̶t̶h̶e̶r̶e̶ ̶a̶ ̶w̶a̶y̶ ̶t̶o̶ ̶h̶a̶v̶e̶ ̶a̶n̶ ̶o̶p̶t̶i̶o̶n̶ ̶t̶o̶ ̶o̶n̶e̶ ̶c̶l̶i̶c̶k̶ ̶m̶a̶n̶u̶a̶l̶l̶y̶ ̶b̶a̶c̶k̶u̶p̶?̶ (I saw on twitter that it has to be scheduled so nevermind.) Email option is a good idea imo as well. Just throwing around ideas here… I am planning on getting a nas at some point, is there a way to have the backup auto save to that synology/nextcloud?

If nextcloud has an api, should be possible. I’m planning to look into it.

1 Like

I just found that synology can pull files from Drive/Dropbox…

but yeah a way to bypass that would be cool.

Can we get an email confirmation on each backup fail or success ?
I think such notification is mandatory so you know it is working.

Also a “backup now” option will be good.

1 Like

I just went through the backup that was generated, only 3 things that I thought could be added is for comments and liked lists.

In the files there is no title for the show/movie/episode the comment was under, only a comment ID.

Replies and comments are not differentiated from one another.

Liked lists do not have the items listed.

Good idea, probably only need it if it fails though.

1 Like

Followup questions. If i understood correctly and from the screenshot with the contents, that is a backup that keeps overwrite everytime it runs, So if you have it daily every day you have the same day backup and nothing previous. Is that correct ?

I have it weekly, but consider having a directory with a suffix _$backupdate and give the option to keep versions, like keep last 7 backups.

Is there a way to just manually download a backup of all data (not just individual feeds) without connecting a cloud provider?

I plan to have it email if the backup fails.

I will look into this. It adds a ton more data so I’ll have to do testing around that.

The parent_id field is for this. If 0 it’s a top level comment. If > 0, it’s a reply to that comment.

I’m not sure we’ll include this info. It would add a ton of extra data to the backup.

No, it writes a new backup file each time. We don’t remove any files, that would be up to you.

No, but once I add an email option that will be a similar idea. The backup is processed using a background task, so that’s why it needs to send email or use a service.

2 Likes

is there any ETA on that. I have to check weekly my GoogleDrive if it has the current date for the backup.

I wish there will be an import function somehow. So that we can both export and import things.

1 Like