Syncrify Backup Client - on Linux
  • 6,078 views,
  • 2014-09-16,
  • 上傳者: 洪國恩,
  •  0
Syncrify client is used to backup files from a client machine to Syncrify server using HTTP(S) protocol. The version of Syncrify client is tied to Syncrify server. We recommend you use the same version and build number for both Syncrify client and server.
 
步驟
1.
Install Java Environment
yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
2.
Syncrify Console
下載並解開 Syncryfy Client
wget http://www.synametrics.com/files/Syncrify/SyncrifyClientLinux.tar
tar -xvf SyncrifyClientLinux.tar

./Install.sh
 
安裝
cd /opt/SyncrifyClient
java -jar Loader.jar -console

Running under default configuration
0 [main] INFO com.synametrics.syncrify.h.h  - Inflating default values from resources.
45 [main] INFO com.synametrics.syncrify.client.aL  - -------------- NEW SESSION - Build #: 828 -----------
java -jar syncrifyClient.jar -console [OPTIONS] [SourceFile] [TargetFile|RomoteURL]
java -jar syncrifyClient.jar -console [OPTIONS] [SourceDirectory] [TargetDirectory|RemoteURL]

Available Options:
        -p:  Password
        -pr: Profile name
        -sp: Server path
        -u:  User Id
        -ep: Password for encryption. File are not encrypted on the server if skipped
        -nocompression: When present compression is NOT used
        -enableVersioning: Enables versioning
        -twoway: Enables two-way sync
        -saveProfile: Won't run any backup but will save a profile template
        -createProfile: Prompts the user a set of questions and creates a profile file
        -v:  Verbose
3.
Create Profile
 
cd /opt/SyncrifyClient/
java -jar SyncrifyClient.jar -console -createProfile
Running under default configuration
0 [main] INFO com.synametrics.syncrify.h.h  - Inflating default values from resources.
49 [main] INFO com.synametrics.syncrify.client.aL  - -------------- NEW SESSION - Build #: 828 -----------
                          ----------------------
                          Creating a new profile
                          ----------------------
            Profile name: xxxxxx
              Server URL: http://your-syncrify-server/
             Login email: user@mail
                Password: your-password
                          ---------------------------------------
                          Specify folders/file you want to backup
                          ---------------------------------------
                    Path: /path-to-backup/
  Filter (blank if none):
         Additional path:
                          -------------------------------
                          Specify folders/file to exclude
                          -------------------------------
           Excluded path:
                          ---------------------------------------------------
                          Advanced options. Default value appears in brackets
                          ---------------------------------------------------
           Compress data: [Y]
            Delete files: [Y]
     Backup locked files: [N]
       Enable versioning: [N]Y
              Send email: [Y]N
         Email recipient: report@mail
          Encryption key: xxxxxxxxx
Profile saved to /root/.syncrify/ihrci.syncrify
4.
Execute Profile
java -jar SyncrifyClient.jar -console yourprofile.syncrify
5.
以下是參考的 XML 設定
<?xml version="1.0" encoding="UTF-8"?>
<BackupProfile>
	<profileName>backup-profile</profileName>
	<localPath></localPath>
	<serverUrl>https://example.com:5888</serverUrl>
	<userEmail>your-mail@example.com</userEmail>
	<password>*****************************</password>
	<encryptionKey></encryptionKey>
	<sendEmail>true</sendEmail>
	<compressFiles>true</compressFiles>
	<deleteFromServer>true</deleteFromServer>
	<versionsToKeep>10000000</versionsToKeep>
	<deleteFilesAfterBackup>false</deleteFilesAfterBackup>
	<direction>0</direction>
	<emailRecipients></emailRecipients>
	<timeZoneOffset>0</timeZoneOffset>
	<timeZoneOffsetAtCreateTime>28800000</timeZoneOffsetAtCreateTime>
	<backupType>1</backupType>
	<emailFlag>0</emailFlag>
	<useClientCache>false</useClientCache>
	<creator>Administrator</creator>
	<schedulingType>1</schedulingType>
	<schedulerDays>127</schedulerDays>
	<schedulerMinutes>360</schedulerMinutes>
	<useVss>true</useVss>
	<lastRanAt>1480890651124</lastRanAt>
	<includedObjects>
		<includedObject selectionFilter="" serverPath="backup">C:\backup</includedObject>
	</includedObjects>
	<excludedObjects>
		</excludedObjects>
	<plugins>
		</plugins>
</BackupProfile>
Facebook 討論區載入中...
資料夾 :
標籤 :
發表時間 :
2014-09-16 23:27:12
觀看數 :
6,078
發表人 :
洪國恩
部門 :
老洪的 IT 學習系統
QR Code :