Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

Friday, March 13, 2015

iPhone: Repair black/white and corrupt photo thumbnails in camera roll


The iPhone camera roll photo thumbnail database can become broken and corrupt. This results in either black/white thumbnails and fully functional photos or functional thumbnails but black/white photos. Typically this happens when the users backup their iPhone camera roll photos to a computer without using iTunes, which is not even available for the popular Ubuntu/Debian/Fedora Linux distributions. The fix, which is described here, is to regenerate or repair the photo thumbnail database.

ios, fix, tutorial, guide, black, white, missing photo, missing thumbnail, photo error
Everyone should ensure that they back up the photos on their phones from time to time. Whether this is done to the cloud or to their home computer, a working routine is extremely important to prevent irreparable damage if one loses the phone. For iPhone users, backup to iCloud of the camera roll photos can be easily set up, although in the long run this is not a sustainable solution due to the space limitations on the iPhone itself as well as on iCloud. Simply put, keeping all photos ever taken on your iPhone is not a sustainable solution. Therefore, users should occasionally backup their photos to a computer to free up the storage space of their iPhone as well as iCloud account.

The process of backing up the iPhone photos from the camera roll can be performed through iTunes, although many users find it slow, bloated and sluggish. For Linux users, such as the popular Ubuntu and Debian users, iTunes is not even available. Thus, the use of a file manager to transfer the data in the DCIM folders is preferred by many for its transparency, and effectiveness. Unfortunately, it has been shown that backing up photos in this way may corrupt the photo thumbnail database, causing it to lose its sync with the camera roll. This results in either non-existent (black/white) photos, or black/white thumbnails when the users attempts to access their iPhone photos. This tutorial shows how to fix and repair the camera roll photo thumbnail database.




Friday, March 6, 2015

How to ping BackupPC hosts behind a NAT router or firewall

BackupPC is a very capable open-source enterprise-grade backup system that is readily available for most Linux distributions, e.g., Ubuntu, Debian and Fedora. However, since most computers today are behind a NAT router or firewall, this completely breaks the ping command that a remote BackupPC server uses to check if a host client is alive or reachable. The most common solutions which allow BackupPC to ping host clients that are behind a NAT router or firewall are discussed here.

ubuntu, debian, linux, pincmd, pingpath, tutorial, hping3, aliveBackupPC, being open source and free, is great in many aspects and thus has also become the backup system of choice in many enterprise environments as well as home networks. Although it usually works out-of-the box in most popular Linux distributions, such as Ubuntu, Debian and Fedora, some quirks do exist. For example, the broken GUI interface caused by Apache. Another example, which is discussed here, is the ping system that BackupPC uses to check if a host computer client is alive. In addition, it will be argued why some common solutions provided on the internet are better than others based on experience and logic.

The scenario that is particularly considered is the case of a remote BackupPC server attempting to backup multiple computers that sit behind a NAT router with firewall, as illustrated in the picture above.