# Real-time backup

**URL:** https://forum.duplicati.com/t/real-time-backup/263
**Category:** Features
**Created:** [August 25, 2017, 10:35pm UTC](https://forum.duplicati.com/t/real-time-backup/263 "2017-08-25T22:35:36Z")
**Posts on this page:** 1
**Showing post:** 32

<div class="post-metadata">

### Author: ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)
#### Post date: [February 12, 2018, 9:35am UTC](https://forum.duplicati.com/t/real-time-backup/263/32 "2018-02-12T09:35:07Z")

</div>

That code was not updated for 2.0.  
In 1.3.x the USN number was written to the `manifest` files. In 2.0, we should store it in the database as well as in the `dlist` files.

My strategy was to grab the current USN, den do the listing, such that changes could not be lost (USN may update after grabbing it, but this will only cause the files to be scanned again later).

There is as call in the backup method that creates the new filelist, and I think that would be the best place to record it.

---

_[View the full topic](https://forum.duplicati.com/t/real-time-backup/263)._
