Showing posts with label NAS. Show all posts
Showing posts with label NAS. Show all posts

Saturday, November 12, 2011

Moving iTunes iPhone 3g 3gs 4 4s backup to network drive and off your boot drive

To move your iTunes iPhone backup from your boot drive to a network share (e.g. on your home NAS) you need to do to have the following:

  • Microsoft iSCSI Initiator (comes with Windows 7 and Vista)
  • mklink (comes with Windows 7 and Vista)
  • NAS that has iSCSI services (e.g. QNAP TS-239 Pro II)
  • iTunes with a recent backup of your iPhone
With the tools and software above follow the steps below:

  • Double check that you have an existing backup under 'Edit>Preferences>Devices' in iTunes
  • Close iTunes and unplug your iPhone from the computer
  • Launch into the admin page of your NAS and enable a iSCSI Target Service. You will also need to create a iSCSI Target and a mapped LUN. If you are not comfortable with this you will need to google for instructions on the internet as configuration will vary from model to model.

NOTE: Make sure you make the mapped LUN slightly bigger than your iPhone capacity (e.g. 17gb for a 16gb iPhone, 33Gb for a 32gb iPhone, etc. Make sure to enable Thin Provisioning if your NAS supports it as this will save space on your NAS - P.S. Most good QNAPs do)

  • On the workstation with iTunes, click START and type iSCSI Initiator ('iSCSI Initiator' should appear in the search results). Click on 'iSCSI Initiator'.
  • Click Yes to run this service automatically
  • In the Target field type in the IP address of your NAS that is hosting the iSCSI Target Service and click 'Quick Connect'
  • Your iSCSI service should appear. Click 'Done'
  • Click OK
  • Click START and type Computer Management ('Computer Management' should appear in the search results). Click 'Computer Management'
  • Under Storage click 'Disk Management'
  • If you only have one hard drive, the iSCSI drive should appear as DISK 1. If you have multiple hard drives then the iSCSI drive will most likely be the last one on the list. Click on the iSCSI drive and create a 'Simple Volume' (name the volume and format using NTFS with the quick format feature). Once the drive has formatted it should be accessible through the normal windows explorer. Change the drive letter of this volume to wha ever you want (I choose i:)
  • Locate the folder with your iTunes backup. This will likely be

"C:\Users\User1\AppData\Roaming\Apple Computer\MobileSync\Backup\"

  • Go back to the 'MobileSync' folder and CUT and PASTE the 'Backup' folder to the iSCSI location (e.g. cut the 'Backup' folder from "C:\Users\User1\AppData\Roaming\Apple Computer\MobileSync" and paste to i:\). This will take a while to copy.
  • Open a command prompt and type in 'CD\' and press enter. This will bring you to the root if your C: drive. Type in the the following command to make a symbolic link:

C:\>mklink /J "C:\Users\User1\AppData\Roaming\Apple Computer\MobileSync\Backup\"
 "I:\Backup\"

  • If successful you will see the following output:

Junction created for C:\Users\User1\AppData\Roaming\Apple Computer\MobileSync\Ba
ckup\ <<===>> I:\Backup\
  • Now open iTunes and click 'Edit>Preferences>Devices' and you should see your latest backup/s!



Saturday, June 12, 2010

Configuring Drupal on a QNAP NAS (TS-239 Pro II) using GUIs only!

Below are instructions in configuring Drupal on the TS-239 Pro II NAS without using the Linux command line.

* Enable the web server role and ensured it configured to run on TCP 80
* Launch QNAP admin page and configure MySQL to listen on TCP/3306
* Reset the "root" password for MySQL on the same page by clicking on the "Reset Root Password" button
* Open the QPKG menu and click on "Get QPKG". This should open a new window with a list of packages you can download for your QNAP NAS. If you are unable to find the "Get QPKG" button you can download phpMyAdmin with the link below - "http://gator368.hostgator.com/~qnap/Storage/QPKG/phpMyAdmin_3.2.0.zip".
* Extract the phpMyAdmin zip file to your workstation. You should now have a .qpkg file.
* Go back to the QNAP admin page and visit the QPKG menu. Click on the Installation tab.
* Click "Browse" and select the .qpkg file. Click OK and "Install". This will install phpMyAdmin.
* After installation click a phpMyAdmin icon should appear under the QPKG menu. Click on this and the link to launch the phpMyAdmin webpage.
* Log in using the root account (password is the one you reset eariler)
* On the main menu you should be able to create a mysql database. Create one called "drupal"
* Once database has been created click on "Privileges" and create a new user called "drupaluser"
* Visit www.drupal.org and download the .tar.gz file
* Launch the QNAP web file manager
* Upload the .tar.gz file to the "Web" folder
* Extract the .tar file to the "Web" folder
* Extract the drupal folder within the .tar file into the "Web" folder. Note: The QNAP NAS web file manager has the ability to extract .tar and .gz files.
* Rename the drupal folder so it doesn't have the version numbers
* Delete .tar and .tar.gz files (Clean up)
* Visit the website by hitting the IP address and drupal folder (i.e. http://192.168.1.100/drupal
* Click on "Install Drupal in English"
* You most likely recieve an error regarding default.setting.php file. Follow the instructions on the screen using the QNAP web file manager and click continue. NOTE: There is a button below to try again.
* Type in the name of the database, newly created user and password (i.e. drupal, drupaluser, password) and click continue. This will start populating tables inside the drupal database.
* Again, following the directions on the drupal configuration page such as removing write access to default.settings.php and settings.php (444 - Clean up), Site info, admin details and server settings. Click "Save and Continue".
* DONE! Now visit your site by visting "http://IPAddressoftheNAS/drupal".

To customise your solution, visit www.drupal.org for themes, modules and funky ideas.

Chewy