Enterprise Networking Planet   Earthweb  
Images Events Jobs Premium Services Media Kit Network Map E-mail Offers Vendor Solutions Webcasts
   subjects:
EnterpriseNetworkingPlanet Webcasts:
Blades Burst Onto Data Center Scene

Will Virtualization Pay Off for Your Enterprise?

Benefit Now from Improved Data Center Management

more Webcasts...


Network Security & Privacy Blog
Google Stays Classy in "Privacy" Backpedal

More on Google/YouTube/Viacom

Your Editor Was Distracted

More Open Networks Today



Search EarthWeb Network

internet.commerce
Be a Commerce Partner
KVM Switches
KVM Switch over IP
Cell Phones
Logo Design
Online Shopping
Phone Cards
Dental Insurance
Server Racks
Calling Cards
Prepaid Phone Card
Logo Design
Promotional Items
Computer Deals
Web Hosting Directory

PDAs
PC Notebooks
Printers
Monitors
Networking & Communications : Network Software: rsync: A Backup Strategy for Modern Times

Everything Has Changed

See how Intel developed the cure for deskside help visits in this video directed by Christopher Guest of Spinal Tap fame. Click here.
 
Win a Laptop in the Intel Resource Center Scavenger Hunt
Scour the Internet.com Intel Resource Center for clues that spell out the name of an Intel technology. Collect the letters and, with the help of one final clue, arrange the letters to get the name of the Intel technology and you can be entered to win a Lenovo x300 laptop or an Apple iPod Touch. Start your hunt here! »
 
Cross-client Centrino® and  Core™2 processor with vPro™ Processor Technology Technical White Paper
A deeper technical dive on how vPro usage models work on both desktop and notebook PCs. Click here.
 
Intel® vPro Technology ROI Estimator
Intel® Core2™ Duo and Centrino® with vPro™ Processor technology cross-client ROI estimator. Click here.
 
WiPro Intel® Centrino® Pro with vPro™ Processor Technology
The Benefits of Intel® Centrino® Pro Processor Technology in the Enterprise. Click here.
 
Workstations Products Platforms Brief
Intel’s family of workstation platforms gives you the tools to move from serial to parallel workflows and enables you to iterate through alternatives faster and innovate more. Click here.
 
Itanium Solutions
Learn how Itanium®-based solutions are changing the way enterprises do business. Click here.

Related Articles
Carla Schroder
Tonic for your Backup Woes: CD Backups In Linux (Part One)
Who's Got Root? Find Out With Tripwire
Glossary
directory service
honeynet
intranet
intrusion detection system
network appliance
NFS
port scanning
protocol
security
VPN
Search for more networking terms ...
 
FREE Tech Newsletters

Download: Windows Server 2008 Trial. Develop, deliver & manage rich user experiences & apps, provide a secure network infrastructure & increase technological efficiency & value within your organization

rsync: A Backup Strategy for Modern Times
January 25, 2008
By Carla Schroder


rsync Commands

The following command makes copies on the same machine. The file or directory being copied is named first and the destination directory second:

$ rsync -a sourcedir destinationdir

To copy a directory from the local machine to a remote machine (note that rsync must be present on both machines):

$ rsync -a sourcedir remotehost:destinationdir

To copy a directory from the remote machine to a local machine:

$ rsync -a remotehost:/sourcedir destinationdir

It is best to be explicit and use full filepaths, even when copying from the current directory.


-a, or --archive, is shorthand for -rlptgoD:

  • r = Copy directories recursively. Without this switch, directories will not get copied at all.
  • l = Recreate symlinks.
  • p = Preserve permissions.
  • t = Transfer modification times and update them on the remote system. Must have this for accurate synchronization.
  • g = Set the group of the destination file to be the same as the source file.
  • o = Set the owner of the destination file to be the same as the source file.
  • D = Re-create character and block devices on the remote system (only root can do this).

To transfer over a ssh tunnel, use this command:

$ rsync -a -e ssh sourcedir username@remotemachine.com:/destinationdir/

-e ssh means "replace the native rsh protocol with ssh." If there is some other secure tunnel you want to use, this is where to name it.

Also, mind your trailing slashes, as they make a difference to rsync in the source arguments. A trailing "/" on a source argument means "copy the contents of this directory." Leaving off a trailing slash means "copy the directory and its contents."

Page 3: Dry-Run

Go to page: Prev  1  2  3  4  Next  

Tools:
Add www.enterprisenetworkingplanet.com to your favorites
Add www.enterprisenetworkingplanet.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

Network Software Archives

Whitepaper: The Cost Advantages of Blade Servers. Sponsored by HP.
Whitepaper: Rightsizing Blades for the Midmarket. Sponsored by HP.
Intel Whitepaper: Wireless Technologies and e-Learning--Bridging the Digital Divide
Intel Whitepaper: Improve Security and Control of Your PCs
Intel Whitepaper: Comparing Multi-Core Processors for Server Virtualization





JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES