Hello everybody, I'm reading posts for over a year but this is my first post :).
I read a lot of how USB hard drives shouldn't be used in Freenas, mostly because they were using it as a primary HDD.
But my idea is to use it as a backup solution, connect a usb hdd once a week make a copy and disconnect the drive. As in other NAS solutions software they have a utility to copy the files from the NAS to an external hard drive. To my knowledge there is no advice in this forum for that. Some people just connect the hard drive to another computer and transfer all the files. But I think we should be able to connect the usb drive to the server and make a backup of the data.
So I want to start a discussion about "best practices" or how we can achieve having this feature.
My questions are:
1. Is possible to make it ? Or there're other usb related problems?
2. Which filesystem we should use on the drive?
What I thing it should do is as a pseudo-code
1) Detect and mount the USB drive
2) Perform some analysis of the drive, SMART test? Check corruption? Integrity?
3) Perform a backup using ZFS or RSYNC
4) Unmount the drive and let us know that we can unplug the drive.
What do you think?
thanks.
I read a lot of how USB hard drives shouldn't be used in Freenas, mostly because they were using it as a primary HDD.
But my idea is to use it as a backup solution, connect a usb hdd once a week make a copy and disconnect the drive. As in other NAS solutions software they have a utility to copy the files from the NAS to an external hard drive. To my knowledge there is no advice in this forum for that. Some people just connect the hard drive to another computer and transfer all the files. But I think we should be able to connect the usb drive to the server and make a backup of the data.
So I want to start a discussion about "best practices" or how we can achieve having this feature.
My questions are:
1. Is possible to make it ? Or there're other usb related problems?
2. Which filesystem we should use on the drive?
What I thing it should do is as a pseudo-code
1) Detect and mount the USB drive
2) Perform some analysis of the drive, SMART test? Check corruption? Integrity?
3) Perform a backup using ZFS or RSYNC
4) Unmount the drive and let us know that we can unplug the drive.
What do you think?
thanks.