# Best practice to backup Mender Server with zero downtime?

**URL:** <https://hub.mender.io/t/best-practice-to-backup-mender-server-with-zero-downtime/1530>\
**Category:** General Discussions\
**Tags:** docker, mender-server\
**Created:** [February 11, 2020, 3:58pm UTC](https://hub.mender.io/t/best-practice-to-backup-mender-server-with-zero-downtime/1530 "2020-02-11T15:58:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)\
**Post date:** [February 11, 2020, 3:58pm UTC](https://hub.mender.io/t/best-practice-to-backup-mender-server-with-zero-downtime/1530/1 "2020-02-11T15:58:32Z")

</div>

Whats the best way to be able to backup mender server services atomically _without_ causing any in-progress deployments from being cut off? is it even possible? I am using zfs and snapshots, but it seems to ensure data consistency mender services need to be stopped first before taking a snapshot?

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [February 12, 2020, 6:59am UTC](https://hub.mender.io/t/best-practice-to-backup-mender-server-with-zero-downtime/1530/2 "2020-02-12T06:59:46Z")

</div>

As long as all the volumes are on the same zfs filesystem I don’t think you need to take any special care, snapshots should just work. Taking a snapshot is essentially the same thing as what would happen if the machine unexpectedly went down, and came back up again, and the DB is supposed to recover just fine from such incidents. That being said, I haven’t tested it myself, I’m basing this on theory. 🙂
