My primary backup config below.
The backup gets saved on the Network drive that gets mounted and unmounted on /tmp/mnt/backups
All works ok.
customizable parameters that affect the operation of the primary backup.
---------------------------------------------------------------------------------------
: BACKUPMON Version : 1.8.22
: Source Router Model : RT-AX86U_Pro
: Source Router Firmware/Build : 3006.102.4_0
(1) : Source EXT USB Drive Mount Point : /tmp/mnt/Merlin
(2) : Backup Target Media Type : Network
(3) : Backup Target Username : peter
(4) : Backup Target Password (ENC) : c21ic2FtYmEK
(5) : Backup Target Path : \\\\192.168.50.46\\RouterUSB
|---- NFS Mount Options? : N/A
(6) : Backup Target Mount Point : /tmp/mnt/backups
(7) : Backup Target Directory Path : /router/RT-AX86U_Pro_Backups
(8) : Backup Exclusion File : /jffs/addons/backupmon.d/pfexclusion.txt
(9) : Backup Swap File : No
(10) : Backup CIFS/SMB Version : 2.1
(11) : Backup Retention : Yearly
|---- Purge Backups : No
|---- Purge older than (days) : N/A
(12) : Backup/Restore Mode : Basic
(13) : Schedule Backups : No
|---- Time: : 2:30
|---- Scheduled Backup Mode : Backup Only
(14) : AMTM Email Notifications : Yes
|---- On Success : Yes
|---- On Failure : Yes
(15) : Secondary Backup Config Options : Disabled
|
(s) : Save Config & Exit
(e) : Exit & Discard Changes
For the secondary config
1 Enabled
2 USB
3 router user
4 router password
selection: 6
Select a Secondary Target USB Backup Drive Mount Point:
1. /dev/sda1 on /tmp/mnt/Merlin type ext4
2. /dev/sdb1 on /tmp/mnt/backups_usb type ext4
Enter selection:[1-2] [e=Exit]?
I choose 2
I thought it do a secondary backup to USB backups_usb
But by having the USB plugged into the router the primary backup errors umount: can't unmount /tmp/mnt/backups: Invalid argument which is where the network drive is mounted. I don't understand why the USB would cause this issue.
The reason I went down this secondary backup option was I don't always have my server on and I noticed with MerlinAU will try to do a backup before updating the firmware. And seeing the router is always on it can do the backup there if the server is off.
The backup gets saved on the Network drive that gets mounted and unmounted on /tmp/mnt/backups
All works ok.
customizable parameters that affect the operation of the primary backup.
---------------------------------------------------------------------------------------
: BACKUPMON Version : 1.8.22
: Source Router Model : RT-AX86U_Pro
: Source Router Firmware/Build : 3006.102.4_0
(1) : Source EXT USB Drive Mount Point : /tmp/mnt/Merlin
(2) : Backup Target Media Type : Network
(3) : Backup Target Username : peter
(4) : Backup Target Password (ENC) : c21ic2FtYmEK
(5) : Backup Target Path : \\\\192.168.50.46\\RouterUSB
|---- NFS Mount Options? : N/A
(6) : Backup Target Mount Point : /tmp/mnt/backups
(7) : Backup Target Directory Path : /router/RT-AX86U_Pro_Backups
(8) : Backup Exclusion File : /jffs/addons/backupmon.d/pfexclusion.txt
(9) : Backup Swap File : No
(10) : Backup CIFS/SMB Version : 2.1
(11) : Backup Retention : Yearly
|---- Purge Backups : No
|---- Purge older than (days) : N/A
(12) : Backup/Restore Mode : Basic
(13) : Schedule Backups : No
|---- Time: : 2:30
|---- Scheduled Backup Mode : Backup Only
(14) : AMTM Email Notifications : Yes
|---- On Success : Yes
|---- On Failure : Yes
(15) : Secondary Backup Config Options : Disabled
|
(s) : Save Config & Exit
(e) : Exit & Discard Changes
For the secondary config
1 Enabled
2 USB
3 router user
4 router password
selection: 6
Select a Secondary Target USB Backup Drive Mount Point:
1. /dev/sda1 on /tmp/mnt/Merlin type ext4
2. /dev/sdb1 on /tmp/mnt/backups_usb type ext4
Enter selection:[1-2] [e=Exit]?
I choose 2
I thought it do a secondary backup to USB backups_usb
But by having the USB plugged into the router the primary backup errors umount: can't unmount /tmp/mnt/backups: Invalid argument which is where the network drive is mounted. I don't understand why the USB would cause this issue.
The reason I went down this secondary backup option was I don't always have my server on and I noticed with MerlinAU will try to do a backup before updating the firmware. And seeing the router is always on it can do the backup there if the server is off.