Skip to content

A scheduled backup script with retention for Merlin-powered Asus routers using the NSRU.

License

Notifications You must be signed in to change notification settings

ttgapers/backup-merlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

backup-merlin

Pre-requisites

  1. Currently only supports Asus routers running Merlin firmware
  2. Installed supported version of [NVRAM Save Restore Utility] (https://github.com/Xentrk/nvram-save-restore-utility)
  3. USB Storage
  4. JFFS Custom Scripts Enabled

Install Example

  1. Run the installer:

    mkdir -p /jffs/addons/schedbackup && /usr/sbin/curl -s "https://raw.githubusercontent.com/ttgapers/backup-merlin/master/backup-merlin.sh" -o "/jffs/addons/schedbackup/backup-merlin.sh" && chmod 755 /jffs/addons/schedbackup/backup-merlin.sh
  2. Edit backup-merlin.sh and update BLOC to reflect USB name, and RETENTION for your chosen retention in days (default 7)

  3. Edit /jffs/script/services-start

  4. Add /jffs/addons/schedbackup/backup-merlin.sh

  5. Execute /jffs/addons/schedbackup/backup-merlin.sh OR Reboot router to only add scheduled task

Uninstall/Remove

  1. SSH to the router and execute:

  2. Delete /jffs/addons/schedbackup folder

  3. Edit /jffs/script/services-start

  4. Remove /jffs/addons/schedbackup/backup-merlin.sh

About

A scheduled backup script with retention for Merlin-powered Asus routers using the NSRU.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages