- Thread Starter
- #26
Thanks again to everyone for your help.
Please correct me if I'm wrong: If I want to automate snapshot creation and zfs send (using a cronjob) to another server on the local network, I don't need to set up NFS shares (or FTP or whatever) on the target computer that will receive the snapshots since I can just use SSH for transferring backups?
So the FreeNAS machine on which I'll store the snapshots (the first one being a full backup of the zpool and the subsequent times this will only be an incremental backup from the very latest snapshot from what I understand) will only require OpenSSH server (well that's something that virtually already needs to be installed on a server anyway)? Is there a version of FreeBSD similar to the debian netinstall iso, which let you choose what services you want to install (I usually only select SSH server + system utilities and install manually other packages depending on the server's roles).
Do you think the fact that FreeBSD 10.1 will be shipped with a different (more recent) version of ZFS that the one installed on the Samba server might cause any issue? I suppose it's backward compatible, but if so, will I be able to take advantages of the new features implemented in the newest version of ZFS?
I've seen quite a few articles that recommend using SSDs for caching in order to improve performance of the file system. Since 1 GB of RAM is on the low end, is it a good idea to use SSDs for L2ARC (read cache, so it doesn't really matter if the SSDs die, data will just be read from the HDD no matter what) and ZIL (write cache for logs, so to be on the safe side I should use a mirror of at least 2 SSDs) cache? It will be more beneficial since the hardware is really old and is expected to perform poorly?
, as mentioned earlier, the server has a RAID controller, so I must not use RAID 5 for instance, but only JBOD or "HBA mode" otherwise ZFS will not have access to raw drives and therefore will not be able to use its specific mechanisms that make it so powerful?
Last but not least, what are the differences between the
I know for exmaple what
) , but for
Please correct me if I'm wrong: If I want to automate snapshot creation and zfs send (using a cronjob) to another server on the local network, I don't need to set up NFS shares (or FTP or whatever) on the target computer that will receive the snapshots since I can just use SSH for transferring backups?
So the FreeNAS machine on which I'll store the snapshots (the first one being a full backup of the zpool and the subsequent times this will only be an incremental backup from the very latest snapshot from what I understand) will only require OpenSSH server (well that's something that virtually already needs to be installed on a server anyway)? Is there a version of FreeBSD similar to the debian netinstall iso, which let you choose what services you want to install (I usually only select SSH server + system utilities and install manually other packages depending on the server's roles).
Do you think the fact that FreeBSD 10.1 will be shipped with a different (more recent) version of ZFS that the one installed on the Samba server might cause any issue? I suppose it's backward compatible, but if so, will I be able to take advantages of the new features implemented in the newest version of ZFS?
I've seen quite a few articles that recommend using SSDs for caching in order to improve performance of the file system. Since 1 GB of RAM is on the low end, is it a good idea to use SSDs for L2ARC (read cache, so it doesn't really matter if the SSDs die, data will just be read from the HDD no matter what) and ZIL (write cache for logs, so to be on the safe side I should use a mirror of at least 2 SSDs) cache? It will be more beneficial since the hardware is really old and is expected to perform poorly?
, as mentioned earlier, the server has a RAID controller, so I must not use RAID 5 for instance, but only JBOD or "HBA mode" otherwise ZFS will not have access to raw drives and therefore will not be able to use its specific mechanisms that make it so powerful?
Last but not least, what are the differences between the
zfs send commands with a pipe and those with a redirect standard output?I know for exmaple what
ls -ltr /home/user | grep script or find / -name "*.py" > Python_Scripts.txt do (well those are relatively basic commands, but I can't yet give an example using awk without copying/pasting it from google zfs send , is it basically the same result that they allow to achieve with a different manner?