# Restoring original date and time for files?

**URL:** https://forum.duplicati.com/t/restoring-original-date-and-time-for-files/15478
**Category:** Support
**Created:** [December 14, 2022, 4:00pm UTC](https://forum.duplicati.com/t/restoring-original-date-and-time-for-files/15478 "2022-12-14T16:00:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tsch](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/76d3ee/32.png) [@tsch](https://forum.duplicati.com/u/tsch)
#### Post date: [December 14, 2022, 4:00pm UTC](https://forum.duplicati.com/t/restoring-original-date-and-time-for-files/15478/1 "2022-12-14T16:00:41Z")

</div>

I just installed duplicati and did a restore from a backup.  
All restored files have the date and time of the restore. Is there any special configuration to preserve original date and time for restored files?

Thanks a lot for helping.

---

<div class="post-metadata">

### Author: ![gpatel-fr](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/g/7993a0/32.png) [@gpatel-fr](https://forum.duplicati.com/u/gpatel-fr)
#### Post date: [December 14, 2022, 5:36pm UTC](https://forum.duplicati.com/t/restoring-original-date-and-time-for-files/15478/2 "2022-12-14T17:36:36Z")

</div>

No, restoring file attributes and dates is the default.

> **[Advanced Options - Duplicati 2 User's Manual](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#store-metadata)**
>
> Documentation for Duplicati 2

You must be doing something special.  
Maybe export the job as json and attach it here ?

---

<div class="post-metadata">

### Author: ![tsch](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/76d3ee/32.png) [@tsch](https://forum.duplicati.com/u/tsch)
#### Post date: [December 14, 2022, 5:40pm UTC](https://forum.duplicati.com/t/restoring-original-date-and-time-for-files/15478/3 "2022-12-14T17:40:11Z")

</div>

Thanks for your quick reply.  
I used a docker version of duplicati backing up a smb share which was mounted on the linux-host of docker. Restore was done via mount.

I’ll now check with duplicati on a windows client if restore is done keeping original date and time.

---

<div class="post-metadata">

### Author: ![gpatel-fr](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/g/7993a0/32.png) [@gpatel-fr](https://forum.duplicati.com/u/gpatel-fr)
#### Post date: [December 14, 2022, 7:17pm UTC](https://forum.duplicati.com/t/restoring-original-date-and-time-for-files/15478/4 "2022-12-14T19:17:46Z")

</div>

Duplicati is not a one server - several clients system. If you have ‘a windows client’, you risk consequences on your backend if you are not careful. Only one system should write to the backend.

---

<div class="post-metadata">

### Author: ![tsch](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/76d3ee/32.png) [@tsch](https://forum.duplicati.com/u/tsch)
#### Post date: [December 15, 2022, 10:05am UTC](https://forum.duplicati.com/t/restoring-original-date-and-time-for-files/15478/5 "2022-12-15T10:05:20Z")

</div>

Don’t worry. I think I understand completely how Duplicati works.  
I used another destination for backup/restore with my windows client.  
And I think I now, what the “problem” was, when starting the restore every file/directory has the actual date/time until the restore is finished. After completely finishing the restore every file had the original date/time. I was impatient on my first try with the restore.

Everything fine with Duplicati, my fault.

Duplicati is just awesome and in my christmas holiday I’ll configure some backups with it.

Thanks a lot for helping and have a merry christmas!
