From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 08:55:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7465C16A4B3 for ; Mon, 27 Oct 2003 08:55:02 -0800 (PST) Received: from iwmail.xpdial.com (iwgate.xpdial.com [68.156.89.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id E26A943FD7 for ; Mon, 27 Oct 2003 08:55:00 -0800 (PST) (envelope-from mark@s-wit.net) Received: from [192.168.101.251] by iwmail.xpdial.com (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.4.1)); Mon, 27 Oct 2003 11:58:16 -0500 Message-ID: <009f01c39cab$8deb61e0$fb65a8c0@ocfl061> From: "M.D. DeWar" To: "freebsd" Date: Mon, 27 Oct 2003 11:58:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: rsync help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 16:55:02 -0000 I would like to backup some website directorys on one machine to another machine. I have read the rsync man pages and some sites but am still confused about how the command line should be. I will only run it from the command line every so often. I have tried several ways but can't figure it out. I guess I am having issues with how the directories should be listed on the command line. One the server that is to be backed up the directory is /home/sites/www.domain.com/web - all files and other directories are below the /web and in reading it seemed I should keep the trailing slash off. on the server that the files will be copied to the directory is /home/domain/website/ If I understood right the trailing slash should be on this one. ./rsync -ae ssh newbiedummy@servertobebackedup.com:/home/sites/www.domain.com/web /home/domain/website/ am I even close to being right ? thanks Mark