tag:blogger.com,1999:blog-5526768924178592295.post509762335078112541..comments2024-03-28T19:35:24.365-07:00Comments on Rural Revolution: BIG mistakePatrice Lewishttp://www.blogger.com/profile/06012022335047974670noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5526768924178592295.post-1296064185717193562016-04-15T17:35:31.644-07:002016-04-15T17:35:31.644-07:00Ummm... this was a hoax. Didn't happen.Ummm... this was a hoax. Didn't happen.Joyhttps://www.blogger.com/profile/15471639876072617577noreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-71549430925714931142016-04-14T19:22:50.246-07:002016-04-14T19:22:50.246-07:00Time for some "code insurance."
It would...Time for some "code insurance."<br />It wouldn't get your stuff back, but it would sure come in handy if your were to be sued by 1,535 suddenly out of business companies that had you cold as the admitted culprit.<br />Bad bad day at the office, dear.<br /><br />A. McSpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-41945253332459837642016-04-14T19:19:19.605-07:002016-04-14T19:19:19.605-07:00You, my well prepared friend, have a gift.
Will ...You, my well prepared friend, have a gift. <br /><br />Will Rogers couldn't have said it any better.<br /><br />A. McSpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-34659376375096840222016-04-14T16:35:01.037-07:002016-04-14T16:35:01.037-07:00Worse case is that Mr. Marsala put 1,535 companies...Worse case is that Mr. Marsala put 1,535 companies out of business last night. Heck that's nothing. The US government does that by 10AM every day.<br />Montana GuyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-31843208810867310072016-04-14T15:37:03.272-07:002016-04-14T15:37:03.272-07:00It can be amazingly simple to do if you're not...It can be amazingly simple to do if you're not careful about validating input ...<br /><br />For instance, let's say that there are two variables, "bckdir" and "custdir", that are meant to hold backups. You then create a path from those two variables, but your script is sometimes not working, so you think that it would be a great idea to make sure the information is fully pathed.<br /><br />So you do this:<br /><br />mydir="/${bckdir}/${custdir}"<br /><br />And because you only let your customers keep<br />one backup, you do this first:<br /><br />/bin/rm -rf "${mydir}"<br /><br />But you aren't validating your input, and one of the configuration files that specifies the values for one of your customers is missing.<br /><br />So when "bckdir" and "custdir" are empty, the path value becomes this:<br /><br />"//"<br /><br />Which is the same as "/", which is the top-level of the system.<br /><br />Install it, forget about it, and after a while all of your files are gone because you thought your quick full-path fix was a great idea.<br /><br />While you thought you were backing up your system, you were actually trashing it as well as where you were storing your backups ...<br /><br />That's how it can happen.<br />Jonesnoreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-34562899070065035272016-04-14T11:25:05.006-07:002016-04-14T11:25:05.006-07:00Backing up is good. I've learned the hard way ...Backing up is good. I've learned the hard way what happens when you don't do it often enough, too.Gorges Smythehttps://www.blogger.com/profile/08777621500611603786noreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-68831724886038171242016-04-14T10:39:13.233-07:002016-04-14T10:39:13.233-07:00I once had a boss (IT department head) who was sho...I once had a boss (IT department head) who was showing off his "mad computing skills" at a remote location from our company. He typed in a command on his laptop and when it took longer than he expected to complete, he asked me what the specific command would do (what a dummy!). When I told him it would delete everything in the directory he was in, he aborted the command. Too late! He had deleted 2/3 of the files back at the company! $100 million in sales a year company! It took nearly a week to get the backup files and duplicate everything that had been done since the backup (only 15 hours earlier). Too bad the company was owned by an "old school" gentleman who thought women weren't good enough to have high rank in his company!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-30189858000659960312016-04-14T09:46:13.872-07:002016-04-14T09:46:13.872-07:00I see how that could happen :wink:I see how that could happen :wink:Granny Millerhttp://www.granny-miller.com/noreply@blogger.comtag:blogger.com,1999:blog-5526768924178592295.post-2278702590035506152016-04-14T09:16:18.728-07:002016-04-14T09:16:18.728-07:00http://www.connections.com/blog/21-it-backup/100-z...http://www.connections.com/blog/21-it-backup/100-zen-and-the-art-of-it-backup-principle-1Anonymousnoreply@blogger.com