Hi,
I'm running the following command for a remote host backup:
/usr/local/bin/rsync -a --delete --delete-excluded -v --timeout=120 -z
--no-whole-file -partial --partial-dir .rsync-partial --exclude=/sys/*
--exclude=/tmp/* --exclude=/stuff/distfiles/* --exclude=/stuff/sistema/*
John Van Essen wrote:
On Sun, 12 Mar 2006, Matias Surdi [EMAIL PROTECTED] wrote:
I'm running the following command for a remote host backup:
/usr/local/bin/rsync -a --delete --delete-excluded -v --timeout=120 -z
--no-whole-file -partial --partial-dir .rsync-partial --exclude=/sys/*
[ snip
I'm stuck!!!
Look this command line log:
-bash-2.05b# pwd
/usr/backups
-bash-2.05b# ls
.backup.gaia.sh.swp backup.gaia.sh
--
#NEXT COMMAND IS ENTERED BY HAND IN THE SHELL
---
Wayne Davison escribió:
On Tue, Feb 28, 2006 at 12:54:53PM +0100, Matias Surdi wrote:
#NEXT COMMAND, IS JUST AN ECHO OF THE COMMAND THAT WILL BE
RUN IN NEXT STEP.
-
rsync -a -v --delete --timeout 120
Hi.
I can't get to work the excludes in this command:
rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude
'/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/'
--exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude
'/home/msurdi/.thumbnails/' gaia:/
Matt McCutchen escribió:
On Fri, 2006-02-24 at 23:52 +0100, Matias Surdi wrote:
rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude
'/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/'
--exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude
'/home/msurdi
Wayne Davison escribió:
On Sun, Feb 26, 2006 at 12:49:41AM +0100, Matias Surdi wrote:
I mean, exclude /proc/* but in the destination location have an empty
/proc dir.
Your question contains the answer: --exclude='/proc/*'
..wayne..
So, the complete answer is that I can use in the same