Displaying 20 results from an estimated 3000 matches similar to: "Basic doubts"
2014 Nov 22
1
rsync not transferring files
Hi there,
I am running rsync-3.0.6-12.el6.x86_64 on a centos 6.6 box. Am trying to
get files from a remote server (centos 6.5) to my local machine. It
appears to connect fine, but does not transfer any file. this is what I
am seeing
[youcantoo at testbox home]# rsync -avvvzh -P --stats --delete
servername::backupdir/ /home/findmoore
opening tcp connection to servername port 873
sending daemon
2014 Nov 24
1
rsync not transferring files
I really want to thank you for taking time to help me with this.
I have changed the rsyncd.conf as per you suggestion below.
I have several different systems that sync to the server and today they
were showing this
Number of files: 25832
Number of files transferred: 78
Total file size: 49441191919 bytes
Total transferred file size: 37421120 bytes
Literal data: 36955331 bytes
Matched data:
2016 Feb 04
2
Is there a parameter in rsync to clean $BACKUPDIR before writing to it (--backup-dir=$BACKUPDIR)?
Hi,
I am runing rsync --backup --backup-dir=$BACKUPDIR where the
BACKUPDIR=$(date +%d) to recycle the $BACKUPDIR in a month. But rsync does
not clean the $BACKUPDIR before writing to it in cycling.
I guess you have to clean it manually before the rsync can write to it. As
my $BACKUPDIR is in remote machine, do you have to run ssh to delete it
first before calling rsync in a script? Or if there
2006 Dec 06
2
May I merge several increment backups to one?
Hi all,
I have the following situation:
Backup /mysource to /backupdir,
/backupdir/full ---------an old full backup
/backupdir/back2 -------previous increment backup(based on the full backup
mentioned above)
/backupdir/back1 ------most recent increment backup (based on the two
backups mentioned above)
How can I merge the two increment backups into one directory,say
2016 Feb 04
1
Is there a parameter in rsync to clean $BACKUPDIR before writing to it (--backup-dir=$BACKUPDIR)?
Hi Kevin,
Thank you very much for the response. Actually, I don't think I need to
clean the backup dir defined in --backup-dir=<backup dir>, when the
contents has already been deleted in the destination (no exist), it will
delete from the backup dir as well in next cycle, correct?
Regards,
- j
On Thu, Feb 4, 2016 at 12:39 PM, Kevin Korb <kmk at sanitarium.net> wrote:
>
2008 Jun 23
1
fully-qualified symlinks & --exclude question
Greetings!
I've ran into a couple difficulties for a particular rsync use-case
I'm involved in implementing - hoping someone here might be able to
clue me in!
I've got an existing linux box, with a particular directory that needs
to be mirrored onto another server, into a different base path on that
server - i.e.:
server1:/var/lib/bar/ to server2:/backupdir/var/lib/bar/
Now,
2004 Sep 23
1
rsync script from homepage: trouble
Hello,
I'm new to this and am trying to modify the "backup to a central backup
server with 7 day incremental" script from
http://samba.anu.edu.au/rsync/examples.html to suit my situation.
I have ended up with the script attached below and when running it from
command line I get these errors:
rsync error: syntax or usage error (code 1) at main.c(726)
and a plethora of this
>
2010 Mar 15
2
cwrsync and link-dest option
Hello,
In a small environment I have to backup two servers, an Ubuntu 9.10
and a Windows Server 2008 machine. My Backuphost is a Ubuntu 9.10
machine as well. I installed rsync on both Ubuntu hosts from
repository (3.0.6) and cwrsync from http://www.itefix.no/i2/node/10650
(3.0.7). Then I wrote some Bash-Scripts which executes rsync every
week like that:
BACKUPDIR=/var/backup
rsync -v -a
2008 May 20
4
Need help with rsync.
I have two hosts which have their respective keys loaded into each others
.ssh/authorized-keys2 file for root. I want to move a directory tree from one
host to the other via rsync to maintain a shadow structure of the application
provided on the main host.
This is the relevant part of the command:
rsync -avz --rsh=ssh --delete-after /var/data/pas-redmine
root at
2005 Apr 12
1
Question on using smbmount
I'm trying to mount a samba share located on one Linux server to another
samba server for backup purposes. The problem im running into is that i
get an error stating:
couldn't find service <share I am specifying>
Here is what im attempting:
One server #1 sambaserver, Where I want the share to be mounted for
backup purposes
smbmount //valhalla/backupdir /backuparea/valhalla
If
2018 Sep 14
2
Bug when calling system/system2 (and request for Bugzilla account)
I hope it's not too specific in my setup...
I've tried with system2 added on the first line, so:
Example.R:
system2('ls', timeout=5)
cat('Start non-interruptable functions\n')
sample_a <- sample(1:1e7)
sample_b <- sample(1:2e7)
matching <- match(sample_a, sample_b)
cat('Finished\n')
Sys.sleep(10)
And in terminal/bash:
R --vanilla
2010 Nov 11
1
Problem with system2(), directing STDERR to a file
According to ?system2, I should be able to direct the output of STDERR to a
file by giving the filename as a character vector to the "stderr" argument.
But here is what happens.
Given a ruby script test.rb (with its executable bit set):
#!/usr/bin/env ruby
STDOUT.puts "stdout"
STDERR.puts "stderr"
And the following R code:
> t <- tempfile()
> res <-
2019 Dec 15
1
system2 doesn't quote stdin on unix, unlike stdout, stderr & input and on Windows
Hi again!
While investigating the bug report [*] I found out that on unix, system2
does not quote its `stdin` argument while preparing the command line to launch.
It does shQuote the `stdout` and `stderr` arguments, and also the `f <-
tmpfile()` variable (which is used if `input` argument is provided),
which seems to set a precedent. On Windows, stdin, stdout, and stderr are handled
2003 Apr 23
1
trying to get incremental backups working
So I'm trying to write up a short script to do some backups over rsync.
The goal is to have multiple client machines push the backups to the
backup server nightly. The backup server will have a complete copy of the
selected directories as well as revisions for the last 7 days.
Here is the brief script I have. Btw if you're wondering about all the
variables, I eventually want to set it to
2010 Oct 02
1
cleanup_pkg() in tools:::.build_packages() is broken
Hi,
The cleanup_pkg() function defined the big tools:::.build_packages()
function in tools/R/build.R is currently broken. When Makefiles are
used cleanup_pkg() doesn't clean anything because of the way system2()
is called.
For example, the call to Ssystem() on line 304 (Ssystem is a silent
version of system2) is basically trying to do this:
>
2018 Jan 26
2
utils::install.packages with quiet=TRUE fails for source packages on Windows
Hi,
Installing a source package on Windows using utils::install.packages()
with quiet=TRUE fails, while it works with the default quiet = FALSE.
The problem seems to be caused by the fact that when quiet = TRUE,
stdout and stderr are set to FALSE when calling "R CMD INSTALL" with
base::system2() here:
2009 Apr 09
3
Help creating incremental backups using --backup-dir.
Normally I would use the --link-dest option to do this but I can't
since I'm rsyncing from a Mac to a Samba share on a Linux box and hard
links don't work. What I want to do is create a 10 day rotating
incremental backup. I used the first script example on the rsync
examples page as a template. The only thing I changed was the
destination to be a local directory and paths for
2019 Mar 19
2
Possibly broken system2 env-option
On Tue, Mar 19, 2019 at 9:59 AM peter dalgaard <pdalgd at gmail.com> wrote:
[...]
> What you need is something like (NB: single quotes!)
> > system2("sh", env = c("VAR='Hello World'"), args = c("-c 'echo $VAR'"))
> Hello World
Just out of curiosity, do you think it is possible to make this
portable, assuming sh is available? On
2019 Mar 18
4
Possibly broken system2 env-option
Hey all,
what is wrong with this command:
system2("echo", env = c(VAR = "Hello World"), args = c("$VAR"))
I am a bit confused, as help("system2") writes about the env option:
> character vector of name=value strings to set environment variables.
Is this option buggy, or am I using it just wrong?
Thanks for your help
Henning
2018 Jan 26
1
utils::install.packages with quiet=TRUE fails for source packages on Windows
The obvious guess would be that Rstudio is attempting something like redirecting output and getting itself confused. However, it is pretty clearly Their Problem, no? Rstudio has their own support infrastructure.
-pd
> On 26 Jan 2018, at 09:17 , Andreas Kersting <r-devel at akersting.de> wrote:
>
> Just noticed that this problem only occurs from within RStudio (v1.1.414). Any