# Usefulscripts backup or the backup Module?

**URL:** <https://community.openenergymonitor.org/t/usefulscripts-backup-or-the-backup-module/8846>\
**Category:** Emoncms\
**Created:** [15 October 2018 18:49 UTC](https://community.openenergymonitor.org/t/usefulscripts-backup-or-the-backup-module/8846 "2018-10-15T18:49:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [15 October 2018 18:49 UTC](https://community.openenergymonitor.org/t/usefulscripts-backup-or-the-backup-module/8846/1 "2018-10-15T18:49:05Z")

</div>

Is there any inherent difference between the backup script found in the usefulscrips repository, and the backup Module?

I have tried to install the backup module (admittedly directly into the Modules folder rather than linking) but the menu entry does not appear.

I have checked in a private window and rebooted. File permissions seem fine, no errors in log.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [15 October 2018 18:58 UTC](https://community.openenergymonitor.org/t/usefulscripts-backup-or-the-backup-module/8846/2 "2018-10-15T18:58:26Z")

</div>

The backup module needs to be outside the “www” pathe for security reasons and only the backup/backup folder should be linked into the Modules folder, so (for example) the path to `backup_view.php` should be `emoncms/Modules/backup/backup_view.php` not `emoncms/Modules/backup/backup/backup_view.php`.

I use the usefulscripts because I’m used to that and feel I have more control.

Have you tried the emoncms/sync module? Just to muddy the waters a bit with another option 😄

Are you trying to do an incremental backup, maintain a sync’d copy or migrate across setups?

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [15 October 2018 19:04 UTC](https://community.openenergymonitor.org/t/usefulscripts-backup-or-the-backup-module/8846/3 "2018-10-15T19:04:31Z")

</div>

> [@pb66](#):
>
> Are you trying to do an incremental backup, maintain a sync’d copy or migrate across setups?

I’d like to do regular backups. I’m not bothering to migrate data, I don’t have that much interest in it.

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [16 October 2018 09:48 UTC](https://community.openenergymonitor.org/t/usefulscripts-backup-or-the-backup-module/8846/4 "2018-10-16T09:48:35Z")

</div>

That would sound like a task for the backup module, which I’ve never tried. @Paul did some work on this topic using rsync (if I recall correctly) but I don’t know if that is still active.

---

<div class="post-metadata">

**Author:** ![Paul](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/paul/32/28_2.png) [@Paul](https://community.openenergymonitor.org/u/Paul)\
**Post date:** [16 October 2018 18:09 UTC](https://community.openenergymonitor.org/t/usefulscripts-backup-or-the-backup-module/8846/5 "2018-10-16T18:09:46Z")

</div>

I’ve tended to use my [own backup scripts to backup data automatically to Dropbox](https://gist.github.com/Paul-Reed/c29cfa755fed666805956eb6da42a0d0) - which is pretty much fit & forget, and my backups are safely stored off-site in Dropbox.

Paul
