Displaying 20 results from an estimated 100 matches similar to: "New tutorial and script for rsync resources page"
2017 Jul 25
1
Can rsync server mark deleted source files as extraneous?
rsync --delete option tells rsync to delete extraneous files from the receiving side (ones that aren't on the sending side).But if a user accidentally deletes a file, there is no way to restore it from the server.If --delete option is not used, and the local hard disk is destroyed, restored data will include old deleted files.
Is there a way for rsync server to retain backup of deleted source
2005 Sep 20
2
How to exclude a level from a factor
Hi,
I could not use 'exlcude=' option in factor()
to exclude a level from a existing factor.
x is a factor:
> x
[1] a b c
Levels: a b c
> factor(x,exclude="c")
[1] a b c
Levels: a b c
Warning message:
NAs introduced by coercion
However, "c" is not coded as NA.
The following does not work either:
>
2010 Jan 21
2
Help with correct text file syntax EXCLUDE/INCLUDE + OPTION
Hi,
Linux-Ubuntu here. English is not my first language. The man rsync is
difficult to understand. I want to backup some folders recursively and
some files, see [1] in my /home dir to an external USB HD (Ext4). I want
to use a text file for the purpose.
[1]
/home/user/Documents
/home/user/Software
/home/user/.evolution/addressbook/local/system/addressbook.db
2015 Apr 13
2
How to discern when like dir names exist in 2 places
Kevin Korb <kmk at sanitarium.net> writes:
> -/ /var/apache2/*
Thanks for the input, but unless I'm doing something else screwy, that
does not appear to work here.
I put your line verbatim into my exlcude file (near the top)
/pkg/*
/sadm/*
/cache/*
/opt/csw/cache/*
-/ /var/apache2/*
/tmp/*
------- ------- ---=--- ------- -------
My actual task
2006 Nov 15
1
Correlations not in sync with r2 from regression
I have two variables, minutereturnsa which can be thought of as my
independent variable and minutereturnsb which can be thought of as my
dependent variable. When I run correlations on the two variables,
depending on which of the three methods I use, I get values of between
-.15 through -.19.
Then, when I do a regression, I get an rsquared of .004 which is more in
line with my intuition. In other
2010 Jun 04
2
Backup to NTFS USB drive --compare-dest not working
When I'm running "rsync --compare-dest" on a local Linux volume (ext4) it
works as expected (duplicate files not created) however when same commands
with same options are run on NTFS USB drive (in my scenario below mounted to
/share/external/sdt5) all the files are copied regardless if they have been
updated or not. I have spent many hours trying to figure out what could be
wrong and
2011 Jan 20
4
No command 'rspec' found
I installed rspec on Linux Ubuntu 10.04, but no command ''rspec'' is
found. Perhaps the PATH is wrong. What is the correct search path?
The following was copied from my terminal. Thank you for taking a look:
~$ sudo gem install rspec --version 2.0.0
~$ gem list --local
*** LOCAL GEMS ***
rspec (2.0.0)
~$ ls /var/lib/gems/1.8/gems
rspec-2.0.0
~$ printenv PATH
2010 Jan 22
1
Still stuck with exculsion text file pattern
I would like to rsync the dirs "Documents" "Sofware" and the .evolution
files only. and remove the *~ files
----------------------------------------------
Command:
#rsync -r -n -t -v --progress
--exclude-from=r2 /home/mt/ /home/mt/rsyncTest/
------------------------------------------
#text file <r1>:
+ .evolution/calendar/local/system/calendar.ics
+
2010 Feb 24
0
Any good rsync --exclude tutorials?
Please recommend a rsync --exclude tutorial.
I read the manual http://linux.die.net/man/1/rsync > ? down page, Filter Rules, Include-Exclude Pattern Rules, but its hard to figure it out.
Thank you,
Wolfram Volpi
2009 Sep 15
1
rsync man page questions
I am trying to read the rsync man page. What do the acronyms "CW", ?lq+rq?, and ?lq-rq? mean?
The "Usage" section uses ?CWrsync?.
The ?Filter Rules? section says:
If a pattern does not begin with lq- rq (dash, space) or lq+ rq (plus, space), then the rule will be interpreted as if lq+ rq (for an include option) or lq- rq (for an exclude option) were prefixed to the string.
2009 Oct 11
2
empty quotes for rsync parameter
Why does inserting an empty quote ("") into a rsync command cause the current directory to be backed up?
Not sure if this is a UNIX-syntax question or rsync-syntax question.
Code:
#!/bin/sh
echo "\nspace between quotes has no effect; only music is backed up:"
rsync -ilrtn " " /home/wolf/music /backups/backup1
echo "\nempty quotes backs up current directory
2003 Jul 29
2
Help using --exclude
I'm running rsync v2.5.5 on FreeBSD 4.6.2-RELEASE.
I'm using rsync to mirror the home directories of user's desktop
machines. I would like to
exclude the cache of browsers such as mozilla or netscape.
Unfortunately I have not been
able to find the right syntax for the --exclude option. I hope someone
can give me some
insight.
The command I'm using is:
rsync --archive
2015 Oct 07
1
Samba 4 PDC and Windows Join
On 07.10.15 20:07, Andrew Bartlett wrote:
> On Fri, 2015-10-02 at 09:14 +0200, Dario Lesca wrote:
>> If I setup a samba 4 PDC (not AD) like I do with samba 3, I still
>> have
>> to change the follow registry key on Win 7/8/?/10 for join it to
>> samba
>> domain ?
>>
>>> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorksta
>>>
2015 Apr 13
0
How to discern when like dir names exist in 2 places
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hmmm, according to my interpretation of the man page (I am on 3.1.1)
that is supposed to work however when I test using the "-/
/etc/passwd" example the / seems to have the same effect as commenting
the line. I get /etc/passwd copied whether the source is / or /etc.
Am I completely misunderstanding what the man page is telling me this
2015 Apr 13
2
How to discern when like dir names exist in 2 places
with these rsync rsync [...] /var/ /dir/
rsync [...] /etc/ /dir2/
And exclude file: excl
/apache2/*
That will exclude both /var/apache2/*
and /etc/apache2/*
How can I tell rsync I want /var/apache2 excluded, but not /etc/apache2?
I mean short of using separate excl files for each run
Using something like the start of an absolute name:
2011 Jan 28
2
(no subject)
Hello,
I have a data set with each column containing data like this:
row column1
1 1.2
2 NA
3 NA
4 3
5 5
6 NA
7 1.5
8 NA
9 NA
10 NA
11 3
12 NA
13 3
14 NA
15 NA
16 NA
17 NA
18 3
19 1.2
20 NA
>From this I would like to extract the sequence containing at least three rows of 3 in a row (exlcuding NAs). I would also like to have the row numbers showing the place of the last
2015 Oct 02
5
Samba 4 PDC and Windows Join
If I setup a samba 4 PDC (not AD) like I do with samba 3, I still have
to change the follow registry key on Win 7/8/?/10 for join it to samba
domain ?
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters]
> "DomainCompatibilityMode"=dword:00000001
> "DNSNameResolutionRequired"=dword:00000000
>
>
2010 Aug 09
0
In Rsyncd not work options exclude, exlcude from and charset
Daemon was started and tested on two different OS.
FreeBSD 9.0-CURRENT:
# rsync --version
rsync version 3.0.7 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 32-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append,
2010 Aug 11
3
lfs --obd discrepancy to lctl dl (1.8.3)
Hello,
lfs prints different obd(idx) compared to lctl dl. We use single striping.
cluster1 tmp # lfs find --obd scia-OST0017_UUID /data/scia/L0/V0.00/20100327/SCI_NL__0PNPDE20100327_193441_000040582088_00071_42209_1158.N1
/data/scia/L0/V0.00/20100327/SCI_NL__0PNPDE20100327_193441_000040582088_00071_42209_1158.N1
cluster1 tmp # lfs getstripe
2009 Sep 09
10
dtrace overhead and proper measuring technique
I''m trying to time a function within Firefoxwith a pid$target probe
[2]. e.g
dtrace -Zqw -x dynvarsize=64m -x evaltime=preinit -p 13954 -s menu-
construct.d -s sigcont.d
elapsed: 12.7942481ms
cpu : 7.7911194ms
count : 40 times
I''m also measuring Firefox startup time by running it arguments like
this:
... file:///Users/joelr/work/mozilla/startup/startup.html#`python