# Time Series: Total Data Backup to S3

**URL:** <https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692>\
**Category:** Help\
**Tags:** time-series\
**Created:** [March 4, 2020, 4:29pm UTC](https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692 "2020-03-04T16:29:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cole\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@Cole\_Hunter](https://forums.losant.com/u/Cole_Hunter)\
**Post date:** [March 4, 2020, 4:29pm UTC](https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692/1 "2020-03-04T16:29:33Z")

</div>

Hi, I am trying to backup all of our device time-series data to an S3 bucket using workflows. I have two questions regarding help needed. If this isn’t possible given the current platform, please let me know.

1. In the time-series node, in the “CONFIGURATION” section I see you can select an attribute, but is there a way to get more than one attribute (all of them)?

2. I read through the template documentation, but still couldn’t figure it out. What is the best way to write a payload, with many sub-attributes (e.g. data.result has many keys under it, then many keys under those) , out to a file? I know I can literally walk through each template form, but there are many of them. Is there a simpler way to do this?

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [March 4, 2020, 4:42pm UTC](https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692/2 "2020-03-04T16:42:07Z")

</div>

Losant has built-in support to backup all device data to an S3 bucket using [Application Archiving](https://docs.losant.com/applications/archiving/). Would that work?

---

<div class="post-metadata">

**Author:** ![Cole\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@Cole\_Hunter](https://forums.losant.com/u/Cole_Hunter)\
**Post date:** [March 4, 2020, 6:07pm UTC](https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692/4 "2020-03-04T18:07:34Z")

</div>

Yea, I can give it a try. Can you help me understand the Bucket Template field?

Also, I am able to connect to my S3 bucket in workflows, but I am failing connection when using the Data Archive functionality.

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [March 4, 2020, 6:11pm UTC](https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692/5 "2020-03-04T18:11:31Z")

</div>

The `Bucket Template` field is the name of your S3 Bucket. So in the screenshot below, the bucket name is “btc-losant”.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/8/82721d722f27b3d469ffeb193cb80b099a9e939a.png)

---

<div class="post-metadata">

**Author:** ![Cole\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@Cole\_Hunter](https://forums.losant.com/u/Cole_Hunter)\
**Post date:** [March 4, 2020, 7:13pm UTC](https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692/6 "2020-03-04T19:13:13Z")

</div>

Yea, it’s still not working, which is odd. I am using the same parameters from my workflow (which writes to the bucket) in the archive template fields (even tried using application globals). Still does not work.

---

<div class="post-metadata">

**Author:** ![Cole\_Hunter](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@Cole\_Hunter](https://forums.losant.com/u/Cole_Hunter)\
**Post date:** [March 4, 2020, 7:41pm UTC](https://forums.losant.com/t/time-series-total-data-backup-to-s3/2692/7 "2020-03-04T19:41:37Z")

</div>

Checking to see if it’s a permissions issue, as I now know that the Data Archive and Workflow S3-Put require different S3 permissions.

Will reply to this thread.
