# Feature request for backup functionality

**URL:** <https://forum.openwrt.org/t/feature-request-for-backup-functionality/603>\
**Category:** For Developers\
**Created:** [December 18, 2016, 11:36pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603 "2016-12-18T23:36:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![charcoal](https://forum.openwrt.org/user_avatar/forum.openwrt.org/charcoal/32/127_2.png) [@charcoal](https://forum.openwrt.org/u/charcoal)\
**Post date:** [December 18, 2016, 11:36pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/1 "2016-12-18T23:36:45Z")

</div>

To anyone who may have the skills:

I would like to see the list of post installed packages included in the backup.

opkg list-installed \> packlist.txt  
Makes a list of ALL installed packages That also would be helpfull...

But i would like to see Lede create a commandline to install those ADDITIONAL packages again  
opkg update  
opkg install

So when you re install a backup that the list of packages that still need to be installed is included in that backup. As a quick way to replace a complete backup.

---

<div class="post-metadata">

**Author:** ![stangri](https://forum.openwrt.org/user_avatar/forum.openwrt.org/stangri/32/58_2.png) [@stangri](https://forum.openwrt.org/u/stangri)\
**Post date:** [December 19, 2016, 3:12am UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/2 "2016-12-19T03:12:49Z")

</div>

There's a feature request type for the new issue here: [https://bugs.lede-project.org/index.php?do=newtask&project=2](https://bugs.lede-project.org/index.php?do=newtask&project=2)

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [December 19, 2016, 8:00am UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/3 "2016-12-19T08:00:01Z")

</div>

A fully automatic re-install process will likely not be created, as there could be changes in package dependencies etc.

But some ideas for you:

- Save the list of installed packages into /etc/config and it will get automatically saved/restored with your settings.  
`opkg list-installed > /etc/config/packlist.txt`
- There are some scripts that can save package lists and use the list for re-installation after sysupgrade. Read e.g. the discussion here: [https://forum.openwrt.org/viewtopic.php?pid=194478#p194478](https://forum.openwrt.org/viewtopic.php?pid=194478#p194478)  
(I have included mforkel's script in my community build although I do not need it personally)

---

<div class="post-metadata">

**Author:** ![richb-hanover](https://forum.openwrt.org/user_avatar/forum.openwrt.org/richb-hanover/32/26_2.png) [@richb-hanover](https://forum.openwrt.org/u/richb-hanover)\
**Post date:** [December 19, 2016, 2:53pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/4 "2016-12-19T14:53:37Z")

</div>

re: Automated re-install process... It's a little bit of work to set it up, but consider listing all the packages in a script that you can re-run after flashing new firmware.

It's always safe to install without keeping settings, then let the script put your router back to a known state. You can see the current flavor of my script at: [https://github.com/richb-hanover/OpenWrtScripts/blob/master/config-openwrt.sh](https://github.com/richb-hanover/OpenWrtScripts/blob/master/config-openwrt.sh)

---

<div class="post-metadata">

**Author:** ![charcoal](https://forum.openwrt.org/user_avatar/forum.openwrt.org/charcoal/32/127_2.png) [@charcoal](https://forum.openwrt.org/u/charcoal)\
**Post date:** [December 19, 2016, 8:37pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/5 "2016-12-19T20:37:34Z")

</div>

Thanks for the suggestions guys,

I'll defenately keep a list in /config

the scripts look good i hope something like this will be included in the backup section.

---

<div class="post-metadata">

**Author:** ![Doppel-D](https://forum.openwrt.org/user_avatar/forum.openwrt.org/doppel-d/32/32244_2.png) [@Doppel-D](https://forum.openwrt.org/u/Doppel-D)\
**Post date:** [February 23, 2017, 11:39pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/6 "2017-02-23T23:39:41Z")

</div>

Link didn't show something useful and I searched manually for a feature request but couldn't find it (anymore).

Missed something?

---

<div class="post-metadata">

**Author:** ![stangri](https://forum.openwrt.org/user_avatar/forum.openwrt.org/stangri/32/58_2.png) [@stangri](https://forum.openwrt.org/u/stangri)\
**Post date:** [February 24, 2017, 12:57am UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/7 "2017-02-24T00:57:42Z")

</div>

> [@Doppel-D](#):
>
> I searched manually for a feature request but couldn't find it

The link is there so you could create one.

---

<div class="post-metadata">

**Author:** ![Doppel-D](https://forum.openwrt.org/user_avatar/forum.openwrt.org/doppel-d/32/32244_2.png) [@Doppel-D](https://forum.openwrt.org/u/Doppel-D)\
**Post date:** [February 24, 2017, 11:09am UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/8 "2017-02-24T11:09:56Z")

</div>

@stangri Why me? I arrived at last ;- ) Thanks for the link.

[Done](https://bugs.lede-project.org/index.php?do=details&task_id=552)

PS: Please register and vote for this feature!

---

<div class="post-metadata">

**Author:** ![trohn\_javolta](https://forum.openwrt.org/user_avatar/forum.openwrt.org/trohn_javolta/32/49503_2.png) [@trohn\_javolta](https://forum.openwrt.org/u/trohn_javolta)\
**Post date:** [October 2, 2017, 11:40am UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/9 "2017-10-02T11:40:07Z")

</div>

I registered, but how can I vote for this?  
I also want such functionality + option to automatically do such backup, say every week to my nas.

---

<div class="post-metadata">

**Author:** ![Doppel-D](https://forum.openwrt.org/user_avatar/forum.openwrt.org/doppel-d/32/32244_2.png) [@Doppel-D](https://forum.openwrt.org/u/Doppel-D)\
**Post date:** [October 2, 2017, 12:02pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/10 "2017-10-02T12:02:16Z")

</div>

Where the number of actual votes is displayed.....and a +1 which is clickable if you are logged in.

---

<div class="post-metadata">

**Author:** ![trohn\_javolta](https://forum.openwrt.org/user_avatar/forum.openwrt.org/trohn_javolta/32/49503_2.png) [@trohn\_javolta](https://forum.openwrt.org/u/trohn_javolta)\
**Post date:** [October 2, 2017, 12:22pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/11 "2017-10-02T12:22:39Z")

</div>

lol, my bad. wasn't logged in at all.

---

<div class="post-metadata">

**Author:** ![system](https://forum.openwrt.org/uploads/default/original/3X/7/4/740520c71f00039bbf001045c682f0ecb25e905a.png) [@system](https://forum.openwrt.org/u/system)\
**Post date:** [April 14, 2021, 2:20pm UTC](https://forum.openwrt.org/t/feature-request-for-backup-functionality/603/12 "2021-04-14T14:20:56Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
