archive-org.com » ORG » F » FREENAS.ORG

Total: 927

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • FC target support in FreeNAS 9.1.0 | Page 3 | FreeNAS Community
    For the follow what are the possible values hint isp 0 role Target 0 Initiator 1 Both 2 or None 0 Target 1 Initiator 2 Both 3 For the ctladm port o on t fc We could do a post script to execute after Click to expand I know it s all conflicting everywhere I can say that I have it working as a target with my config not sure if that is Target or Both but it works Attached screenshot is the ctladm command or script not sure which but it works No manual anything on reboot aran kaspar Feb 14 2015 49 Offline aran kaspar Newbie Member Since Mar 24 2014 Messages 66 Message Count 66 Likes Received 2 Trophy Points 8 aran kaspar Feb 14 2015 Ellusionist said I would back up your config Great job o the above I have been looking for this for a long time Wonder if we could get this as a sticky on the forum or have it added in the documentation Cheers Click to expand Would love to get this up on the forum as it s own guide Unfortunately can t post it myself aran kaspar Feb 14 2015 50 Offline aran kaspar Newbie Member Since Mar 24 2014 Messages 66 Message Count 66 Likes Received 2 Trophy Points 8 aran kaspar Feb 19 2015 mav said First go to storage and create zvol then go to extent creation and you will see it in the list of devices for device extents Click to expand Should my ZVOL be under a dataset or just in the root tank aran kaspar Feb 19 2015 51 Offline dcplaya Member Since Jul 1 2014 Messages 5 Message Count 5 Likes Received 0 Trophy Points 1 dcplaya Mar 1 2015 Has anyone been able to get this working with Proxmox I am not sure how to set it up I think i hope have the FreeNAS side set up correctly dcplaya Mar 1 2015 52 Offline aran kaspar Newbie Member Since Mar 24 2014 Messages 66 Message Count 66 Likes Received 2 Trophy Points 8 aran kaspar Mar 1 2015 dcplaya said Has anyone been able to get this working with Proxmox I am not sure how to set it up I think i hope have the FreeNAS side set up correctly Click to expand Be more specific What is it for people who don t know What exactly are you trying to do with it Is this fiber related aran kaspar Mar 1 2015 53 Offline dcplaya Member Since Jul 1 2014 Messages 5 Message Count 5 Likes Received 0 Trophy Points 1 dcplaya Mar 1 2015 aran kaspar said Be more specific What is it for people who don t know What exactly are you trying to do with it Is this fiber related Click to expand Sorry I made the post in a rush I have a Proxmox host connected with my FreeNAS via ethernet currently All shares of NFS

    Original URL path: https://forums.freenas.org/index.php?threads/fc-target-support-in-freenas-9-1-0.14139/page-3 (2016-02-01)
    Open archived version from archive


  • FC target support in FreeNAS 9.1.0 | Page 4 | FreeNAS Community
    needs then all you may want is WebUI update to support that functionality I hope it happen at some point mav Mar 29 2015 69 Offline shang Member Since Dec 10 2014 Messages 10 Message Count 10 Likes Received 0 Trophy Points 1 shang Mar 29 2015 Thanks for the quick reply You are right I think for HA to work it does need to have a shared datastore This solution does meet the needs However without LUN filtering we can not have windows server connecting to the storage As windows will try to take over all the LUNs and could cause a disaster by a simple click supports some virtual ports which if configured are seen for initiator as completely different targets behind the port and I guess may be reported separately in tables you are asking about But on my tests it was so unreliable in configuration that I gave up on it so far reported separately is exactly what I mean Is it possible for each LUNs to have its own WWPN Maybe I am asking too much separate ports for specific needs physical ports could be a solution but has its limitation Different WWPN would be more flexible Thanks again for your hard work willing to share the info with us and spending time answering my questions Sincerely Shang shang Mar 29 2015 70 Offline mav NAS ty with the FreeNAS Member Since Sep 29 2011 Messages 437 Message Count 437 Likes Received 52 Trophy Points 28 Occupation FreeBSD developer Location Dnepropetrovsk Ukraine mav Mar 29 2015 shang said reported separately is exactly what I mean Is it possible for each LUNs to have its own WWPN Maybe I am asking too much Click to expand There is a magic loader tunable hint isp X vports Being set to value above zero in creates respective number of virtual ports for specified physical port each with own WWPN I have no idea whether all cards support that but at least my 8Gbps Qlogic seems do At this point they all report the same set of LUNs but that can be easily fixed once WebUI will be able to configure that for physical ports The problem I ve seen with it were about taking ports up and down in random order But if you just enable them once at boot and never touch after it may probably work enough for you to run some tests mav Mar 29 2015 71 Offline shang Member Since Dec 10 2014 Messages 10 Message Count 10 Likes Received 0 Trophy Points 1 shang Mar 29 2015 Hi this is the finding 21 is the HBA 22 and 23 are the new WWPNs To make it simple I create two LUNs also The ideal result would be one LUN maps to one WWPN 0x3101e4 NL 23 01 00 1b 32 3b 7a fe Qlogic scsi fcp target 0x3101e8 NL 22 01 00 1b 32 3b 7a fe Qlogic scsi fcp target 0x3101ef NL 21 01 00 1b 32 3b 7a fe Qlogic scsi fcp target Both LUNs are accessible from any of the WWPNs as you mentioned Without WebUI to map the LUNs to WWPNs it is not very useful Thanks Shang shang Mar 29 2015 72 Offline HoneyBadger Mushroom Mushroom Member Since Feb 6 2014 Messages 836 Message Count 836 Likes Received 96 Trophy Points 28 HoneyBadger Mar 29 2015 Hi Shang I think what you re looking for is more commonly called LUN Masking in FC terminology From my reading there doesn t appear to be any support in the FreeBSD CTL target for this Sorry With that said I haven t tried it recently under FreeNAS I may give it a shot as I have a spare system and a supported QLE2462 HBA to play with There s no kill like overkill HoneyBadger Mar 29 2015 73 Offline shang Member Since Dec 10 2014 Messages 10 Message Count 10 Likes Received 0 Trophy Points 1 shang Mar 29 2015 HoneyBadger said Hi Shang I think what you re looking for is more commonly called LUN Masking in FC terminology From my reading there doesn t appear to be any support in the FreeBSD CTL target for this Sorry With that said I haven t tried it recently under FreeNAS I may give it a shot as I have a spare system and a supported QLE2462 HBA to play with Click to expand Hi HoneyBadger Thanks for your inputs LUN mapping and masking is exactly what I want to accomplish If it is not supported then it is not supported Thanks Shang shang Mar 29 2015 74 Offline HoneyBadger Mushroom Mushroom Member Since Feb 6 2014 Messages 836 Message Count 836 Likes Received 96 Trophy Points 28 HoneyBadger Mar 29 2015 shang said Hi HoneyBadger Thanks for your inputs LUN mapping and masking is exactly what I want to accomplish If it is not supported then it is not supported Thanks Shang Click to expand No problem Sorry I couldn t give you better news You can control access via iSCSI portal initiator group IDs by IP address but if FC is a must then you ll have to look at COMSTAR under Solaris or SCST under Linux until these features are implemented into CTL There s no kill like overkill HoneyBadger Mar 29 2015 75 Offline aran kaspar Newbie Member Since Mar 24 2014 Messages 66 Message Count 66 Likes Received 2 Trophy Points 8 aran kaspar Apr 22 2015 You guys have taken this thread to a new level of awesomeness aran kaspar Apr 22 2015 76 Offline aran kaspar Newbie Member Since Mar 24 2014 Messages 66 Message Count 66 Likes Received 2 Trophy Points 8 aran kaspar Apr 22 2015 tranced1 said Hi FC is great but what about FCoE on intel 10g NIC s Click to expand Tranced I guess if you have drives that are actually capable of handling the extra money s worth speed

    Original URL path: https://forums.freenas.org/index.php?threads/fc-target-support-in-freenas-9-1-0.14139/page-4 (2016-02-01)
    Open archived version from archive

  • FC target support in FreeNAS 9.1.0 | Page 5 | FreeNAS Community
    Member Since Sep 29 2011 Messages 437 Message Count 437 Likes Received 52 Trophy Points 28 Occupation FreeBSD developer Location Dnepropetrovsk Ukraine mav Jun 30 2015 aran kaspar said Hey Mav Is there a good article you know of that I can read regarding benefits of multipath Click to expand Multipath is mostly just a several independent SCSI connections What benefits can it give depends on specific initiator load pattern and configuration At least it improves reliability Whether it improves performance depends mav Jun 30 2015 89 Offline mbucknell Member Since May 31 2015 Messages 2 Message Count 2 Likes Received 0 Trophy Points 1 Location UK mbucknell Aug 4 2015 The FC support works really well i have been playing with it for the last couple of weeks i did find an interesting issue and it was the same with iSCSI which is why i started messing about with FC in the first place I have a couple of ESXi boxes and 2 x freenas datastores point to point connected via FC qlogic 2564 2560 2460 If you set up a dedup dataset and then create a zvol under the dataset and share it out it seems to work fine to start with but as soon as you pass a few hundred gigs the LUN goes off line and keeps disconnecting re connecting stalling out all the time and totally un usable I did manage to get it to work fine by creating a file extent under the dedup dataset ESXi complains about the latency sometimes but i didn t get the LUN going off line Hope this helps anyone who wanted to use a dedup LUN from their freenas box mbucknell Aug 4 2015 90 Offline mav NAS ty with the FreeNAS Member Since Sep 29 2011 Messages 437 Message Count 437 Likes Received 52 Trophy Points 28 Occupation FreeBSD developer Location Dnepropetrovsk Ukraine mav Aug 4 2015 mbucknell said If you set up a dedup dataset and then create a zvol under the dataset and share it out it seems to work fine to start with but as soon as you pass a few hundred gigs the LUN goes off line and keeps disconnecting re connecting stalling out all the time and totally un usable Click to expand Dedup is generally not recommended due to very high memory usage to store dedup tables Dedup tables consist of records for every unique block ZVOL block size is typically very small 8 16K that much smaller then default for datasets 128K It means that dedup table will grow really huge due to bigger number of records that can make storage unusable Don t do that unless you know what you are doing mav Aug 4 2015 91 Offline xx0m3gaxx Member Since Aug 6 2015 Messages 6 Message Count 6 Likes Received 0 Trophy Points 1 Location usa michigan xx0m3gaxx Sep 4 2015 Is it possible to put one port in one mode and the other in another on a

    Original URL path: https://forums.freenas.org/index.php?threads/fc-target-support-in-freenas-9-1-0.14139/page-5 (2016-02-01)
    Open archived version from archive

  • FC target support in FreeNAS 9.1.0 | Page 6 | FreeNAS Community
    Sep 29 2011 Messages 437 Message Count 437 Likes Received 52 Trophy Points 28 Occupation FreeBSD developer Location Dnepropetrovsk Ukraine mav Sep 5 2015 ctladm is a command it has nothing to do with tunables It should be executed as script as mentioned first Tunables menu should be used to set device hints such as hint isp 0 role mav Sep 5 2015 101 Offline xx0m3gaxx Member Since Aug 6 2015 Messages 6 Message Count 6 Likes Received 0 Trophy Points 1 Location usa michigan xx0m3gaxx Sep 5 2015 Ctladm is listed as something to add under tunable in the guide is why i was confused by it xx0m3gaxx Sep 5 2015 102 You must log in or sign up to reply here Show Ignored Content Page 6 of 6 Prev 1 2 3 4 5 6 Share This Page Tweet Your name or email address Do you already have an account No create an account now Yes my password is Forgot your password Stay logged in FreeNAS Community Home Forums FreeNAS Forum How To Guides Hacking Download Latest 9 3 1 STABLE Home Forums Forums Quick Links Search Forums Recent Posts Resources Resources Quick Links Search Resources Most Active

    Original URL path: https://forums.freenas.org/index.php?threads/fc-target-support-in-freenas-9-1-0.14139/page-6 (2016-02-01)
    Open archived version from archive

  • Backup config file every night automatically! | FreeNAS Community
    6x3TB HDD s RAIDZ2 NORCO RPC 4020 FreeNAS 9 3 1 STABLE raidflex Feb 7 2013 7 Offline GusPS Member Since Jun 24 2013 Messages 1 Message Count 1 Likes Received 1 Trophy Points 3 GusPS Jun 24 2013 I ve made this script to be run outside the NAS box from a different server running linux and with lynx installed It can be used to backup several servers but all of them must have the same user password account Code text bin bash DIR bin pwd BASEDIR usr bin dirname 0 cd BASEDIR servers server freenas 1 server freenas 2 for server in servers do usr bin lynx cmd script macro get config http server done Add datetime to downloaded configs cdate date Y m d H M S shopt s extglob for file in 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 db do if file db then mv file file cdate db fi done delete old files retain 90 days usr bin find db mtime 90 exec rm cd DIR It s ready to be called from a cron job One must first run this Code text lynx cmd log macro get config http svr freenas 1 And navigate to the download button The file content of macro get config I m using is Code text Command logfile created by Lynx 2 8 8dev 9 12 Jun 2011 key a key Down Arrow key a key d key m key i key n key J key key key key key key key key key J key J key G key s key y key s key t key e key m key key c key o key n key f key i key g key key s key a key v key e key key J key d key Down Arrow key J key key d key b key J key q key y Make sure to replace the key with the password and set it to chmod 600 GusPS Jun 24 2013 8 Jim38 likes this Offline KevinM Newbie Member Since Apr 23 2013 Messages 47 Message Count 47 Likes Received 7 Trophy Points 8 KevinM Nov 7 2013 Just ran across this post and thought I d throw my own solution in I call this one from cron as Cyberjock outlined above This one will keep as many versions of the freenas v1 db file as are specified by the VERSIONS variable The script also sends an email of the backup results optionally attaching a uuencoded copy of the db file I normally use mutt for this sort of thing because it can send MIME attachments but I see it is not installed by default on FreeNAS Code text bin bash SCRIPT 0 HOST hostname s SRCEFILE data freenas v1 db DESTDIR mnt share admin backups DESTFILE DESTDIR freenas v1 date Y m d H M S db LOGDIR mnt share admin logs LOGFILE LOGDIR SCRIPT date Y m d H M S log RECIPIENT me mycompany com MAILCONFIG n VERSIONS 30 d DESTDIR mkdir p DESTDIR log printf date n LOGFILE 2 1 mail mailx s SUBJECT RECIPIENT LOGFILE if cp SRCEFILE DESTFILE then log PASS cp SRCEFILE DESTFILE else SUBJECT FAIL HOST SCRIPT cp SRCEFILE DESTFILE log SUBJECT mail exit 1 fi DATAFILES ls 1rt DESTFILE LOGFILES ls 1rt LOGDIR SCRIPT for FILES in DATAFILES LOGFILES do NUM echo FILES wc l if NUM gt VERSIONS then TODELETE NUM VERSIONS for file in echo FILES head TODELETE do if rm f file then log PASS rm f file else log FAIL rm f file fi done fi done if grep FAIL LOGFILE dev null 2 1 then RESULT FAIL else RESULT PASS fi if MAILCONFIG n y then printf n LOGFILE uuencode DESTFILE DESTFILE LOGFILE fi SUBJECT RESULT HOST SCRIPT mail FreeNAS 9 3 STABLE Lian Li v354b Supermicro X9SCL F O 16 GB SATA DOM Intel e3 1230v2 32 GB Kingston Unbuffered ECC RAM IBM M1015 HBA 6 x Toshiba dt01aca300 3 TB SATA drives in RAIDZ2 KevinM Nov 7 2013 9 NAStard likes this Offline taltman Member Since Dec 30 2013 Messages 1 Message Count 1 Likes Received 0 Trophy Points 1 taltman Dec 30 2013 I think a more elegant way to achieve incremental backups of your config file would be to save the database file to a dedicated system backup Dataset within one of your ZFS pool Volumes Then set up a periodic snapshot task to take daily snapshots of that system backup Dataset Then as fracai wrote you can use the GUI to put the following cron job in place cp data freenas v1 db mnt tank system backup freenas v1 db This achieves the time stamping properties from your original script but now we are utilizing ZFS snapshots so we only store the deltas If the script doesn t change between snapshots then no storage is consumed at all KISS this approach requires no coding aside from the trivial command line above and leverages the power of FreeNAS via the GUI HTH cyberjock said I ve created a cron job that will automatically backup your config every night or whenever you want Here s how I did it the name of my zpool is tank yours may vary so you will need to adjust the following accordingly I created a file on my zpool at mnt tank bkpconfig sh It has one line cp data freenas v1 db mnt tank date Y m d db Note that the is the top left key on the keyboard not the typical apostrophe symbol You can change the location of the db to anything you want but you should keep it on your zpool or another location that is NOT on your USB key Also you may not want to put the backup config anywhere that is shared You wouldn t want anyone to have access to the database or delete them on accident Then log into the FreeNAS UI Expand System then expand Cron Jobs and then click Add Cron Job For User set it to root For command use sh mnt tank bkpconfig sh or whatever location your bkpconfig sh file is located at For short description enter something that makes sense to you I put Daily Backup of Config I chose to do the backup at 23 55 every day of the week I figured that would allow me to backup the file as an end of the day routine while also doing the backup at an odd time so that other nightly tasks won t interfere For minute I chose the Each selected minute tab and chose 55 For hour I chose the Each selected hour tab and then chose 23 For Day of month I did Every N day of the month tab and set it to 1 For Month I checked every month default For Day of week I checked every day default I left Redirect Stdout checked Redirect Stderr unchecked and Enabled checked all defaults Click OK and you should see the job be created If you have emails for root setup and your cron job fails you will get an email of the error My config file is only 207kb I d expect that regardless of your configuration your file isn t going to be big enough to worry about the lost space storing the config files Plenty of people have been posting in the forums lately that didn t have a backup at all or had an old backup With this you will have many copies of the config This may be handy if the database gets corrupted since you have a backup history you can use Keep in mind that while the config file is safe on your zpool or elsewhere you will need to copy the database file to your desktop to upload the config file I just auto imported my zpool and created a quick FTP server using anonymous access and was able to do a recovery in about 5 minutes If you are really motivated you could create an FTP script in windows linux whatever that would auto download your config files every time you logged into windows Click to expand taltman Dec 30 2013 10 Offline cyberjock Forum Guard Dog Admin Member Since Mar 25 2012 Messages 18 609 Message Count 18 609 Likes Received 1 444 Trophy Points 113 cyberjock Dec 30 2013 I don t think this is simpler at all You are adding datasets and deduplication or compression your pick to literally save a less than 100MB per year Seriously Check out this info on my database info Code text MD5 20130104 db 5ba2e14306e79b26b67f0f306a7a85a4 MD5 20130105 db 2f31fa765d1498a64851b4e0514ed2a6 MD5 20130106 db 2f31fa765d1498a64851b4e0514ed2a6 MD5 20130107 db 2f31fa765d1498a64851b4e0514ed2a6 MD5 20130108 db 7d92da0d5542493ce80a2395a1256cba MD5 20130109 db 877e21bf8b1e865c6ab31bb54d791eb3 MD5 20130110 db a2edaeeb1894f119aea6a9ae2cadcf39 MD5 20130111 db a2edaeeb1894f119aea6a9ae2cadcf39 MD5 20130112 db 3b07b2246c6a3769b0fcbacc74d89245 MD5 20130113 db 5190fe046e9c1bf770118ab5c7473290 MD5 20130114 db 5190fe046e9c1bf770118ab5c7473290 MD5 20130115 db b9715ea49c2f7b6a34a06cfb0d8e50ba MD5 20130116 db 8781afd3fe47ac2d523518f5b1659bb4 MD5 20130117 db 449aa1ab0fce4ac3a1d8098ed75b10f8 MD5 20130118 db a01674c3de732cb749944c11833e9d65 MD5 20130119 db a01674c3de732cb749944c11833e9d65 MD5 20130120 db a01674c3de732cb749944c11833e9d65 MD5 20130121 db d50df56b7a3309b34862c9131a8f577d MD5 20130122 db 633c87b3b2e9a791eac94450992efc04 MD5 20130123 db f1a0838cbde6b59c44add6853691ecbe MD5 20130124 db fd7ae74166f112f75a9feff88a2a0049 MD5 20130125 db fd7ae74166f112f75a9feff88a2a0049 MD5 20130126 db 8d74c186280eb897cfa5c4510d493097 MD5 20130127 db 8290480431ed643ada4c518415cbc9b9 MD5 20130128 db bba2efe5e83f6eb7a484c05ba97070b1 MD5 20130129 db a88646dad3557c0d577fa066dc677c7a MD5 20130130 db 2465538fe1e4702211d8201443a82c1b MD5 20130131 db 2465538fe1e4702211d8201443a82c1b MD5 20130201 db 2465538fe1e4702211d8201443a82c1b MD5 20130202 db 2465538fe1e4702211d8201443a82c1b MD5 20130203 db c8978452bf9900ae60a87a000af98083 MD5 20130204 db 9c1a603aaa7f21e203c3edeb4dc85b31 MD5 20130205 db 9c1a603aaa7f21e203c3edeb4dc85b31 MD5 20130206 db 9c1a603aaa7f21e203c3edeb4dc85b31 MD5 20130207 db 9c1a603aaa7f21e203c3edeb4dc85b31 MD5 20130208 db d2ce505ced287e6de3442bbc26151c52 MD5 20130209 db d2ce505ced287e6de3442bbc26151c52 MD5 20130210 db d2ce505ced287e6de3442bbc26151c52 MD5 20130211 db d2ce505ced287e6de3442bbc26151c52 MD5 20130212 db d2ce505ced287e6de3442bbc26151c52 MD5 20130213 db d2ce505ced287e6de3442bbc26151c52 MD5 20130214 db 33d08803c4a9f62902b8b5566104e304 MD5 20130215 db 33d08803c4a9f62902b8b5566104e304 MD5 20130216 db 33d08803c4a9f62902b8b5566104e304 MD5 20130217 db 33d08803c4a9f62902b8b5566104e304 MD5 20130218 db 33d08803c4a9f62902b8b5566104e304 MD5 20130219 db dc09878b3daeb80ac0a4088ed5ef4b1d MD5 20130220 db dc09878b3daeb80ac0a4088ed5ef4b1d MD5 20130221 db dc09878b3daeb80ac0a4088ed5ef4b1d MD5 20130222 db dc09878b3daeb80ac0a4088ed5ef4b1d MD5 20130223 db 37290a99f8907d19331946c71ac217ab MD5 20130224 db 37290a99f8907d19331946c71ac217ab MD5 20130225 db 37290a99f8907d19331946c71ac217ab MD5 20130226 db b9be28c3266a57bfbb024e1de3b3fc45 MD5 20130227 db 994e11bcc2dc08de678c293f294119d0 MD5 20130228 db 994e11bcc2dc08de678c293f294119d0 MD5 20130301 db 994e11bcc2dc08de678c293f294119d0 MD5 20130302 db 994e11bcc2dc08de678c293f294119d0 MD5 20130303 db 994e11bcc2dc08de678c293f294119d0 MD5 20130304 db 994e11bcc2dc08de678c293f294119d0 MD5 20130305 db 131a9fda8c8680933630262927939942 MD5 20130306 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130307 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130308 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130309 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130310 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130311 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130312 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130313 db 2addc3ac60d5919ed632a0fac890f57d MD5 20130314 db a6db710c3f2497df6143be49817786fa MD5 20130315 db 624feafa7a540e37caf2ac1e652e73f5 MD5 20130316 db 624feafa7a540e37caf2ac1e652e73f5 MD5 20130317 db 624feafa7a540e37caf2ac1e652e73f5 MD5 20130318 db 1d8825a89a283a0a0fff4010abb4ffa0 MD5 20130319 db 1d8825a89a283a0a0fff4010abb4ffa0 MD5 20130320 db 1d8825a89a283a0a0fff4010abb4ffa0 MD5 20130321 db 1d8825a89a283a0a0fff4010abb4ffa0 MD5 20130322 db 0a7511d334ad05a0289e0342089fe696 MD5 20130323 db 8306bfe3cd118b15827193cc7cddbca7 MD5 20130324 db 8306bfe3cd118b15827193cc7cddbca7 MD5 20130325 db 8b749c11545fa55cc5c2d8294c8862c6 MD5 20130326 db ff93ff21aeb494144db7fa5c182f8498 MD5 20130327 db a6b2d4be38c134663dccc3bad7a89ec3 MD5 20130328 db f8732cd575d975d6eabcfe88ccabce0d MD5 20130329 db d6a612abab77e3d57556a4317b343e13 MD5 20130330 db 5e534c57d3158fee7f8cd8e3c4183ed5 MD5 20130331 db daac143e95b88120ee3536ae39d3268e MD5 20130401 db a9bdedd2b72b64a9012b8fafdb12f676 MD5 20130402 db cdc383575977bb18c3b46d586e938931 MD5 20130403 db 28e173d72a4189df39b580ce036bc88e MD5 20130404 db bf6f03ddcde7e9efed14763d443264b8 MD5 20130405 db bf6f03ddcde7e9efed14763d443264b8 MD5 20130406 db bf6f03ddcde7e9efed14763d443264b8 MD5 20130407 db bf6f03ddcde7e9efed14763d443264b8 MD5 20130410 db bbf9cf1442b376a19d383a5ff48f3cbd MD5 20130411 db bbf9cf1442b376a19d383a5ff48f3cbd MD5 20130412 db 9e0e9d6166cc8edd6fd105bcb23a4135 MD5 20130413 db 7280ffccd48bf035a54eeb1c02c5001e MD5 20130414 db 8b18cb310dca56b92af18abd7e4b93cf MD5 20130415 db 8b18cb310dca56b92af18abd7e4b93cf MD5 20130416 db 418f0159b3d572148d6f25114afcc373 MD5 20130417 db 418f0159b3d572148d6f25114afcc373 MD5 20130418 db 1902c0338fd3cade1246004addd3736d MD5 20130419 db 90d898d50dd36e9ef7a97c3beb266ac1 MD5 20130422 db db72fd3b3560971475c470e7a028529c MD5 20130423 db db72fd3b3560971475c470e7a028529c MD5 20130424 db 5453b16afe8d8ccf718c2c82172466ee MD5 20130425 db 5453b16afe8d8ccf718c2c82172466ee MD5 20130426 db 8926b4fee8f2b5080019a5450085f748 MD5 20130427 db 4c89951b4a1794271fc90c46796ba64a MD5 20130428 db 203bda6c3ebe64e1159f679000cc7205 MD5 20130429 db 203bda6c3ebe64e1159f679000cc7205 MD5 20130430 db 203bda6c3ebe64e1159f679000cc7205 MD5 20130501 db 75301dc920ee646c82e3248a399fc2a1 MD5 20130502 db 6f967fa18737b9ec5dbf52ff8ff5c2b5 MD5 20130503 db 5aced3d35aba4465c5b21591ae3c587b MD5 20130505 db 8605a86ffc15768b638a1c1cf365bb40 MD5 20130506 db 8605a86ffc15768b638a1c1cf365bb40 MD5 20130507 db 6e624287d6ca13b32e02f5f667832d55 MD5 20130508 db 6e624287d6ca13b32e02f5f667832d55 MD5 20130509 db fbfa58f21f3d0c1502a0566f68c9b2c0 MD5 20130510 db 06c6d7306774cb95a95e590500d6562c MD5 20130511 db 4ae3a4d7ae26287acdccec28c8ec9798 MD5 20130512 db 8e06ea2c2901a955a453005f002e9c96 MD5 20130513 db 43c1be7e6f9fe29b3361f400f094ba88 MD5 20130514 db 539b6ece937f69af5811b88e165af2de MD5 20130515 db e70077b08e5d531c25ccf4329097fea8 MD5 20130516 db e70077b08e5d531c25ccf4329097fea8 MD5 20130518 db d9cca47832cb8e9b1bdf79223b8d2b7d MD5 20130521 db 7650452283a1462480488436585542e2 MD5 20130522 db aab827e20933bdc58e05959342710481 MD5 20130523 db 1cc65a325179620353c4e90f04631470 MD5 20130524 db 1cc65a325179620353c4e90f04631470 MD5 20130525 db 1194aa9f8bc501e40f5829254b0f601d MD5 20130526 db 3b6a39dc7abecaede11be0522600ddfd MD5 20130527 db 917d96e57d1e9c628c3a3a13d764cc14 MD5 20130528 db 917d96e57d1e9c628c3a3a13d764cc14 MD5 20130529 db 917d96e57d1e9c628c3a3a13d764cc14 MD5 20130530 db e2937ceb63ffc85425cdef419285b47e MD5 20130531 db ac7d759d3c588593f1a66867ae965b3a MD5 20130601 db 4d17baa189f77886ece20dafa03e5887 MD5 20130602 db 819ed58edf8e09697f87b39e8ec69f45 MD5 20130603 db 819ed58edf8e09697f87b39e8ec69f45 MD5 20130605 db 6fb9b769e7c554f30a0ce01f857f4ac7 MD5 20130606 db 4c8f310ed1039e1e0acec6adaf356500 MD5 20130607 db 4c8f310ed1039e1e0acec6adaf356500 MD5 20130608 db b9032ffd2287a41f5cc7011066330a56 MD5 20130609 db b9032ffd2287a41f5cc7011066330a56 MD5 20130610 db e4ace72399b457c15c76942bcb3baff9 MD5 20130611 db 89aae6c1a43135665787e89120067670 MD5 20130612 db 14a666d09c68c3af99cc3569395ae32d MD5 20130613 db 14a666d09c68c3af99cc3569395ae32d MD5 20130614 db b26ccde91e7307c6d5d5e8a742f4a3be MD5 20130615 db c71e69f9ee3b2daecee89d81533a016b MD5 20130616 db d9311e03e018dc335ed243188481717c MD5 20130617 db 7ea0f214bae55343388607848bd9cbfc MD5 20130618 db 7ea0f214bae55343388607848bd9cbfc MD5 20130619 db 7ea0f214bae55343388607848bd9cbfc MD5 20130620 db 7ea0f214bae55343388607848bd9cbfc MD5 20130621 db 64171676b8973ce23a2cecdd2a18e840 MD5 20130622 db 637d46dd5bdd697dd2a18b44c347837a MD5 20130623 db 86c1a9a464b17274af3bcdc85b1763f3 MD5 20130624 db 3d30a4c58a23ff2c13af30284834852f MD5 20130625 db 668f93275bd39902cca2f5b5ed55d89d MD5 20130626 db edcd89ce83c5575e4cbf3176d2c03492 MD5 20130627 db 3aa771959a717b500d1197de97659f19 MD5 20130628 db dcfe84e31a1de9fbccc097da37785d2e MD5 20130629 db 5de1a517027b03fcfad78857eae165c3 MD5 20130630 db 76c0f50ec54815d61debbf2167daab12 MD5 20130701 db 5c71609eac2cbe5bf19bd8ff9f105b6a MD5 20130702 db b2bb30b340bc2abbd0b3279dc98c0cbc MD5 20130703 db b2bb30b340bc2abbd0b3279dc98c0cbc MD5 20130704 db b2bb30b340bc2abbd0b3279dc98c0cbc MD5 20130705 db 56210f14fec987ecbd7a618f0795c9df MD5 20130706 db 028156fdababb9c488365832f167fab0 MD5 20130707 db 028156fdababb9c488365832f167fab0 MD5 20130708 db 0b0353e868fe263aee3818a811030368 MD5 20130709 db c82b76ba3505a2c43ee77acea9c2f641 MD5 20130710 db 75de1af252f5f0384aa787b03b4d0a82 MD5 20130711 db 75de1af252f5f0384aa787b03b4d0a82 MD5 20130713 db 8e48fb73657af421e19f75ecc1902ac1 MD5 20130714 db 8169173b12f9f0ff91f605c5623f74e1 MD5 20130715 db 4c9a94e54780c236204cdad809a3543e MD5 20130716 db 42df95105010b009510624d56a74b9b7 MD5 20130717 db b0856470e3443c858939be29bdd7b9a2 MD5 20130722 db 2379e90aaff2b22b7d54d96b8d570412 MD5 20130723 db 32e7517d9e92e674df57eb487a3888e6 MD5 20130724 db 327ff3c7f6b4972f7501775feef52825 MD5 20130725 db e03bd9ef2d0004002c274b74131e0a22 MD5 20130726 db 7163353256a8cff4c93d4a9c73c6c061 MD5 20130727 db 00e3b66ba1b50c1d8a8b5a8baf840080 MD5 20130728 db 00e3b66ba1b50c1d8a8b5a8baf840080 MD5 20130729 db 00e3b66ba1b50c1d8a8b5a8baf840080 MD5 20130730 db 00e3b66ba1b50c1d8a8b5a8baf840080 MD5 20130731 db b5efc8f36788fe615199978b18a0fe75 MD5 20130801 db c656d2de81932f6695cb670a14fc9791 MD5 20130802 db c656d2de81932f6695cb670a14fc9791 MD5 20130803 db 849b91c519715f90e7530fba3ade6fd7 MD5 20130804 db 849b91c519715f90e7530fba3ade6fd7 MD5 20130805 db 9ad65099bd2d0f726d6dc9a96b3553d4 MD5 20130807 db 0ccf86dcfae4d692aae452eb8ce70469 MD5 20130809 db 2a7aa769f26b8e3879523284df342c0f MD5 20130810 db 2a7aa769f26b8e3879523284df342c0f MD5 20130811 db 21ad3d7acc119946a0831c61af9574e6 MD5 20130812 db 8152013926e36e6c334656e9c38c9062 MD5 20130813 db 8152013926e36e6c334656e9c38c9062 MD5 20130814 db 8152013926e36e6c334656e9c38c9062 MD5 20130815 db d1538d0ab7aeeeffb80970b89aa448aa MD5 20130816 db f1ff1d767ffbe844e0f71295964da175 MD5 20130817 db f1ff1d767ffbe844e0f71295964da175 MD5 20130818 db f1ff1d767ffbe844e0f71295964da175 MD5 20130819 db f1ff1d767ffbe844e0f71295964da175 MD5 20130820 db f1ff1d767ffbe844e0f71295964da175 MD5 20130821 db 1d476009bae6d12c88949da34348c8fc MD5 20130822 db 6bc1b481ca662d29c1879dab2665fbab MD5 20130823 db 42f422316d39ff12a13420b6ff7be7d6 MD5 20130824 db 2d1bfd86e87d33d0e09af04fd74b752b MD5 20130825 db e88e80751e8f0ab185e2a91f898c1a29 MD5 20130826 db e88e80751e8f0ab185e2a91f898c1a29 MD5 20130827 db e88e80751e8f0ab185e2a91f898c1a29 MD5 20130828 db 158af383c126089c38cbc2d8c8b66378 MD5 20130829 db 158af383c126089c38cbc2d8c8b66378 MD5 20130830 db 158af383c126089c38cbc2d8c8b66378 MD5 20130901 db d29451d590872f290595bcc46450ea8e MD5 20130902 db be82ec2e25e5430b5aa9102b3e294d9b MD5 20130903 db a392c243ee3542aad5890847b7dbf006 MD5 20130904 db 69e66c6c5a5435f7f4388f7d5e406866 MD5 20130905 db f8655bf930dc55dddfb0572bb43de2f5 MD5 20130906 db f8655bf930dc55dddfb0572bb43de2f5 MD5 20130907 db 15d39c6309ea0044a2ca4daae32460bf MD5 20130908 db 4cbbc84c23d85c2f6f194029cd383386 MD5 20130909 db 96f11c21cfb7077137bbe10efec14b1c MD5 20130910 db 39f677f8ed82bc95cc6b40d20c5409bc MD5 20130911 db 041db1776a596edfae34d56d7e299a51 MD5 20130912 db 9eb5496d7551de7817a738e765f00707 MD5 20130913 db fdb9ef5a72424b51863c5af744053d21 MD5 20130914 db 1cbe3c8398c89875696e898c13c73978 MD5 20130915 db f7a56586567860eef0f58be2c7c29f68 MD5 20130916 db 2ca2630a1412ce66f977ab387ac83a7c MD5 20130917 db 2ca2630a1412ce66f977ab387ac83a7c MD5 20130918 db 2ca2630a1412ce66f977ab387ac83a7c MD5 20130919 db 2ca2630a1412ce66f977ab387ac83a7c MD5 20130920 db 16476736259163633e1c64d1faea58c3 MD5 20130922 db 9692f90b7531b63db538f06c624ceb1c MD5 20130923 db ef0ab71512730c7165c140b4636aaafd MD5 20130924 db ef0ab71512730c7165c140b4636aaafd MD5 20130925 db ef0ab71512730c7165c140b4636aaafd MD5 20130926 db ef0ab71512730c7165c140b4636aaafd MD5 20130927 db ef0ab71512730c7165c140b4636aaafd MD5 20130928 db 8b9454a2f89ef9fef8488ae110f1151d MD5 20130929 db 1970b2fc675e92cfb644a9025d095d90 MD5 20130930 db 1970b2fc675e92cfb644a9025d095d90 MD5 20131001 db 3f0853877ea9ce7057767e2be979acf4 MD5 20131002 db 3f0853877ea9ce7057767e2be979acf4 MD5 20131003 db 553706e593058c5f941c3f89b5966d5f MD5 20131004 db 4600e4bdec6f91a76bc5fc48268a13c7 MD5 20131005 db 078d95116e4c256d2f9aad03982cf1fb MD5 20131006 db 7426ef78ea2af1451aed1400be3a6f79 MD5 20131007 db 7426ef78ea2af1451aed1400be3a6f79 MD5 20131008 db 19e9efff918fa0b454e3dff3a4101dda MD5 20131009 db 89628852f132c89e4436fd6756907aab MD5 20131010 db ee1d922e5b1d5bca1cd6ffc38f57a71c MD5 20131011 db ee1d922e5b1d5bca1cd6ffc38f57a71c MD5 20131012 db ee1d922e5b1d5bca1cd6ffc38f57a71c MD5 20131013 db ee1d922e5b1d5bca1cd6ffc38f57a71c MD5 20131014 db ee1d922e5b1d5bca1cd6ffc38f57a71c MD5 20131015 db ebf4d85525fefc5a410e27496dc9821b MD5 20131016 db ebf4d85525fefc5a410e27496dc9821b MD5 20131017 db ebf4d85525fefc5a410e27496dc9821b MD5 20131018 db ce6c3a2ce489c1715893d430e8cc53ce MD5 20131019 db 424ed9b481f3ccbc5002a074f1b952b3 MD5 20131020 db ba8ad2c9e4018144c72e7bb8ca4d4e20 MD5 20131021 db ba8ad2c9e4018144c72e7bb8ca4d4e20 MD5 20131022 db ba8ad2c9e4018144c72e7bb8ca4d4e20 MD5 20131023 db ba8ad2c9e4018144c72e7bb8ca4d4e20 MD5 20131024 db 21357e81a4eae77cc086cb83e59354bb MD5 20131025 db a72103cb8c156f5c9dd0046a54adef11 MD5 20131027 db 6392515b1368208f5d5d136adca202a4 MD5 20131028 db d56446e1e408f8b9c1ff27564b09439a MD5 20131029 db d56446e1e408f8b9c1ff27564b09439a MD5 20131030 db 1c7540dfdbd050671efa5d84fde60077 MD5 20131031 db 1c7540dfdbd050671efa5d84fde60077 MD5 20131101 db 1c7540dfdbd050671efa5d84fde60077 MD5 20131102 db f5f831b8a53ee4531bb35724fcda40e5 MD5 20131103 db f5f831b8a53ee4531bb35724fcda40e5 MD5 20131104 db f5f831b8a53ee4531bb35724fcda40e5 MD5 20131105 db f5f831b8a53ee4531bb35724fcda40e5 MD5 20131106 db fbd8aca3e07555de845b4113958e82df MD5 20131107 db 5dcbf2b7a518b81c0e9a272689e91cd6 MD5 20131108 db 8b4b0538c23d0731bcdbf0abe3b8045e MD5 20131109 db abecf4978c8d43619d7f0bd9a76d5746 MD5 20131110 db abecf4978c8d43619d7f0bd9a76d5746 MD5 20131111 db 1c8a74e7238018d0146ddfcad6d1bc38 MD5 20131112 db 7829ad912988bbc950891c7790811e8b MD5 20131113 db 7829ad912988bbc950891c7790811e8b MD5 20131114 db c78a53e90d2518f749f96c03b607293b MD5 20131115 db c78a53e90d2518f749f96c03b607293b MD5 20131116 db c78a53e90d2518f749f96c03b607293b MD5 20131117 db c0144cb0123be3c691a155681366c2c4 MD5 20131118 db 8fea76963313ac8a06bd5c76ab276043 MD5 20131119 db 8fea76963313ac8a06bd5c76ab276043 MD5 20131120 db ca106045dbc434b6a68c70ad3f3365d7 MD5 20131121 db b9eed5e4ca03551dfa57b59a1a490e06 MD5 20131123 db 5539053f24ca4889a826408b111bffb2 MD5 20131124 db 964b9d74345726e9d35ebab20c8dca80 MD5 20131125 db 964b9d74345726e9d35ebab20c8dca80 MD5 20131126 db 964b9d74345726e9d35ebab20c8dca80 MD5 20131127 db 964b9d74345726e9d35ebab20c8dca80 MD5 20131128 db 964b9d74345726e9d35ebab20c8dca80 MD5 20131129 db c95e7730d26311f275ce0f760a3485a6 MD5 20131130 db c95e7730d26311f275ce0f760a3485a6 MD5 20131201 db c95e7730d26311f275ce0f760a3485a6 MD5 20131202 db 2028427e76420812709dc3351a0c1775 MD5 20131203 db d1a7166fef5810a085272eaf56451fce MD5 20131204 db d1a7166fef5810a085272eaf56451fce MD5 20131205 db 560c0ed6e6a82361ee9da578d065198f MD5 20131206 db 4a40a20f12f95e611a6a470361c7d913 MD5 20131207 db 4a40a20f12f95e611a6a470361c7d913 MD5 20131208 db 91b5a2a4957db2cb722f763ceeeb506b MD5 20131209 db b4ed79566abc4b882185da15d222d422 MD5 20131210 db fec08efbccd0ee9e76a1fc2b5b1506f6 MD5 20131211 db fec08efbccd0ee9e76a1fc2b5b1506f6 MD5 20131212 db 0dbaacc1ff85774534fc87e60784af9a MD5 20131213 db 0dbaacc1ff85774534fc87e60784af9a MD5 20131214 db 0dbaacc1ff85774534fc87e60784af9a MD5 20131215 db 0dbaacc1ff85774534fc87e60784af9a MD5 20131216 db 93abf51a9c2cdb2a2095758cfdc3fe47 MD5 20131217 db 93abf51a9c2cdb2a2095758cfdc3fe47 MD5 20131218 db 5c81d542098723a550e7fd35ad24e283 MD5 20131219 db 3b64c76963d07d4e3a3649eb696a5daf MD5 20131220 db 3b64c76963d07d4e3a3649eb696a5daf MD5 20131221 db 3b64c76963d07d4e3a3649eb696a5daf MD5 20131222 db 3b64c76963d07d4e3a3649eb696a5daf MD5 20131223 db 3b64c76963d07d4e3a3649eb696a5daf MD5 20131224 db 3b64c76963d07d4e3a3649eb696a5daf MD5 20131225 db 3b64c76963d07d4e3a3649eb696a5daf MD5 20131226 db 1228cfe1b38c78d2f5aa5139a3a55697 MD5 20131227 db 1228cfe1b38c78d2f5aa5139a3a55697 MD5 20131228 db 357027b2d246e6c59668d32b9bb61423 MD5 20131229 db 357027b2d246e6c59668d32b9bb61423 MD5 20131230 db 357027b2d246e6c59668d32b9bb61423 Notice that my database seems to change regularly rarely staying the same for long But my server runs for weeks at a time without me logging in So something is changing the database file on occasion I m a few days short of a full years worth of backups Guess how much space all of this is taking up 78 637 721 bytes Yes 78MB So are you really going to argue that we should create a dataset and use dedupe or compression to store our files for that little of savings I m all about KISS but it sure sounds like you are adding complexity for literally no gain When hard drives are pennies per GB you aren t going to tell me that you are losing massive quantities of disk space storing a nightly backup In fact if I stored a backup every single hour for a year I d still be using a whole 1 8GB doing some simple math Quite literally what you are trying

    Original URL path: https://forums.freenas.org/index.php?threads/backup-config-file-every-night-automatically.8237/ (2016-02-01)
    Open archived version from archive

  • Backup config file every night automatically! | Page 2 | FreeNAS Community
    future but what was the point You re trying to save how much space again Oh 300kb per file You could have 200 years worth of daily files and it will take up 20GB of space That s a rounding error when you are talking about pools measured in TBs And let me tell you when I tried to compress my backup directory a few weeks ago it had something like 550 images and compressed the 128MB of files to less than 100KB Now since lz4 is the standard and enabled by default on pool creation why add unnecessary complexity When it comes to dealing with doing backups and such you want the simplest possible method to accomplish the goal so as to minimize the possibility that something might go wrong and you might suddenly not be getting backups anymore For example what if md5 is moved from sbin to usr Your code suddenly won t work What if the bin cp moves Weird things like that may move in FreeBSD 10 and therefore FreeNAS 10 because of the In my opinion KISS Keep it simple stupid when it comes to backups Too many people won t look at their backups until they need them And that s when they ll find out the horrible truth it hadn t worked in months Just had someone a few weeks ago that had replication broken for 10 months and he never noticed because he wrote a very elaborate script that worked extremely well but when he upgraded for 8 3 1 to 9 1 0 one of the parameters was removed from a command he used and it caused his script to work for the snapshots that had been created on 8 3 1 but snapshots created on 9 1 0 wouldn t work Game over because he was also noticing this at the same time that he needed the backups Whoops Please don t take this as me bashing you I m just explaining why I went with such a simple setup and why I also chose to post this online for the world I ve done plenty of things that later in hindsight didn t work out as well as I had hoped But the education I got doing that stuff that either was useless or being superceded by something that is much better was never pointless In fact if you look at my recycle bin auto emptier script I ll be providing some massive improvements to it very soon It has some nasty and rather lame limitations that I ve managed to work out Hardware recommendations RAID5 RAIDZ1 is dead Read my guide It answers common questions newbies to FreeNAS have Only you can prevent flame wars Read the FreeNAS manual SpoilerTarget Show My Main System FreeNAS 9 3 STABLE whatever is the latest Intel Xeon E3 1230v2 Supermicro X9SCM F 32GB DDR3 ECC 1600 RAM 32GB SATA DOM Cyberpower 1500AVR Ten WD Red WD60EFRX NAS Hard Drives RAIDZ2 40 9TB usable space 10GbE Chelsio adapter cyberjock Aug 6 2014 28 Offline hungarianhc FreeNAS Aware Member Since Mar 11 2014 Messages 149 Message Count 149 Likes Received 3 Trophy Points 18 hungarianhc Aug 14 2014 Question on taking nightly config backups Is it necessary I backup my config file before after I do an upgrade or after I make some type of configuration change but assuming that my NAS is mostly in a set it and forget it mode obviously lots going on w plex crashplan time machine etc is there a benefit for me in having nightly config backups Thanks My FreeNAS Box 5x4TB Drives in RaidZ2 12TB Usable Intel Avoton C2750 8 Core CPU w 32GB ECC RAM hungarianhc Aug 14 2014 29 Offline cyberjock Forum Guard Dog Admin Member Since Mar 25 2012 Messages 18 609 Message Count 18 609 Likes Received 1 444 Trophy Points 113 cyberjock Aug 14 2014 hungarianhc said Is it necessary Click to expand Depends on your definition of necessary Hardware recommendations RAID5 RAIDZ1 is dead Read my guide It answers common questions newbies to FreeNAS have Only you can prevent flame wars Read the FreeNAS manual SpoilerTarget Show My Main System FreeNAS 9 3 STABLE whatever is the latest Intel Xeon E3 1230v2 Supermicro X9SCM F 32GB DDR3 ECC 1600 RAM 32GB SATA DOM Cyberpower 1500AVR Ten WD Red WD60EFRX NAS Hard Drives RAIDZ2 40 9TB usable space 10GbE Chelsio adapter cyberjock Aug 14 2014 30 Offline hungarianhc FreeNAS Aware Member Since Mar 11 2014 Messages 149 Message Count 149 Likes Received 3 Trophy Points 18 hungarianhc Aug 14 2014 cyberjock said Depends on your definition of necessary Click to expand I thought the rest of my thread explained what I meant by necessary no My FreeNAS Box 5x4TB Drives in RaidZ2 12TB Usable Intel Avoton C2750 8 Core CPU w 32GB ECC RAM hungarianhc Aug 14 2014 31 Offline cyberjock Forum Guard Dog Admin Member Since Mar 25 2012 Messages 18 609 Message Count 18 609 Likes Received 1 444 Trophy Points 113 cyberjock Aug 14 2014 You did Some people would rather have automated backups because you won t forget where you put those or forget to make one Hardware recommendations RAID5 RAIDZ1 is dead Read my guide It answers common questions newbies to FreeNAS have Only you can prevent flame wars Read the FreeNAS manual SpoilerTarget Show My Main System FreeNAS 9 3 STABLE whatever is the latest Intel Xeon E3 1230v2 Supermicro X9SCM F 32GB DDR3 ECC 1600 RAM 32GB SATA DOM Cyberpower 1500AVR Ten WD Red WD60EFRX NAS Hard Drives RAIDZ2 40 9TB usable space 10GbE Chelsio adapter cyberjock Aug 14 2014 32 Offline FNSeeker Newbie Member Since Jan 3 2014 Messages 32 Message Count 32 Likes Received 0 Trophy Points 6 Occupation IT worker Location Melbourne Australia FNSeeker Oct 15 2014 In searching for tips on remote backup using rsync I found an this backup tip written up by Cyberjock and was able to

    Original URL path: https://forums.freenas.org/index.php?threads/backup-config-file-every-night-automatically.8237/page-2 (2016-02-01)
    Open archived version from archive

  • Backup config file every night automatically! | Page 3 | FreeNAS Community
    Red NAS 3 TB 4x WD Green 3 TB Power Supply SeaSonic Platinum Series SS 400FL2 Fanless Active PFC Case Lian Li PC Q26 with 4x 120 mm fans and room for 10 3 5 drives FreeNAS FreeNAS 9 3 STABLE 201508250051 four disks in RaidZ1 remaining disks for backup Boot Device 2x mirrored SanDisk 8 GB Cruzer Fit Glorious1 Mar 14 2015 48 Offline Bidule0hm Server Sorcerer Member Since Aug 5 2013 Messages 2 656 Message Count 2 656 Likes Received 320 Trophy Points 83 Location France Bidule0hm Mar 14 2015 Well searched on my favorite search engine and http stackoverflow com questions 7068759 crontab syntax error So you need to escape the percent signs like this Code text cp data freenas v1 db mnt Ark Jim configbak date Y m d db My software threads The FAQ Useful Scripts Useful Commands ZFS RAID Size Reliability Calculator The ZFS Structure What are your ARC stats You ve an ARC question problem My hardware threads How to measure drives spin up current How to build a PCIe bracket for a standard SSD that powers it too Members threads Terminology and Abbreviations Cyberjock s ZFS Guide Hardware Recommendations ECC vs Non ECC RAM PSU Sizing Tutorial RAID Z1 RAID5 isn t recommended FreeNAS 9 3 0 Stable 201506292130 SuperMicro X10SL7 F flashed IT P16 Intel Core i3 4360 3 7GHz Crucial 2x 8GB DDR3 ECC 1600MHz 1 35V CT2KIT102472BD160B RAID Z3 with 4x Seagate NAS 3TB ST3000VN000 4x Western Digital RED 3TB WD30EFRX SeaSonic X Series 650W UPS MGE Ellipse 600 DIY custom case with everything on a rack suspended disk cage air filter 4x Arctic F12 PWM fans Bidule0hm Mar 14 2015 49 Offline Glorious1 NAS ty with the FreeNAS Member Since Nov 23 2014 Messages 365 Message Count 365 Likes Received 29 Trophy Points 28 Occupation Not computer stuff Location Colorado USA Glorious1 Mar 14 2015 Isn t that identical to what I used in my previous post Edit duh missed the slashes Ok I ll try that SpoilerTarget Show FreeNAS System Motherboard SuperMicro A1SRi 2758F mini ITX with integrated CPU Intel Atom C2758 CPU 8 core 2 4 GHz HBA Expander LSI 9240 8i PCIe board flashed to IT mode provides 8 SATA ports RAM Crucial 2x 8GB SO DIMM 204 pin Unbuff ECC DDR3 1600 1 35V Drives 3x WD Red NAS 3 TB 4x WD Green 3 TB Power Supply SeaSonic Platinum Series SS 400FL2 Fanless Active PFC Case Lian Li PC Q26 with 4x 120 mm fans and room for 10 3 5 drives FreeNAS FreeNAS 9 3 STABLE 201508250051 four disks in RaidZ1 remaining disks for backup Boot Device 2x mirrored SanDisk 8 GB Cruzer Fit Glorious1 Mar 14 2015 50 Offline Bidule0hm Server Sorcerer Member Since Aug 5 2013 Messages 2 656 Message Count 2 656 Likes Received 320 Trophy Points 83 Location France Bidule0hm Mar 14 2015 No you don t see the backslashs I added My software threads The FAQ Useful Scripts Useful Commands ZFS RAID Size Reliability Calculator The ZFS Structure What are your ARC stats You ve an ARC question problem My hardware threads How to measure drives spin up current How to build a PCIe bracket for a standard SSD that powers it too Members threads Terminology and Abbreviations Cyberjock s ZFS Guide Hardware Recommendations ECC vs Non ECC RAM PSU Sizing Tutorial RAID Z1 RAID5 isn t recommended FreeNAS 9 3 0 Stable 201506292130 SuperMicro X10SL7 F flashed IT P16 Intel Core i3 4360 3 7GHz Crucial 2x 8GB DDR3 ECC 1600MHz 1 35V CT2KIT102472BD160B RAID Z3 with 4x Seagate NAS 3TB ST3000VN000 4x Western Digital RED 3TB WD30EFRX SeaSonic X Series 650W UPS MGE Ellipse 600 DIY custom case with everything on a rack suspended disk cage air filter 4x Arctic F12 PWM fans Bidule0hm Mar 14 2015 51 Offline Glorious1 NAS ty with the FreeNAS Member Since Nov 23 2014 Messages 365 Message Count 365 Likes Received 29 Trophy Points 28 Occupation Not computer stuff Location Colorado USA Glorious1 Mar 14 2015 Sorry for the confusion Now the command in cron is cp data freenas v1 db mnt Ark Jim configbak date Y m d db And got the error again Cron root Tabernacle PATH bin sbin usr bin usr sbin usr local bin usr local sbin root bin cp data freenas v1 db mnt Ark Jim configbak date Syntax error EOF in backquote substitution Syntax error Error in command substitution The bigger question to me is why won t the original command work for me if it works for cyberjock and others How could it work when executed immediately but not as a cron task SpoilerTarget Show FreeNAS System Motherboard SuperMicro A1SRi 2758F mini ITX with integrated CPU Intel Atom C2758 CPU 8 core 2 4 GHz HBA Expander LSI 9240 8i PCIe board flashed to IT mode provides 8 SATA ports RAM Crucial 2x 8GB SO DIMM 204 pin Unbuff ECC DDR3 1600 1 35V Drives 3x WD Red NAS 3 TB 4x WD Green 3 TB Power Supply SeaSonic Platinum Series SS 400FL2 Fanless Active PFC Case Lian Li PC Q26 with 4x 120 mm fans and room for 10 3 5 drives FreeNAS FreeNAS 9 3 STABLE 201508250051 four disks in RaidZ1 remaining disks for backup Boot Device 2x mirrored SanDisk 8 GB Cruzer Fit Glorious1 Mar 14 2015 52 Offline Bidule0hm Server Sorcerer Member Since Aug 5 2013 Messages 2 656 Message Count 2 656 Likes Received 320 Trophy Points 83 Location France Bidule0hm Mar 14 2015 Hmm Ok then I ll say it s a copy paste problem Use the original command and try to rewrite with your keyboard every special character including spaces shlashs My software threads The FAQ Useful Scripts Useful Commands ZFS RAID Size Reliability Calculator The ZFS Structure What are your ARC stats You ve an ARC question problem My hardware threads How to measure drives spin up current How to build a PCIe bracket

    Original URL path: https://forums.freenas.org/index.php?threads/backup-config-file-every-night-automatically.8237/page-3 (2016-02-01)
    Open archived version from archive

  • Backup config file every night automatically! | Page 4 | FreeNAS Community
    4x 8GB DDR3 ECC 1600MHz 1 35V CT2KIT102472BD160B SeaSonic G450W Fractal Define R5 APC UPS BE700G U FreeNAS 9 3 STABLE 201506292332 NOT 9 3 1 2x16GB SanDisk USB Cruzer Blade Mirror 7x4TB Seagate NAS ST4000VN000 RAID Z2 ownCloud 8 2 2 Plex Media Server 0 9 14 6 PlexPy 1 2 16 openVPN 2 3 6 DNS unbound nsd VirtualBox Win10 running Glassfish Java App various test Linux BSD FreeNAS VMs HP N54L 16GB 5x4TB Stripe as a nightly backup ZFS snapshot replication AdrianWilliamson May 27 2015 69 Offline joeschmuck Old Man Member Since May 28 2011 Messages 4 043 Message Count 4 043 Likes Received 306 Trophy Points 83 Occupation Electrical Engineer Data Analysis and Management Location Northern Virginia joeschmuck May 27 2015 So if you wanted to copy your configuration and then delete all but the most recent 5 days 120 hours to be exact all on the same CRON job Code text cp data freenas v1 db mnt tank date c db find mnt tank mtime 5 exec rm Yes I didn t do anything special just joined the two commands where the first one must finish OK before the second one runs I could have used a semicolon vice the double ampersands but then if the copy fails you could run into a situation where you have some crap partial files and you are deleting the older good ones It s personal preference Also I didn t care for just a simple date code so I used a different format for the file name Instead of 20150527 db my file name is Wed May 27 14 11 26 db Of course you can customize your own name as well it s easy enough Also if lets say you ran this CRON more than once a day lord knows why someone would but it will not overwrite the same name file If you wanted to change this to a different value for the days being retained just change the 5 value to the number of 24 hour periods you would like You can also specify it by number of weeks this would give you 1 week 168 hours from the time you run the command Code text cp data freenas v1 db mnt tank date c db find mnt tank mtime 1w exec rm I wanted to give you a true 5 backups and not 120 hours but my daughter is bugging me to make dinner so I have to stop now to ensure she doesn t starve EDIT After thinking about this over night I thought to myself why 5 days or 1 week why not 30 days Lets face it by the time you realize something is wrong it could be a long time I d change the deletion to allow you to maintain as many copies as you can handle I m going with 30 days for my system Someone else might want to elect for 60 or 90 days The files are not that large to store SpoilerTarget Show FreeNAS System FreeNAS 9 3 Stable AMD FX 4300 3 8GHz CPU Asus M5A78L M USB3 Intel NIC EXPI9301CTBLK PCI E 16GB Kingston DDR3 ECC 1333 RAM Patriot Xporter XT Rage 8GB USB Flash Drive Six WD Red WD20EFRX NAS Hard Drives RAIDZ2 7 3TB usable space All wrapped up in a Cooler Master HAF 912 case APC Back UPS Pro BR1000G SpoilerTarget Show Sophos UTM Unified Threat Management Sophos 9 3xxx Intel Core 2 Duo E8500 CPU Gigabyte GA P45T ES3G 8GB RAM 500GB 2 5 Laptop drive RAID Capacity Calculator or Biduleohm RAID Calculator Decode Your S M A R T Data joeschmuck May 27 2015 70 Tom likes this Offline Nick McCloud Member Since Apr 4 2015 Messages 2 Message Count 2 Likes Received 0 Trophy Points 1 Nick McCloud Jun 20 2015 Just a minor but critical typo in the cron with version command string missing cp data freenas v1 db mnt tank date Y m d cat etc version cut d f2 cat etc version cut d f4 db For some reason the Run Now button doesn t appear to run anything I ll debug it further after lunch Nick McCloud Jun 20 2015 71 Offline Spearfoot Newbie Member Since May 13 2015 Messages 73 Message Count 73 Likes Received 17 Trophy Points 8 Spearfoot Jun 20 2015 Here s my script which mimics the FreeNAS naming convention for the backup file hostname version timestamp and saves the file to a pool named tank Code text bin bash SRC FILE data freenas v1 db DEST DIR mnt tank DEST HOST hostname s DEST VERSION cat etc version DEST DATE date Y m d H M S DEST FILE DEST HOST DEST VERSION DEST DATE db cp SRC FILE DEST DIR DEST FILE I configured it as a Cron job owned by root with this command line Code text bin bash mnt tank save config sh It runs from the CLI and at the scheduled time in Cron but not when I use the Cron Run Now button as pointed out by Nick Odd SpoilerTarget Show my systems PC Workstation Windows 7 Ultimate Supermicro C7P67 Intel Core i7 2600K 3 4GHz 16GB Kingston RAM 1 x 120GB Samsung 850 EVO boot drive 4 x 1TB Seagate ST1000DM003 in 2TB RAID 10 array on IBM M1015 HBA NVidia Quadro 2000d video card 2 x Samsung S24C450 24 displays 1920x1200 FreeNAS system FreeNAS 9 3 STABLE always latest version Running virtualized as VMware ESXi v6 0 VM with 2 vCPUs and 16GB RAM on Supermicro X10SL7 F Intel Xeon E3 1241v3 3 5GHz 32GB Crucial ECC RAM Motherboard s LSI 2308 controller passed through to FreeNAS VM via VT d per best practices 1 x 16GB SanDisk Cruzer Fit ESXi boot drive 2 x 60GB Edge Boost Pro Plus SSD ESXi datastore including mirrored FreeNAS boot images 7 x 2TB HGST 7K4000 drives in a 10TB RAID Z2 pool tank on

    Original URL path: https://forums.freenas.org/index.php?threads/backup-config-file-every-night-automatically.8237/page-4 (2016-02-01)
    Open archived version from archive