Displaying 20 results from an estimated 10000 matches similar to: "Help for a newbie."
2005 Jan 29
1
rsync-ing on MacOS X.
Hi all,
I'm setting up a backup script for my Mac, and I'm wondering about the
rsync ability of dealing with HFS+ filesystem (resource-fork and
such...). I've searched the mailing list archive for this topic and
I've found some thread regarding it, but it's not clear to me what is
the actual situation. Is the HFS+ officially supported? Will it be in
the near future?
2013 May 27
1
Platform variations with --exclude-from
On Linux, an rsync command and exclude_file contents of:
# cat exclude_file
/etc/alsa
# rsync -a --delete --delete-excluded --exclude-from=exclude_file /etc server::module
properly excludes /etc/alsa but not any file within /etc's directories that is named alsa.
On Windows I don't seem to be able to reliably emulate this:
C:\Scripts\Backup\rsyncd>type rsyncd_exclude
2005 Jun 09
1
Excluding a complete subdirectory
hi,
i'm trying to use rsync to backup some directories of
my box.
i.e. i will backup the whole subtree /opt/ except
/opt/apache/ and except /opt/kde3. the rest in /opt/
should be copied to my external usb harddisk.
but i can't find a way to do this, because apache and
kde3 are always included in the backup.
here is the rsync-call:
rsync --backup --one-file-system \
--delete
2007 Jan 16
1
Newbie can't figure out error messages
I am trying to use rsync to create a mirror of my Linux laptop (Ubuntu
Dapper amd-64) onto a USB drive hanging on a Windows 2000 desktop over
ethernet. The folder I want to rsync to is /laptop and the USB drive is
mounted at /media/smb using the following:
sudo mount -t smbfs -o username=jcj //Devil4/Linux_Backups /media/smb
Mounting works fine -- the mount command shows the USB drive as
2006 Jul 10
5
Definition of "anchored" and "unanchored" probes
Referring to the DTrace manual:
"Module If this probe corresponds to a specific program location,
the name of the module in which the probe is located. This name is
either the name of a kernel module or the name of a user library.
Function If this probe corresponds to a specific program location,
the name of the program function in which the probe is located."
and then ...
2008 May 27
1
How to exclude directories from source with --relative
I have been unable to figure out how to exclude directories that only
exist on the source side when running rsync version 3.0.2 with --relative.
Here is an artificial test that shows my problem in case 3).
Any help would be appreciated.
# mkdir -p /tmp/source/a/b /tmp/source/a/c
# touch /tmp/source/a/b/hello /tmp/source/a/c/world
1) Try mirroring both b/ and c/, this works:
# rsync -avn
2006 Feb 08
1
trailing star/double star in --exclude
Is there any difference in rsync behaviour between "--exclude /dir/*"
and "--exclude /dir/**" (one and two trailing "stars")?
Will rsync enter and scan content of dir/ (and thus change access time
of files and directories) in any of these examples?
Here in list rsync users show both variants in their examples, on
practice I see no difference, but maybe there is a
2005 Jan 17
1
Rsync Minimalist: --include
Try to use include list:
--include-from=includes.txt
I can ssh into rh8 machine and can rsync to machine not using includes file.
When I use the include file --include-from=includes.txt
+ /aBackup/
- /*
What I get is:
receiving file list ... done
wrote 50 bytes read 283 bytes 60.
total size is 3021 speedup is 9.07
There are 4,396,416 bytes in the folder...
Help...
2005 Jun 04
1
Usage question for source at /
I wish to rsync an entire Linux tree to another partition for backup
while excluding certain directories.
/home /var and /usr/local are mounted on separate partitions.
How do I specify starting at the root directory? Is // correct?
The USAGE section of man rsync and some googling suggest I need a
trailing / for the source path. Is the line below correct?
rsync -uacHv
2008 May 23
1
[LLVMdev] DebugInfoBuilder?
Evan Cheng wrote:
> I don't think so. Contribution welcome! :-) LLVM debugging support
> isn't anywhere near where it needs to be.
>
Well, here's a rough sketch of what I was thinking of:
class DebugInfoBuilder {
public:
/// Constructor
DebugInfoBuilder();
/// Return the type defined by llvm.dbg.anchor.type
StructType * GetAnchorType() const;
///
2006 May 20
1
problem to backup some folder - folder empy
hi
my script to backup my home folder
BDIR=/home/$USER
EXCLUDE=exclude.txt
OPTS="-a -r -v -p -t --del --exclude-from=$EXCLUDE
--progress"
BACKUPDIR=/media/dvdrecorder
rsync $OPTS $BDIR $BACKUPDIR
my exclude file
+ .kde/
+ .kde/share/
+ .kde/share/apps/
+ .kde/share/apps/kmail/***
+ .kde/share/apps/kwallet/***
+ .kde/share/apps/konqueror/***
+ .kde/share/apps/kabc/***
- .**
when i
2009 Dec 24
2
Include and Exclude
I thought this command would do what I wanted, but instead it doesn't transfer any files:
rsync -avh --stats --password-file=/var/rsync.passwd --include=Maildir/ --exclude=* mail::root/usr/home /backup/usr/
I want to backup ONLY the /usr/home/*/Maildir directories. I don't want any other files from any other directories to be transferred.
I can see in the man page where this is a
2011 Jan 13
2
[PATCH] One more -x to not traverse cyclic bind-mounts
This patch allows one to repeat the '-x' option a third time to stop
rsync from traversing potentially cyclic bind mounts that are on the
same filesystem.
For example, the following scenario would cyclically traverse the bind
mounts until the OS (Linux in this case) hits a maximum traversal count,
thank goodness. Other OSes may traverse the bind mount indefinitely...
su
cd
mkdir
2007 Nov 28
6
Newbie question
I installed Rspec and am getting the following failure:
$ sudo gem install rspec
Successfully installed rspec-1.0.8
Installing ri documentation for rspec-1.0.8...
Installing RDoc documentation for rspec-1.0.8...
$ spec -v
RSpec-1.0.8 (r2338) - BDD for Ruby
http://rspec.rubyforge.org/
$ cat acct.rb
describe Account, " when first created" do
it "should have a balance of $0"
2019 Aug 27
2
implied-dirs tail component being chown'd
I use rsync in a fairly complex scripted situation and am trying to figure out how to avoid changing ownership/permissions just on the directories specified on the command line (but operate normally for everything underneath).
I've been using --relative --no-implied-dirs with some success in other situations, but here it still seems to try to chown the last path component of the
2003 Apr 23
2
Fixing some exclude/include bugs
As threatened a while back, there are some exclude/include bugs that I'd
like to see fixed in rsync. Here is the patch:
http://www.blorf.net/rsync-exclude.patch
This fixes the following bugs:
- A non-anchored, slash-including pattern with a wildcard needs to be
matched at the end of the path (e.g. "CVS/R* should match throughout
the tree, not just at /CVS/R*).
- A leading
2008 Aug 21
2
barplot with anchored bars
Dear R list members,
How to produce barplots anchored to the x-axis (not floating
above the x-axis) with a box around?
With both following codes, the lower horizontal line of the
box is below the y = 0 line:
# first code
x <- c(1,2,3,4)
barplot(x,yaxs='i')
box()
# second code
x <- c(1,2,3,4)
op <- par(yaxs='i')
barplot(x)
box()
par(op)
The parameter yaxs='i'
2007 Dec 18
6
All anchored series from a vector?
>From: Johannes Graumann <johannes_graumann at web.de>
>Date: 2007/12/18 Tue PM 04:40:37 CST
>To: r-help at stat.math.ethz.ch
>Subject: [R] All anchored series from a vector?
lapply(1:length(myvector) function(.length) {
c(myvector[1}:myvector[.length])
})
but test it because i didn't.
>Hi all,
>
>What may be a smart, efficient way to get the following result:
2005 Mar 31
2
[Bug 2561] rsync crashes when using the "exclude from" option on server side.
https://bugzilla.samba.org/show_bug.cgi?id=2561
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From wayned@samba.org 2005-03-31 15:57 -------
This only happens when a module has a path of
2010 May 24
1
--delete and --files-from
Hi,
I've read as much as I can regarding the many problems people seem to have with -delete and none of the solutions seems to work for me.
I have tried all combinations of using the trailing slash but it seems to have no effect.
Does anyone know if -delete can work with -files-from?
Here's the code:
DIR="/mnt/backup/machine/oracle"
FILES=".test_files.files"