GithubHelp home page GithubHelp logo

philipluk / aspera-sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wmarinho/aspera-sync

0.0 1.0 0.0 160 KB

Shell 100.00%
pluk-jenkins pluk-aspera pluk-datatransport pluk-universal-pipeline

aspera-sync's Introduction

Aspera Sync with ASCP and Jenkins

This project aims to help companies automate your transfer process using Aspera Connect Server and Aspera Ascp Client. This is a simple way to transfer large files or sync remote folders, over the LAN/WAN, with ascp client. Jenkins is very useful to schedule, manage and monitor long running transfers.

Installing Aspera Sync

Cloning git repository

$ cd ~/
$ git clone https://github.com/wmarinho/aspera-sync.git
$ cd aspera-sync
  
$ sudo sh bin/install-ascp.sh
$ sh bin/install-jenkins.sh
$ sh bin/init-jenkins.sh --httpPort=8080 &

Edit conf/ascp.properties and change default parameters.

ASPERA_SERVER=demo.asperasoft.com
ASPERA_USER=asperaweb
ASPERA_PASS=demoaspera
#ASPERA_PRIVATE_KEY=$HOME/.ssh/id_rsa

ASCP_MAX_RATE="-l 300M"

ASCP_OPTIONS="-d -k 3 -p --precalculate-job-size --file-checksum=md5"

Command line usage

$ sh bin/transfer.sh {source_path} {target_path} {max_rate}

Output log

$ sh bin/transfer.sh

Starting transfer with [email protected]  ...
Syncing [email protected]:/ -->> /home/user/
Running: ascp -d -k 3 -p --precalculate-job-size --file-checksum=md5 --file-manifest-path=/home/user/aspera-sync/logs --file-manifest=text -l 300M [email protected]:/ /home/user/
Syncing has completed successfully!!

Accessing jenkins interface

http://ip-address:8080

There is a default job configured (aspera-sync). It can be used to create custom jobs using this template. For details about how to work with jenkins, access http://jenkins-ci.org/.

aspera-sync's People

Contributors

wmarinho avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.