Showing posts with label backup. Show all posts
Showing posts with label backup. Show all posts

Battery backup solution for home

Battery backup solution for home

Power cuts are very common in my area with about 2 incidents monthly. So far, the damage has been minimal with just one hard disk full of games lost. It would have been another story if it happened to the NAS dedicated to my  photos, music and movies.


After comparing different brands and models, the BE700G(-UK) from APC appeared as the obvious choice.
It is said to have enough power to allow plenty time for my stuff to shut down safely and it's just like a bulky power strip that can stay discrete on the floor. 

Next thing was to find a store to buy it. It was particularly convenient since APC has an Irish web site with the model available for €118.99 (VAT & Shipping included). Just four days later, the Back-UPS arrived from Netherlands and I started to install it.



All it took was to connect the cathode wire in the battery compartment, link the UPS data port to the NAS (Synology DS-109) with the USB cable provided, and decide which devices to plugs in the 8 outlets (4 surge protection + backup power, and 4 surge protection only). In my configuration, there would be an old 300W tower computer, a 22" LCD monitor (80W), and the Synology NAS (20W) on the power backup side. The printer would be on the surge-protection-only side on a "controlled" outlet. One feature offered by the BE700G is to allow up to 3 devices on the "controlled" outlets to be powered off when the device on the "master" outlet (typically a PC) shuts down.

Ideally the UPS must be left to charge for the first 16 hours in order to provide an optimal protection, so I resisted the urge to play with it...for at least 20 minutes...


In my case it was not necessary to install the included PowerChute software since I linked the UPS to my Synology Diskstation which software already takes care of the UPS management. By default it is set to keep the NAS running until the UPS battery is low (which takes 4 min. in my case), then it would go on safe mode, I preferred to have this action done after 1 minute.
At this stage, I enabled the network UPS server with no clear idea how I would make this work with my PC.

I first thought that the PowerChute software would be necessary, but it only work if the UPS is locally connected to the PC USB ports. As a newbie in to the UPS world, I learnt that a network UPS server (NUT) would provide its service to NUT clients, and while there were plenty available for Linux, there were only a few running on Windows platforms.


I came accross that neat freeware called WinNUT which has the excellent option to install as a service. Its properties file must be properly configured but comes with enough comments and examples to make this possible in a matter of minutes. After clicking the "Apply and Start WinNUT" button , the computer was ready to receive alerts from the NAS. It is good to note that WinNUT 2.0.0b works perfectly on Windows 7.



I just switched off the wall outlet for a test and, while the Synology DiskStation detected the new UPS status (which in turn started to beep at regular intervals), the WinNUT client sent a pop up message to relay the information.




After the 60 seconds specified, both NAS and PC initiated their shut-down procedure.


...and best of all... a real outage occurred shortly after my UPS unit was installed !


Quick update:

Since this post was published, some things have changed:
1. The latest Winnuts development is now found at http://code.google.com/p/winnut/

2. Winnuts may log an "Access Denied" on startup. The solution is to use the credential defined in /usr/syno/etc/ups/upsd.users for the MONITOR command in upsmon.conf. So the line would look like this: MONITOR ups@192.168.x.x 1 monuser secret slave

3. Since Vista, the "Allow Service to Inreract with Desktop" does not allow the service to send its popup alerts. To workaround this, you need to spot the Popup Alert event in Windows Event Viewers > System, select it and define a task for this event (Action pane). In the possible actions for this "trigger", you can choose to display a system message. This new task will appear in the Task Scheduler.
Read More

Gmail offline backup tools

Gmail offline backup tools




Server outages like this 1st of September are rare but always bring back some fears like "what if it doesn't come back online ?", "did I loose everything this time ?", "has a hacker managed to crack my inbox ?", and while "real men don't do backup", you kind of regret that you didn't.

There are other good reasons to consider an offline backup: in case you reach the generous online storage limit, but also to store your emails with private information (memberships, passwords, ...) away from a potentially hackable place.

While the Gmail offline feature can store your content locally, it is only ment to synchronize emails (that are less than 5 years old) so you can work offline until a connection is available. If you want to delete the older emails online, they get deleted offline too upon synchronization. So you have to look elsewhere for a backup solution.

A simple and yet powerful approach exists: MailStore Home edition.
This freeware will archive emails from about any source (Outlook, Thunderbird, ...), including POP3 and IMAP services and let you store the backup on CD/DVD or USB storage afterwards. The archive can be searched and emails viewed directly from the application (which is faster than using the original client).

Adding to the product power, and to your freedom, MailStore can also re-export your backup to any of the numerous supported formats! So if Gmail had to disappear or become a payware one day (remember Yahoo POP3?) you could still re-inject your part of all your data into Outlook, Exchange, Thunderbird, SeaMonkey, or another POP3/IMAP server.

The new MailStore Home v.4, features a portable version and improvements detailed here.
Read More