Hello,
first my english is not that good sry for that.
What i want to do:
i have an *.tar.gz file on my local computer and wanna upload this on my RUT950 via SSH and then wanna Restore this config file on the 950 via ssh. Can anyone help me? I have already found this but i dont get through in where is the backup file on my PC after the first command and how could i replace this with that one i want?:
Back up OpenWrt configuration to local PC.
# Generate backup
umask go=
sysupgrade -b /tmp/backup-${HOSTNAME}-$(date +%F).tar.gz
ls /tmp/backup-*.tar.gz
# Download backup
scp root@openwrt.lan:/tmp/backup-*.tar.gz .
Restore previously saved OpenWrt configuration from local PC.
# Upload backup
scp backup-*.tar.gz root@openwrt.lan:/tmp
# Restore backup
ls /tmp/backup-*.tar.gz
sysupgrade -r /tmp/backup-*.tar.gz