Question DietPi: What about the user name and password setup for sending your dietpi backup to your truenas scale samba fold /mnt/DietpiBackup, then it was said to put on the raspberry pi Dietpi os create a folder first lets say DietpiBackup now.
How to /DietpiBackup to the nas /mnt/DietpiBackup and have the username , password in so that we can do what is below to automat this to backup Dietpi twice a week and then auto send that back up file/folder/all to TureNAS scale samba folder name DietpiBackup that is like this /mnt/DietpiBackup
Any help on clearing this up for everyone.
Can we just put it all in this file - - The file containing the filter definitions is `/boot/dietpi/.dietpi-backup_inc_exc. and how will the user name password work for it to send the files on to the nas and everything is ok?
The automatic daily backup (activated via option “Daily Backup”, see screenshot above) is controlled via the Linux cron mechanism. Setting a different starting time can be an option, e.g. if you have several backup clients backing up to the same storage (backup server): Shifting the backup starting time of these systems may reduce temporary overload of the backup server by avoiding concurrent access to the storage.
The starting time is basically defined via the file /etc/crontab (which calls the backup/restore function via the /etc/cron.daily/dietpi script). It can be changed via the entry cron.daily within [dietpi-cron]. It is executed by running the following command
dietpi-cron
Please keep in mind that all other daily cron based procedures are also started at this changed time.
Backup file selection (Filter)[¶]
The definition which files are used for the backup procedure is defined via the option “Filter” (see screenshot above). This opens nano to edit the include/exclude definitions for the backup.
The filter definition syntax is described within the file itself.
The file containing the filter definitions is /boot/dietpi/.dietpi-backup_inc_exc.
dietpi how to send the backup files that get backed up from dietpi and also after that backup all the files on the raspberry pi 3 dietpi os to truenas scale using nfs or samba
it keeps put all the files on the raspberry pi dietpi and i do not see the flies on the truenas scale dataset folders setup and have tried samba and nfs dietpi > truenas
yeah, but no one gives sample info steps caz the ones that I have done are not working correctly and i am trying to understand how it works then. I have been reading DietPi pages and samples every where and got it to say it is working and no it’s not. So do you have instructions. because just saying these same things that have been done doesn’t help
do you know how to mount that, have you done this ?
because the menu i use from dietpi and i have been testing this and changing things in all direction to get this to work. it only put the folder and file on the raspberry pi DietPi it self.
just trying to fat check because it is mounted and done how it’s is suppose to be but and in one case it showed the file transfer speed number like it was sending it but i didn’t see any of the file and didn’t see any of the space being taken up so it was faking it.
samba
or
nfs
nfs seams to be the right one to use but i should be able to us samba shared folder to dump these.
how would you do it that can show in the menu area break down to see if i am doing this correct an or what is going on with this, cuz it is setup correctly
I can guarantee you it’s working, otherwise the forum would be full with complaints
Start the NFS server on your NAS. On your RPi you can check if the share of available with showmount -e IP_of_NAS.
Then just mount it with dietpi-drive_manager. Then you just have to set this location inside dietpi-backup as your backup destination.
SAMBA will not work because it does not support Linux file system permissions. We do not create dumps. It is a full file system synchronisation with the rsync tool. Therefore you have to use NFS. Just mount your NFS drive and specify the new mount point in dietpi-backup as the destination. That’s it.