# Onevm backup vmid fails

**URL:** <https://forum.opennebula.io/t/onevm-backup-vmid-fails/10430>\
**Category:** Product Support\
**Created:** [March 22, 2022, 8:50am UTC](https://forum.opennebula.io/t/onevm-backup-vmid-fails/10430 "2022-03-22T08:50:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bms8197](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/bms8197/32/5288_2.png) [@bms8197](https://forum.opennebula.io/u/bms8197)\
**Post date:** [March 22, 2022, 8:50am UTC](https://forum.opennebula.io/t/onevm-backup-vmid-fails/10430/1 "2022-03-22T08:50:03Z")

</div>

I’m trying to create backups of my vms following the official documentation. While running the backup command I’m getting this:

```auto
onevm backup 2 -v
2022-03-21 21:39:23 FATAL : #<RuntimeError: No frequency defined>
No frequency defined

```

I tried to add the frequency by manually updating the configuration of the vm in sunstone web interface, I’ve also tried with `onetemplate update` and also `onevm update` conf but same result.

How do I update my vm template to have that frequency attribute?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [March 31, 2022, 7:26am UTC](https://forum.opennebula.io/t/onevm-backup-vmid-fails/10430/2 "2022-03-31T07:26:03Z")

</div>

Hello @bms8197,

In Sunstone you can find an specific section related to the backup in the VM info tab. Using the CLI you can use the command `onevm update` and place the configuration of the backup under BACKUP.

FYI, we are currently working in reworking how backups work, so stay tuned for more news.

Best,  
Álex.
