Hallo,
gibt es eine Möglichkeit, eine SMB-Freigabe auf das NAS zu sichern?
Aus sicht des NAS sollen die Daten nicht von einem Client gesendet werden, das NAS soll sich aktiv Daten einer SMB Share holen und sichern.
Beispielhaft eine SMB Share einer FritzBox soll gesichert werden.
##############
Hello,
Is there a way to back up an SMB share to the NAS?
From the NAS's perspective, the data shouldn't be sent by a client; the NAS should actively retrieve and back up data from the SMB share.
For example, I'd like to back up an SMB share on a Fritz!Box.
Thanks
Kharim
Backup SMB Share with TOS6 ?
Re: Backup SMB Share with TOS6 ?
From the NAS you can connect to any, visible remote SMB share using "Remote Folder" on the NAS. When connected, the remote folder contents will be seen on the NAS (using File manager in the simplest form). You can use any suitable software ("app") to make copies as you wish.
e.g. I use 'TFM Backup' tasks on nas2 to copy data from the remote folder (my main windows backups) on nas1. These can be scheduled as desired or even run as a on-off copy.
(Note: remote folder can be set to mount on reboot.
e.g. I use 'TFM Backup' tasks on nas2 to copy data from the remote folder (my main windows backups) on nas1. These can be scheduled as desired or even run as a on-off copy.
(Note: remote folder can be set to mount on reboot.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
Re: Backup SMB Share with TOS6 ?
Hi Gremlin,
thanks for your replay.
Nearly perfekt, but...can i plan the task on reboot nas?
On the moment my nas doesn't run 24/7 because i use it only for month backup.
So i switch it on every month without an fixed day.
Thanks
Kharim
Edit:
Too soon to celebrate. I can't copy the Fritz!Box data, not even manually.
Mounting is fine, but copying isn't possible.
Any idea why?
TFM say for any file:
Error 2025-12-28 11:08:20 FritzBox Backup fehlgeschlagen! TFM Backup_/Volume1/public/FritzBox/check.txt open file failed: open /Volume1/public/FritzBox/check.txt: stale NFS file handle




thanks for your replay.
Nearly perfekt, but...can i plan the task on reboot nas?
On the moment my nas doesn't run 24/7 because i use it only for month backup.
So i switch it on every month without an fixed day.
Thanks
Kharim
Edit:
Too soon to celebrate. I can't copy the Fritz!Box data, not even manually.
Mounting is fine, but copying isn't possible.
Any idea why?
TFM say for any file:
Error 2025-12-28 11:08:20 FritzBox Backup fehlgeschlagen! TFM Backup_/Volume1/public/FritzBox/check.txt open file failed: open /Volume1/public/FritzBox/check.txt: stale NFS file handle




Re: Backup SMB Share with TOS6 ?
Einmal mehr zeigt sich, weg von GUI, Konsole für immer...
Das Internet empfiehlt (für das Einbinden einer FritzBox) die Mount Option "noserverino".
Natürlich kann man in der GUI keine Optionen angeben.
Also das Ganze per SSH.
-SSH aktivieren
- "apt install cifs-utils"
- "chmod 755 /usr/sbin/mount.cifs"
Und nun:
"mount -o username='USER',noserverino //192.168.101.1/FRITZ.NAS/SanDisk_CruzerBlade_01/Raspi /Volume1/public/FritzBox/"
...läuft UND es lassen sich Dateien kopieren!
Es wäre nun zu einfach, wenn "TOS" einen /etc/fstab Eintrag verarbeiten würde....
Also "geplante Aufgabe" erstellt, mit Mount-Befehl (und Passwort).
Damit ist nach einem Neustart die Freigabe der FritzBox gemountet.
An dieser Stelle (Aufgabe) noch den rsync Befehl dazu und "schon" ist auch das Backup bei Start erledigt.
######
Once again, it's clear: away from the GUI, the console is the way to go...
The internet recommends the mount option "noserverino" (for mounting a Fritz!Box).
Of course, you can't specify options in the GUI.
So, it's all done via SSH.
- Enable SSH
- "apt install cifs-utils"
- "chmod 755 /usr/sbin/mount.cifs"
And now:
"mount -o username='USER',noserverino //192.168.101.1/FRITZ.NAS/SanDisk_CruzerBlade_01/Raspi /Volume1/public/FritzBox/"
...it works AND files can be copied!
It would be too easy if "TOS" could process an /etc/fstab entry....
So, I created a scheduled task with the mount command (and password).
After a reboot, the Fritz!Box share is mounted.
At this point (task), add the rsync command and the backup will be completed on startup.
#####
https://debianforum.de/forum/viewtopic.php?t=176154
https://wiki.ubuntuusers.de/mount.cifs/
https://discussion.fedoraproject.org/t/ ... ns/77030/4
https://wiki.ubuntuusers.de/rsync/
Das Internet empfiehlt (für das Einbinden einer FritzBox) die Mount Option "noserverino".
Natürlich kann man in der GUI keine Optionen angeben.
Also das Ganze per SSH.
-SSH aktivieren
- "apt install cifs-utils"
- "chmod 755 /usr/sbin/mount.cifs"
Und nun:
"mount -o username='USER',noserverino //192.168.101.1/FRITZ.NAS/SanDisk_CruzerBlade_01/Raspi /Volume1/public/FritzBox/"
...läuft UND es lassen sich Dateien kopieren!
Es wäre nun zu einfach, wenn "TOS" einen /etc/fstab Eintrag verarbeiten würde....
Also "geplante Aufgabe" erstellt, mit Mount-Befehl (und Passwort).
Damit ist nach einem Neustart die Freigabe der FritzBox gemountet.
An dieser Stelle (Aufgabe) noch den rsync Befehl dazu und "schon" ist auch das Backup bei Start erledigt.
######
Once again, it's clear: away from the GUI, the console is the way to go...
The internet recommends the mount option "noserverino" (for mounting a Fritz!Box).
Of course, you can't specify options in the GUI.
So, it's all done via SSH.
- Enable SSH
- "apt install cifs-utils"
- "chmod 755 /usr/sbin/mount.cifs"
And now:
"mount -o username='USER',noserverino //192.168.101.1/FRITZ.NAS/SanDisk_CruzerBlade_01/Raspi /Volume1/public/FritzBox/"
...it works AND files can be copied!
It would be too easy if "TOS" could process an /etc/fstab entry....
So, I created a scheduled task with the mount command (and password).
After a reboot, the Fritz!Box share is mounted.
At this point (task), add the rsync command and the backup will be completed on startup.
#####
https://debianforum.de/forum/viewtopic.php?t=176154
https://wiki.ubuntuusers.de/mount.cifs/
https://discussion.fedoraproject.org/t/ ... ns/77030/4
https://wiki.ubuntuusers.de/rsync/

