timemachine 디스크 옮기기

단순?하게 물리적인 하드 vs 하드로 옮길 경우는 아래의 링크와 같이
http://support.apple.com/kb/HT5096
그냥 옮기면 됨…

그러나, 로컬(이동식등) 하드로 Time Machine을 하다가 이 내용을 Network Drive로 옮기고자 할 경우는 전혀 다른 이야기가 되됨…
(한시간째 일이 손에 잡히지 않아 졸음도 쫒을 겸, 이것 저것 알아보는중…)
결론부터 얘기하면 Network Drive로 잡히는 TimeMachine(이하 TM)은 해당 파티션을 노멀하게 사용하지 않고, Sparce Bundle Image를 하나 만들어 이 안에 패키지 내용을 적어넣는 방식을 따르고 있다.
실제로, 서버에서 AFB등의 설정에서 ‘TM용으로 사용’이라는 옵션을 걸어 공유를 만들게 되면
해당 디렉토리안에 {host_id}라는 이름을 가진 sparcebundle 디스크 이미지가 한개 떠억~ 생성되어 있다.
이 이미지를 마운팅해서 보면, 많이 보던 디렉토리 구조가 펼쳐져 있다…
결국, 네트웍 드라이브로 TM을 설정하고자 할 경우는 바로 디렉토리를 복사하면 되는게 아니라
이 sparcebundle을 마운트 하여 이곳 안에 Backups.backupdb 이하를 털어 넣어야 된다는 것이다…

=_= 의도치 않게 중복된 복사를 또 하는중…;;; 복사하는데 몇시간 걸렸는데…;; 끙….

참조…

How to make time machine to recognize any disk for backup


http://gigaom.com/apple/how-to-use-time-machine-over-a-network/

 

The following are some simple instructions to set up a new backup volume from scratch and have Apple Time Machine to recognize it:

♦ Find your machine name (machine_name) and run the following command in terminal (in this example we’re creating a 250GB partition):

hdiutil create -size 250G -fs HFS+J -volname ‘My Backups’ -type SPARSEBUNDLE machine_name.sparsebundle

♦ The output should be something like machine_name.sparsebundle under your user’s home directory.

♦ You will need to find your hardware UUID in the System Profiler.

♦ Create a file (using your text editor) and name it TimeMachine.MachineID.plist and add your machine’s UUID to it.

 

Here is an example of the file content:

<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>com.apple.backupd.HostUUID</key>
<string>YOURUUIDHERE</string>
</dict>
</plist>

♦ Save the file and copy it to the machine_name.sparsebundle package.

cp com.apple.TimeMachine.MachineID.plist machine_name.sparsebundle/

♦ Copy machine_name.sparsebundle to the root directory of your backup disk.

♦ Start Time Machine disk configuration. Your new disk should appear there and TM should be able to use as a backup up disk.

c#, http POST

http://www.hanselman.com/blog/HTTPPOSTsAndHTTPGETsWithWebClientAndCAndFakingAPostBack.aspx

 

or…

You could take a look at the WebClient class. It allows you to post data to an arbitrary url:

using (var client = new WebClient()) { var dataToPost = Encoding.Default.GetBytes("param1=value1&param2=value2"); var result = client.UploadData("http://example.com", "POST", dataToPost); // do something with the result }

Will generate the following request:

POST / HTTP/1.1 Host: example.com Content-Length: 27 Expect: 100-continue Connection: Keep-Alive param1=value1&param2=value2

iOS Icon/Image guide line

http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html

Description Size for iPhone 5 and iPod touch (5th generation) Size for high-resolution iPhone and iPod touch Size for iPhone and iPod touch Size for high-resolution iPad Size for iPad Guidelines
App icon (required for all apps) 114 x 114 114 x 114 57 x 57 144 x 144 72 x 72 “App Icons”
App icon for the App Store (required for all apps) 1024 x 1024 (recommended) 1024 x 1024 (recommended) 512 x 512 1024 x 1024 (recommended) 512 x 512 “App Icons”
Launch image (required for all apps) 640 x 1136 640 x 960 320 x 480 1536 x 2008 (portrait)

2048 x 1496 (landscape)

768 x 1004 (portrait)

1024 x 748 (landscape)

“Launch Images”
Small icon for Spotlight search results and Settings (recommended) 58 x 58 58 x 58 29 x 29 100 x 100 (Spotlight search results)

58 x 58 (Settings)

50 x 50 (Spotlight search results)

29 x 29 (Settings)

“Small Icons”
Web clip icon (recommended for web apps and websites) 114 x 114 114 x 114 57 x 57 144 x 144 72 x 72 “Web Clip Icons”
Toolbar and navigation bar icon (optional) Approximately 40 x 40 Approximately 40 x 40 Approximately 20 x 20 Approximately 40 x 40 Approximately 20 x 20 “Icons for Navigation Bars, Toolbars, and Tab Bars”
Tab bar icon (optional) Approximately 60 x 60 Approximately 60 x 60 Approximately 30 x 30 Approximately 60 x 60 Approximately 30 x 30 “Icons for Navigation Bars, Toolbars, and Tab Bars”
Default Newsstand cover icon for the App Store (required for Newsstand apps) At least 1024 pixels on the longest edge At least 1024 pixels on the longest edge At least 512 pixels on the longest edge At least 1024 pixels on the longest edge At least 512 pixels on the longest edge “Newsstand Icons”