What's new

BACKUPMON BACKUPMON v1.8.20 -Oct 12, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! CIFS/SMB/NFS! (Thread Closed!)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Correct... in order to restore through the script, you would want the target restoration device to have the same label name as what the source originally was. Ideally, you want to backup to an external network source... so when you ultimately replace your USB flashdrive with an SSD, you can easily rename it to the same thing, and then start your restore.
 
I think I'm doing something wrong.

My setup is a AX86U-pro. I have 2 USB sticks in it.
In the USB 2 port, I have a USB stick that is uses by the router
In the USB 3 port, I have a USB stick that is shared by samba-share and that I use for my backup.

But everytime the script is run (bm (manual) or on schedule) the USB stick in the USB 3 port is unmounted.
This happens if I mount him in USB 2 of USB3 mode.

What is my mistake??





My setup is a
1731229997353.png
 
I think I'm doing something wrong.

My setup is a AX86U-pro. I have 2 USB sticks in it.
In the USB 2 port, I have a USB stick that is uses by the router
In the USB 3 port, I have a USB stick that is shared by samba-share and that I use for my backup.

But everytime the script is run (bm (manual) or on schedule) the USB stick in the USB 3 port is unmounted.
This happens if I mount him in USB 2 of USB3 mode.

What is my mistake??
When the target media type is "network", it will always unmount after the backup completes. Have you tried specifying it as the "usb" media type? When it's set to USB, then it won't unmount.
 
Thanks.. that did the trick

I did get a warning that I was backup to the same USB stick, but I'm certain that is not the case.
 
Thanks.. that did the trick

I did get a warning that I was backup to the same USB stick, but I'm certain that is not the case.
Yeah I'd doublecheck to make sure source and target are different, and that it's dropping backup files where they are supposed to be going. I may not have had the proper messaging anticipated for this particular USB scenario.
 
I don't use EXT USB drive.

We also need clarity around this line. Are you saying your not using one at all?

Or just that your not using one for the backup? Or your using something else instead like a SSD?

If your not using one at all, that's your problem. Backupmon requires a USB even if you don't backup to the USB.
 
Curious, but I think I know the answer 🤔
With the recent breach, would it be possible, to also include the ability to backup/restore the manufacturing partition (mtd10) to recover the device if comproimised?

Even only a backup would be a good start in rebulding it.
Though I suspect there's some Asus gotchas preventing that from happening.
 
Curious, but I think I know the answer 🤔
With the recent breach, would it be possible, to also include the ability to backup/restore the manufacturing partition (mtd10) to recover the device if comproimised?

Even only a backup would be a good start in rebulding it.
Though I suspect there's some Asus gotchas preventing that from happening.
Not even quite sure if we have read/write access to that partition. We can only save and restore what the OS allows us to interact with at this point. Great question though!
 
