# Backup on disk before sync

**URL:** <https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156>\
**Category:** Help\
**Created:** [April 10, 2021, 4:22pm UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156 "2021-04-10T16:22:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![c89m](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@c89m](https://forums.ankiweb.net/u/c89m)\
**Post date:** [April 10, 2021, 4:22pm UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/1 "2021-04-10T16:22:27Z")

</div>

Hello,  
Would it be possible to make Anki save a backup on disk before each sync? Today I clicked “download” instead of “upload” by mistake and lost one day of work. The last backup I have on disk was made yesterday, when I closed the program.

Thank you

---

<div class="post-metadata">

**Author:** ![khs](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/khs/32/3012_2.png) [@khs](https://forums.ankiweb.net/u/khs)\
**Post date:** [April 10, 2021, 5:00pm UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/2 "2021-04-10T17:00:30Z")

</div>

That would be very expensive, take time… depending on the amount of decks.

---

<div class="post-metadata">

**Author:** ![SparQL](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@SparQL](https://forums.ankiweb.net/u/SparQL)\
**Post date:** [April 11, 2021, 9:35pm UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/3 "2021-04-11T21:35:51Z")

</div>

Backup on sync was the default behaviour a couple of versions ago and I, too, relied on that behaviour. I’d love to have it back again, even as a customizable option, as it is always good to have another backup when you sync. For me, syncing is a habit, but switching the user profile, which does initiate a backup even with the current version, is not so much of a habit, while editing and learning. So I see your point. 👍

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [April 12, 2021, 11:44pm UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/4 "2021-04-12T23:44:26Z")

</div>

> [@c89m](#):
>
> Today I clicked “download” instead of “upload” by mistake and lost one day of work

As far as I know, Anki does make a backup when you click Download. There was a bug in some versions before 2.1.40 that prevented that though. Are you using a version older than 2.1.40? If so, I recommend upgrading.

---

<div class="post-metadata">

**Author:** ![Burman](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@Burman](https://forums.ankiweb.net/u/Burman)\
**Post date:** [April 13, 2021, 12:08am UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/5 "2021-04-13T00:08:16Z")

</div>

I did the same its my first time using this platform and trying to sync and I choose to download and lost all of today’s work. can I do anything to fix this?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [April 13, 2021, 12:10am UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/6 "2021-04-13T00:10:31Z")

</div>

Check backups if you’re using a recent Anki version. See [Anki Manual](https://docs.ankiweb.net/#/files?id=backups)

---

<div class="post-metadata">

**Author:** ![Burman](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@Burman](https://forums.ankiweb.net/u/Burman)\
**Post date:** [April 13, 2021, 12:27am UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/7 "2021-04-13T00:27:44Z")

</div>

Ok i found my deck how do I save it now to my profile and not lose it?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [April 13, 2021, 1:40am UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/8 "2021-04-13T01:40:09Z")

</div>

If you mean you found the backup file you want to restore, then just open it and it will replace your current collection as explained in the manual.

---

<div class="post-metadata">

**Author:** ![c89m](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@c89m](https://forums.ankiweb.net/u/c89m)\
**Post date:** [August 20, 2021, 12:50pm UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/9 "2021-08-20T12:50:59Z")

</div>

Right now I’m using 2.1.43 but when I posted here could have been older… Thanks for letting me know.

Anyway, I learned to always double-check before clicking on a sync. Very useful skill, in everyday life and work environments as well 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:54am UTC](https://forums.ankiweb.net/t/backup-on-disk-before-sync/9156/10 "2023-05-01T04:54:37Z")

</div>

Closed on May 1, 2023, 4:54am UTC


