Using Time Machine to Backup Multiple Mac Clients to SNC NAS and 1000 Application Note Abstract This application note describes how to use Time Machine to backup multiple Mac clients to SNC NAS and 1000.
Table of Contents Product Models Covered by This Document... 3 Introduction... 4 What is Time Machine?... 4 Advantages of Time Machine Support on SNC NAS and 1000... 4 About this Document... 4 Preparing the Environment... 5 Check Interoperability... 5 Create a Pool... 5 Enable AFP Service... 5 SNC NAS Configurations... 6 Create Users... 6 Create Folders... 8 Mac Configurations... 14 Configure Virtual File System... 14 Connect to SNC NAS Folders... 14 Configure Time Machine... 16 2
Product Models Covered by This Document This application note applies to the following product models: SNC NAS 200 SNC NAS 500 SNC NAS 800 SNC NAS 1100 For more information regarding individual product models, please visit www.snc.com.tr. 3
Introduction What is Time Machine? Time Machine is a backup utility available in Mac OS X 10.5 (Leopard) or later. Time Machine creates differential copies of the most recent states of data in a manner similar to snapshot and rollback features. To create backup data, Time Machine first copies the entire content of the Mac OS primary hard drive into an external storage device, and then starts automatically adding differential copies of modified data according to a schedule. When the data becomes corrupted due to unforeseen errors, users can roll back the data to a previous state by specifying a pre-accident date and time. Individual files as well as the whole system can be restored. Advantages of Time Machine Support on SNC NAS and 1000 On many other NAS devices, all Time Machine backup copies are stored in one single folder. On SNC NAS, however, backup copies of different Mac clients can be stored in separate folders. This deployment flexibility improves user management in the following two aspects: Enhanced security: By setting different access rights for separate folders, users can prevent unauthorized access to backup copies. Easy quota management: SNC NAS allows users to easily and quickly configure quotas for the folders used to store Time Machine backup copies. Compared to other NAS devices, which only allow users to configure quotas by users, the storage resource management on SNC NAS is more granular. About this Document By reading this document, users will learn the following: (1) How to configure SNC NAS so that multiple clients can be backed up to SNC NAS systems. (2) How to configure the Mac OS so that Time Machine backup copies to the SNC NAS system can be initiated. 4
Preparing the Environment Check Interoperability Ensure your Mac OS environment is compatible with your SNC NAS system. Mac OS version 10.6.8 is used for this document. Create a Pool Before you start working with Time Machine backup copies, first ensure that a pool has been created on your SNC NAS system. For details, please refer to the SNC NAS user manuals. Enable AFP Service To use your Mac environment in conjunction with the SNC NAS system, make sure the AFP service is enabled. The status of the AFP service can be found by going to the Configuration > Service > Share menu in the SNC NAS UI. Make sure the status of AFP service is Online. If necessary, click the enable AFP service. icon to 5
SNC NAS Configurations Time Machine support on SNC NAS enables users to store different Mac backup copies in different folders. To make sure each Mac client user can only access his or her backup copy, you can configure folders so that they are accessible to one user account only. In this document, we use a scenario of three different users (User1, User2, User3) with Mac clients connected to the SNC NAS system. Each of these Mac clients is backed up to different folders on the SNC NAS systems, as shown in the table below: Corresponding Corresponding Mac client SNC NAS user SNC NAS backup account folder Client 1 User1 User1_TM Client 2 User2 User2_TM Client 3 User3 User3_TM This document describes configuration steps for User1, which can be easily repeated for User2 and User3. Create Users In the SNC NAS UI, go to Account > User and click on Add to add a new user. A window appears that allows you to configure user account settings, including username (User1 in this example), password, account description, and the group to which the user will belong. You can also create a home directory for this user. When you check the box, the home directory path will automatically appear. Click Next. 6
You can select the shared folders to be shared with this user and select what type of access the user will have to these shared folders. Click OK. Click on OK to finish the user account creation process. After completing the creation process, you can find the new user in the user list shown in the Account > User menu. 7
Create Folders Go to Folder > Share and click on Add to create a new shared folder. In the Create Shared Folder window, select the pool in which you would like to create the folder and enter the folder name (User1_TM in this example to highlight that this folder is for the Mac client of User1). Click on Options to configure advanced settings. In the Options menu, a number of parameters can be configured. Click OK after configuring these options. Quota: The quota option allows you to set the maximum and minimum storage space allocated to the folder. Minimum amount means the storage space reserved for the folder. Maximum amount means the maximum size the folder can grow up to. Entering 0 in the maximum amount means unlimited space for the folder. Deduplication: Deduplication reduces the amount of data by eliminating identical copies of data; one set of original data will be saved along with references to other copies. For more information on the benefits of deduplication, please refer to the following document: Deduplication on SNC NAS: UI Configurations and Impact on Capacity Utilization. 8
Compression: Compression reduces the size of the volume by compressing the data using LZJB, a lossless data compression algorithm. Anti-Virus: This option enables the remote scan engine users set up to perform anti-virus scanning on the folder. Since the scanning is based on the ICAP protocol, the anti-virus software deployed on the scan engine has to support the protocol. Disable Transaction Log: If you wish to disable the transaction log, please click this box. Transaction Log: During data writes, SNC NAS by default writes transaction log into the ZIL (ZFS Intent Log) in parallel. This design improves data integrity because the transaction log can be used to replay data writes after sudden interruption. To ensure the log can be kept safe during power outages, the log is stored in disk drives. By disabling this feature, you can improve performance since the host application no longer needs to wait until transaction log is written to the disk drives. Host application can continue new writes as long as the issued writes reach cache. When this feature is disabled, we recommend that the SNC NAS system is connected to a UPS (Uninterrupted Power Supply) unit. After coming back to the Create Shared Folder Window, select Customize under Access Rights to configure detailed settings. Click OK. 9
Click on Yes to start configuring the customization settings. In the following window, select AFP for the shared folder protocol. Then click on Add to give users access to this folder. To allow users or groups to use this shared folder, please move users or groups from the columns on the left side to the columns on the right side by clicking on the > sign. In this example, we select User1 for this folder. Click on OK when finished. 10
After adding the user, you can specify access rights. Click on the user and select Allow for Full Control. All the listed access options will be automatically checked. To prevent other users from accessing the folder, click everyone and uncheck all listed access options. 11
Click on Yes to finish the settings. Press OK for confirmation.
Shared folders you have created can be found in the shared folder list in the Folder > Share menu.
Mac Configurations As mentioned above, this document uses a scenario of three different Mac clients (User1, User2, User3) storing their Time Machine backup copies in different folders on the SNC NAS. The Mac configurations described below show how to initiate backup copies from User1 to the SNC NAS system. Configurations for User2 and User3 follow the same steps. Configure Virtual File System On the Mac, go to the Applications > Utilities folder. Locate the Terminal utility and activate it. A virtual file system called sparsebundle must be created in order to use SNC NAS with Time Machine. Paste the following command into the Terminal and click the Enter key: HN=`hostname cut -f1 -d.`;ma=`ifconfig en0 grep ether sed "s : g" cut -f2 -d' '`;hdiutil create -size 350g -fs HFS+J -volname "TM_$HN" $HN\_$MA.sparsebundle A message similar to the following will appear, indicating that the sparsebundle file system has been created: created: /Users/xxxxxx/xxxxxx_001111111111.sparsebundle Close the Terminal utility. Connect to SNC NAS Folders Go to Go > Connect to Server to connect to the folder(s) you have created on your SNC NAS. 14
Enter the IP address and click on Connect to connect to the SNC NAS system. Enter user name and password, and click on Connect to connect as a registered user. 15