Ticket #74 (closed task: fixed)

Opened 14 years ago

Last modified 14 years ago

set up cron job to mirror Audio directory and Acoustic Model onto repository

Reported by: kmaclean Owned by: kmaclean
Priority: major Milestone: Website 0.2
Component: Acoustic Model Version: 0.1-alpha
Keywords: Cc:

Description

  • Look into using wget or rsynch commands to mirror Audio directory and Acoustic Model onto repository.

Change History

comment:1 Changed 14 years ago by kmaclean

from email at http://www.ozzu.com/ftopic19442.html:

Since you already suggested using SSH, then rsync may be for you. This utility is awesome as providing a secure method to transfer files in bulk and is the tool for keeping two sets of files in sync.

As a bonus, you can run it as a background task on the server. That means you won't have to configure inetd or xinetd. Assuming you have working SSH on the client and server:

(server)

tar -zxvf rsync

cd rsync

./configure

make

install

/usr/bin/rsync --daemon $

(client)

tar -zxvf rsync

cd rsync

./configure

make

install

rsync -rvz server:/dir/dir/dir /backup/dir

The best part of rsync is that if some files change in the server /dir/dir/dir directory, the next transfer will only be the updates. This equals speed improvements a few hundred times faster!

comment:2 Changed 14 years ago by kmaclean

  • Priority changed from minor to major
  • Milestone changed from Other Tickets to WebSite 0.2.1

comment:3 Changed 14 years ago by kmaclean

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from WebSite 0.2.1 to Website 0.2
Note: See TracTickets for help on using tickets.