Help needed windows 11 permissions (at least that's what it appears to be)

3 days ago my Windows 11 setup crashed. After trying various repairs, I settled on a new install on another partition (dual boot, leaving the old install in place for now)
The backup destination is on a separate partition and that has not been changed

BACKUPMON was (and is ) working perfectly on the old install
On the new install BACKUPMON cannot mount the destination share
The destination share is accessible from the other devices on the LAN
SMB2/3 tests fine.
Network sharing (private) is set to Discovery: On and File and Printer Sharing: On
Disabling the (windows default) firewall does not help

Using the test setup
BEFORE (old install partition)
INFO: Backup Target (10.50.60.115) reachable via PING.
INFO: External test drive mount point exists. Found under: /tmp/mnt/backups
STATUS: External test drive (\\10.50.60.115\Router) mounted successfully under: /tmp/mnt/backups
....
NOW (new install partition)
INFO: Backup Target (10.50.60.115) reachable via PING.
INFO: External test drive mount point exists. Found under: /tmp/mnt/backups
mount: mounting \\10.50.60.115\Router on /tmp/mnt/backups failed: Permission denied

Any suggestions on what I am missing or can try next?
 
Last edited:
Help needed windows 11 permissions (at least that's what it appears to be)

3 days ago my Windows 11 setup crashed. After trying various repairs, I settled on a new install on another partition (dual boot, leaving the old install in place for now)
The backup destination is on a separate partition and that has not been changed

BACKUPMON was (and is ) working perfectly on the old install
On the new install BACKUPMON cannot mount the destination share
The destination share is accessible from the other devices on the LAN
SMB2/3 tests fine.
Network sharing (private) is set to Discovery: On and File and Printer Sharing: On
Disabling the (windows default) firewall does not help

Using the test setup
BEFORE (old install partition)
INFO: Backup Target (10.50.60.115) reachable via PING.
INFO: External test drive mount point exists. Found under: /tmp/mnt/backups
STATUS: External test drive (\\10.50.60.115\Router) mounted successfully under: /tmp/mnt/backups
....
NOW (new install partition)
INFO: Backup Target (10.50.60.115) reachable via PING.
INFO: External test drive mount point exists. Found under: /tmp/mnt/backups
mount: mounting \\10.50.60.115\Router on /tmp/mnt/backups failed: Permission denied

Any suggestions on what I am missing or can try next?
How do you have the actual share configured? Do you have a username configured to allow for read/write access to this share, or are you using the Everyone group? Also, since you did do a complete reinstall on your second partition, are you sure your IP address is still the same?

1732727021752.png
 
How do you have the actual share configured? Do you have a username configured to allow for read/write access to this share, or are you using the Everyone group? Also, since you did do a complete reinstall on your second partition, are you sure your IP address is still the same?

View attachment 62653
IP address is unchanged (it is set via the MAC address) in LAN - DHCP Server
Permissions are for Everyone

1732729655339.png
 
Code:
PS C:\Users\archi> Get-SmbServerConfiguration | Select EnableSMB2Protocol


EnableSMB2Protocol
------------------
              True

It would appear that the the network sharing is not working quite as expected, although
1732734686767.png


in the backup settings it still requires an actual Test Target Username to work. Setting this to Everyone (no password) in (ts) Test your Network Backup Target
Code:
(1) : Test Target Media Type                       : Network
  (2) : Test Target Username                         : Everyone
  (3) : Test Target Password                         :
  (4) : Test Target UNC Path                         : \\\\10.50.60.115\\Router
   |---  Test NFS Mount Options                      : N/A
  (5) : Test Target Backup Mount Point               : /tmp/mnt/backups
  (6) : Test Target Dir Path                         : /RT-AX88U-Backups
  (7) : Test CIFS/SMB Version                        : 3.0
   |
  (t) : Test your Network Backup Connection
  (p) : Import your Primary Backup Settings
  (s) : Import your Secondary Backup Settings
  (e) : Exit Back to Setup + Operations Menu
works, but (sc) : Setup and Configure BACKUPMON will not allow me to add a blank passowrd.
 
WARNING: A mistake with Busybox dd command can cause serious damage!

I am curious how the mtd partition was recovered on the routers effected. As the filesystem is not mountable, the recovery cannot be file based like "tar".

Here is how I
have backed up mine:

Code:
dd if=/dev/mtdblock9 of=/tmp/mnt/smb/share/backup/jffs_dd_20241124.bin bs=1M

Swapping the input and output arguments would restore it.

As you can see, the mtd partition on my router is 9 rather than 10.
 
Code:
PS C:\Users\archi> Get-SmbServerConfiguration | Select EnableSMB2Protocol


EnableSMB2Protocol
------------------
              True

It would appear that the the network sharing is not working quite as expected, although
View attachment 62661

in the backup settings it still requires an actual Test Target Username to work. Setting this to Everyone (no password) in (ts) Test your Network Backup Target
Code:
(1) : Test Target Media Type                       : Network
  (2) : Test Target Username                         : Everyone
  (3) : Test Target Password                         :
  (4) : Test Target UNC Path                         : \\\\10.50.60.115\\Router
   |---  Test NFS Mount Options                      : N/A
  (5) : Test Target Backup Mount Point               : /tmp/mnt/backups
  (6) : Test Target Dir Path                         : /RT-AX88U-Backups
  (7) : Test CIFS/SMB Version                        : 3.0
   |
  (t) : Test your Network Backup Connection
  (p) : Import your Primary Backup Settings
  (s) : Import your Secondary Backup Settings
  (e) : Exit Back to Setup + Operations Menu
works, but (sc) : Setup and Configure BACKUPMON will not allow me to add a blank passowrd.
You can put whatever name you want in the username/password if you're using an Everyone Group user. Like mine is set to "Admin/admin".
 
You can put whatever name you want in the username/password if you're using an Everyone Group user. Like mine is set to "Admin/admin".
I agree, that's what should work and (on the old install does), but on the new (current) install that is not happening

So in Test setup
(2) : Test Target Username : Everyone
(3) : Test Target Password :
works
Code:
INFO: Backup Target (10.50.60.115) reachable via PING.
INFO: External test drive mount point exists. Found under: /tmp/mnt/backups
STATUS: External test drive (\\10.50.60.115\Router) mounted successfully under: /tmp/mnt/backups
....

But
(2) : Test Target Username : Everyone
(3) : Test Target Password : any password (e.g. 1234)
does not!
Code:
INFO: Backup Target (10.50.60.115) reachable via PING.
INFO: External test drive mount point exists. Found under: /tmp/mnt/backups
mount: mounting \\10.50.60.115\Router on /tmp/mnt/backups failed: Permission denied
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top