Question about backup feature (nfs vs. smb)

Hello again,
am happy user of multiple dietpi devices for many years, including backup feature to NFS share and so on.
My latest network overhaul got me, when I found out that dietpi-backup is not working with smb mounted drives (eg. ciffs)
As I can understand probably why… is there a way how to backup to smb drive anyway? or some kind of archive to be generated and transferred on the backup device?

It’s not a big deal for me to spin up NFS shares again, but in my new network approach I wanted to get rid of theese for good. :slight_smile:

We don’t support SMB because SMB is not supporting Linux file system permission and symbolic links. Therefore, you would need to build something on your own. Like do a regular backup and afterwards run a script to compress/tar the backup folder before moving to SMB.

1 Like

you can use rsync

Dietpi-backup uses rsync anyway. The problem is with the destination file system.
A solution would be to make a tar archive of the backup first, then upload it to the smb server.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.