It would be really helpful to have 2 backups of my router. One with and one without the swapfile so that, if for whatever reason, the primary backup (without) is unable to restore my router then I can attempt it with the secondary backup (with). I've had issues with recreating the swapfile...
Sorry @Viktor Jaep , I forgot to mention that I have backed up to AND restored from secondary NFS (Main NFS Server, different IP) without any issues (without swapfile).
I wanted to try it because I had issues when trying to recreate my 5GB swapfile (I know it's overkill but I've got space to...
Works now:
Messages:
INFO: Backup Target (192.168.1.13) reachable via PING.
WARNING: External test drive mount point not set. Created under: /tmp/mnt/backups
STATUS: External test drive (192.168.1.13:/volume/TestNFS) mounted successfully under: /tmp/mnt/backups
STATUS: Daily Test Backup...
@Viktor Jaep I'll post the testing step by step incase I've missed something:
Here is the directory before:
ls -aln Router/ASUSMerlin/RT-AX88U/
total 420
drwxrwxrwx+ 1 1032 65540 220 Mar 21 17:28 .
drwxrwxrwx+ 1 1032 65540 16 Mar 19 11:54 ..
drwxrwxrwx+ 1 1032 65540 90 Mar 21 07:21...
That's awesome. This will definitely useful for when I start looking into custom scripts.
Just tested and it is the same error.
Messages:
INFO: Backup Target (192.168.1.13) reachable via PING.
INFO: External test drive mount point exists. Found under: /tmp/mnt/backups
STATUS: External test...
@Viktor Jaep Thanks for the amazing work you've done on this and for being so interactive in this community. Here are my results:
1. Test NFS Mount Options were not asked for when manually configuring (might be useful to others when configuring/optimizing NFS to use different options than the...
It's a Sandisk Ultra Fit Flashdrive until I am able to get a small enough SSD to replace it with.
Thanks. That worked.
@Viktor Jaep It backed up successfully.
55 Mar 20 2024 15:58:04 router BACKUPMON[19132] - INFO: Successfully wrote a new config file
56 Mar 20 2024 15:58:11 router...
@Viktor Jaep You were right. "dcl" shows:
disk_check.log has this content:
START FILE
_____________________________________________
Tue Mar 19 22:53:21 GMT 2024 Waited 3s for NTP to sync date
Tue Mar 19 22:53:21 GMT 2024 Probing 'ext4' on device /dev/sda1
Running disk check with command...
BusyBox v1.25.1 (2024-02-26 21:49:40 EST) multi-call binary
Just did a quick scan of the files and didn't find any. I can share a recursive list of files in the directory privately if you want to have a look.
Last time I used the script it didn't work. But I'll try it again now.
This...
Run it without the trailing slash and added the verbose flag. Still got the same result:
user@router:/tmp/mnt# tar -zvcf /tmp/mnt/backups/Router/ASUSMerlin/RT-AX88U/19/usbdrive-test.tar.gz -C /tmp/mnt/Drive1
tar: empty archive
Is there anyway to backup without the EXT Drive for the sake of...
@Viktor Jaep it was still mounted on /backups but I'm assuming it's because the backup did not complete successfully?
Anyway, this is what I got:
user@router:/tmp/mnt# tar -zcf /tmp/mnt/backups/Router/ASUSMerlin/RT-AX88U/19/usbdrive-test.tar.gz -C /tmp/mnt/Drive1/
tar: empty archive...
Just tested it and it failed to complete the backup. Mounting with & without mount options worked and it was able to write the data. Below are the logs:
33 Mar 19 2024 11:52:31 router BACKUPMON[12091] - INFO: Successfully wrote a new config file
34 Mar 19 2024 11:53:14 router BACKUPMON[12091]...