Difference between revisions of "Ros3 Backup Store"

From CTWUG Wiki
Jump to: navigation, search
(New page: This script will create a backup of your RB's configuration and store it on the RB under "Files". I find it very useful to have at least some sort of backup locally on my rb for the times ...)
 
Line 1: Line 1:
This script will create a backup of your RB's configuration and store it on the RB under "Files". I find it very useful to have at least some sort of backup locally on my rb for the times that all goes wrong, something is better than nothing. This script will work as is, just navigate to System/Scripts and run it. Check out **** to create a schedule, that will run the script at a predefined period.
+
=Info=
 +
This script will create a backup of your RB's configuration and store it on the RB under "Files". I find it very useful to have at least some sort of backup locally on my rb for the times that all goes wrong, something is better than nothing. This script will work as is, just navigate to System/Scripts and run it.  
  
 +
==Setup==
 +
For this script to function correctly, there are a few things that will need to be setup.
 +
* Routerboard Identity Setup [[rb_Identity]]
 +
* Routerboard Time Setup, either manually [[rb_time_manual]] or via NTP [[rb_ntp_setup]]
 +
 +
==Enhancements==
 +
* Check out **** to create a schedule, that will run the script at a predefined period.
 +
 +
==Script==
  
 
<code>
 
<code>

Revision as of 10:57, 18 November 2008

Info

This script will create a backup of your RB's configuration and store it on the RB under "Files". I find it very useful to have at least some sort of backup locally on my rb for the times that all goes wrong, something is better than nothing. This script will work as is, just navigate to System/Scripts and run it.

Setup

For this script to function correctly, there are a few things that will need to be setup.

Enhancements

  • Check out **** to create a schedule, that will run the script at a predefined period.

Script

log info "Weekly Backup beginning now"

/system backup save name=([/system identity get name] . "-" . [:pick [/system clock get date] 4 6] . [:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 7 11]);

log info "Weekly Backup done"