<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8696064492324118983</id><updated>2011-11-28T00:33:59.825+01:00</updated><category term='online backup tool'/><category term='ftp backup script'/><category term='picture backup'/><category term='backup pictures'/><category term='backup'/><title type='text'>Peter's Blob</title><subtitle type='html'>The enterprise grade solutions for your home computing.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mojblob.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8696064492324118983/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mojblob.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Peter</name><uri>http://www.blogger.com/profile/14526334236012697239</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8696064492324118983.post-1928857720802457575</id><published>2008-10-07T17:29:00.002+02:00</published><updated>2008-10-09T10:38:42.457+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='online backup tool'/><category scheme='http://www.blogger.com/atom/ns#' term='backup pictures'/><category scheme='http://www.blogger.com/atom/ns#' term='ftp backup script'/><title type='text'>My Online Photo and Media Backup Service (part 2)</title><content type='html'>Hm , I was about to post the continuation of my "how to" for online back up but it appears that my blog was tagged as spam...interesting.&lt;br /&gt;&lt;br /&gt;Anyway below is the download link for the tool I have created for the sole purpose of backing up files to remote FTP service. I have run this tool using windows scheduler every day and managed to backup all of my important media files such as pictures and short video clips. All in all about 3 000 files occupying almost 30 GB space.&lt;br /&gt;&lt;br /&gt;Now I am working on the backend tool to automatically create thumbnails and a gallery. This one will run as a cron job on the web hosting company server and will give me nice access to my photos (scaled and originals) anywhere.&lt;br /&gt;&lt;br /&gt;Have fun and let me know how it works for you should you chose to use it for your online backup jobs.&lt;br /&gt;&lt;br /&gt;Almost forgot,  &lt;a href="http://petershome.com/downloads/backupFTP_v1.0.zip"&gt;HERE&lt;/a&gt; is the download link.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8696064492324118983-1928857720802457575?l=mojblob.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mojblob.blogspot.com/feeds/1928857720802457575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8696064492324118983&amp;postID=1928857720802457575' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8696064492324118983/posts/default/1928857720802457575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8696064492324118983/posts/default/1928857720802457575'/><link rel='alternate' type='text/html' href='http://mojblob.blogspot.com/2008/10/online-backup-service-part-2.html' title='My Online Photo and Media Backup Service (part 2)'/><author><name>Peter</name><uri>http://www.blogger.com/profile/14526334236012697239</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8696064492324118983.post-3730455478468718294</id><published>2008-10-02T17:25:00.008+02:00</published><updated>2008-10-20T14:47:03.617+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture backup'/><category scheme='http://www.blogger.com/atom/ns#' term='online backup tool'/><category scheme='http://www.blogger.com/atom/ns#' term='ftp backup script'/><title type='text'>My Online Photo and Media Backup Service</title><content type='html'>&lt;h2 style="text-align: center;" align="center"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;span style="font-size:0;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;Recently, a little HW mishap had me think hard about my home backup policy. I think most people today have the similar nightmare that one day all of their data will disappear and that they wont be able to find their backup (insert your favorite backup media) to restore it, or at least all of it. Of course I am not talking about some mission critical enterprise data at some Corporation X but just your own personal stuff that is stored on one or few PCs at home. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;Than I was thinking what would I miss the most if say, my house would burn down and with it all the data (and I did not have to go to such extreme situation when my own mistake has almost cost me my RAID 1 style “backup”.) Then I figured, the greatest&lt;span style="font-size:0;"&gt; &lt;/span&gt;tragedy would be for sure to lose all of the photos my family and I have taken over the last 10 years with the digital camera.&lt;span style="font-size:0;"&gt; &lt;/span&gt;Now if you are worried about some other kind of data e.g. your last tax return than that's OK too as far as you are worried because people who don't worry at all, usually just don't realize what they will lose until it happens. (The loudest cussing I heard in my life was when HD disaster struck my next door neighbor…. may his PC rest in peace now.)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;This has made me look at a few solutions available today to see what are my options and how much time and money will they cost me. Being cheap and lazy as most people are, I did not opt for the enterprise version of (insert you favorite backup SW here) plus some off-site tape backup HW. Besides, I somehow never feel good about creating and storing some hundred gigabyte file even if its split into smaller but meaningless chunks. Thus I looked around for some online backup solution which seemed natural choice especially for my treasured photographs. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;After looking around I decided that &lt;a href="http://www.mozy.com/?kbid=40581"&gt;Mozy.com&lt;/a&gt; seems to meet most of my requirements. I was ready to sign up and dish out 4.95$/month/computer when I realized that I already pay 4.95$/month to my web hosting&lt;span style="font-size:0;"&gt; &lt;/span&gt;provider. So I looked at my hosting plan and found out that the SPACE and BANDWIDTH are &lt;b&gt;unlimited&lt;/b&gt; and I do have FTP access there anyway so why not make use of this and just FTP all of my pictures there, and while all my pictures would be there I could look at them using some PHP photo gallery script my hosting provider offers preinstalled as a BONUS. What a novel&lt;span style="font-size:0;"&gt; &lt;/span&gt;idea? ;-) &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;So I clicked on “Cancel Payment” button on mozy sign up page, and started to think what is the best way to get my pics from my home computers to my web host via FTP.&lt;span style="font-size:0;"&gt; &lt;/span&gt;Sounds easy enough but I did want to have this fully automated and scheduled on regular basis so I would never have to think about this issue again. Using some simple shell script with TAR and scheduled by CRON (Win translation: using DOS batch script with ZIP or Windows Backup service ) should do it but it had two main problems:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;1) Creating some huge file (possibly split into smaller chunks) and FTPed is out of question due to disk space requirements and FTP time outs due to some network issues such as slow upload speed of my ADSL. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;2) Streaming the file during &lt;span style="font-size:0;"&gt;the &lt;/span&gt;TAR process is only possible on linux and still has problems with network issues and FTP not being able to resume upload if such problem occurs.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;At the end I decided I could just upload each picture separately mirroring the complete directory structure on the host side (probably what Mozy does as well). Thus my photos could be also directly accessible by some PHP gallery script for direct viewing (and thumbnail creation). So I created simple specification of the SW that would need to do this job:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span lang="EN-US"&gt;SPEC:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;1)&lt;span style="font-size:0;"&gt; &lt;/span&gt;Copy each picture only once to FTP destination using same folder structure, and once backed up do not upload this picture anymore in the future unless rule number 6)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;2) If there is error during upload, retry few times and if still not successful mark the picture as not backed up for possible retry during next scheduled backup.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;3) Find all pictures in all subdirectories given one or more local folders e.g. C:/MyPictures&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;4) Don’t upload certain folders and files (filte thumbs.db, picasa.ini, etc.) -&lt;span style="font-size:0;"&gt; &lt;/span&gt;must have file/folder filter.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;5) Keep track of what is backed up and where.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;6) If the file has been modified detect this and update the backed up version too.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;7) Must work on Windows and Linux since I use both at home.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;8) Be simple enough to implement in few hours without buying any commercial SW.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;And after few hours of work and some web searching I came up with the following:&lt;span style="font-size:0;"&gt; &lt;/span&gt;&lt;i&gt;(to be continued)&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8696064492324118983-3730455478468718294?l=mojblob.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mojblob.blogspot.com/feeds/3730455478468718294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8696064492324118983&amp;postID=3730455478468718294' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8696064492324118983/posts/default/3730455478468718294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8696064492324118983/posts/default/3730455478468718294'/><link rel='alternate' type='text/html' href='http://mojblob.blogspot.com/2008/10/no-subject.html' title='My Online Photo and Media Backup Service'/><author><name>Peter</name><uri>http://www.blogger.com/profile/14526334236012697239</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
