# Utiliser TarWriter pour streamer une sauvegarde

**URL:** <https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909>\
**Category:** Development\
**Tags:** performance, backups\
**Created:** [Janvier 24, 2018, 8:54 UTC](https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909 "2018-01-24T20:54:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [Janvier 25, 2018, 1:33 UTC](https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909/4 "2018-01-25T01:33:53Z")

</div>

I think that any solution relying on `tar --append` is going to be wonky and prone to extra copies.

I should mention that this came up when I was thinking about a “more fully-featured user data checkout”.

The user\_visits and topic\_timings tables should absolutely be part of the user data checkout (see: new EU regulations, “request access to [the personal data]”), but that means writing a zip file with multiple files in it, not just a single csv. So I thought about, “how does the backup system do this?”

---

_[View the full topic](https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909)._
