Displaying 20 results from an estimated 3586 matches for "dest".
Did you mean:
desc
2015 Sep 03
1
Doubts on incremental backup and command repetition
Hi,
I am trying to use rsync for incremental backup and I am facing some issues. I would like to ask your help to understand what is going on and have the proper command line.
1) my goal is
I the following folders:
./dest:
file3.txt
./orig:
file1.txt file10.txt file2.txt file20.txt
And I would like to have as incremental backup
./dest:
backup file1.txt file2.txt file3.txt
./dest/backup:file1.txt file10.txt file2.txt file20.txt
./orig:
file1.txt file10.txt file2.txt file20.txt
However, I...
2015 Jun 23
2
[PATCH] lib: Add optional 'append' parameter to copy-(device|file)-to-file APIs.
...generator/actions.ml | 29 +++++++++++++++++++++--------
2 files changed, 52 insertions(+), 15 deletions(-)
diff --git a/daemon/copy.c b/daemon/copy.c
index bab00fe..6f3e844 100644
--- a/daemon/copy.c
+++ b/daemon/copy.c
@@ -30,7 +30,6 @@
#include "actions.h"
/* wrflags */
-#define DEST_FILE_FLAGS O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0666
#define DEST_DEVICE_FLAGS O_WRONLY|O_CLOEXEC, 0
/* flags */
@@ -210,8 +209,13 @@ copy (const char *src, const char *src_display,
int
do_copy_device_to_device (const char *src, const char *dest,
int64_t src...
2012 Jan 20
1
--link-dest doesn't work if target file exists (but needs updating)
...symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
Given two files:
# /bin/ls -li {source,dest}/var/lib/mysql/mythconverg/jobqueue.MYD
44695517 -rw-rw---- 2 sshd messagebus 5492 2012-01-19 00:31 source/var/lib/mysql/mythconverg/jobqueue.MYD
49676928 -rw-rw---- 1 sshd messagebus 5492 2012-01-18 12:00 dest/var/lib/mysql/mythconverg/jobqueue.MYD
Their md5sums:
# md5sum {source,dest}/var/lib/m...
2004 Oct 15
1
--compare-dest and missing files
Hi,
I've been attempting to use --compare-dest DIR SOURCE/ DEST/
If a file exists in DEST but is different to the corresponding file in
DIR, then the file is updated in DEST. This is what I would expect.
I have found that files which do not exist in DEST but do exist in DIR
and SOURCE, are not created.
Simply touching the file in DEST causes...
2008 Mar 14
1
Possibile rsync --link-dest or --compare-dest bug
...have just migrated my tooling from version 2.6.9 to 3.0.0.
Unfortunately my script generated an error message during the execution.
Because this command was working perfectly in the previous version I suspect
this could be a bug.
This is the command that I am executing:
rsync -av --link-dest=20080313/ --compare-dest=/data/20080313/ 20080313/
/data/20080314/
It just creates a copy of directory 20080313 to 20080314, but not with an
old fashion copy, but hard linking back to 20080313.
This is the error it is producing:
=== BEGIN SNIP ===
-bash-3.1$ rsync -av --link-dest=20080...
2015 Jun 23
0
Re: [PATCH] lib: Add optional 'append' parameter to copy-(device|file)-to-file APIs.
...--
> 2 files changed, 52 insertions(+), 15 deletions(-)
>
> diff --git a/daemon/copy.c b/daemon/copy.c
> index bab00fe..6f3e844 100644
> --- a/daemon/copy.c
> +++ b/daemon/copy.c
> @@ -30,7 +30,6 @@
> #include "actions.h"
>
> /* wrflags */
> -#define DEST_FILE_FLAGS O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0666
> #define DEST_DEVICE_FLAGS O_WRONLY|O_CLOEXEC, 0
>
> /* flags */
> @@ -210,8 +209,13 @@ copy (const char *src, const char *src_display,
> int
> do_copy_device_to_device (const char *src, const char *dest,
>...
2003 Jun 03
1
Rsync: --link-dest when target and compare_dir both have file
...starts, that's fine too.
I'm CCing the list.
>
> Best regards,
> Mike
>
> ---------- Forwarded message ----------
> Date: Mon, 2 Jun 2003 09:56:50 -0700 (PDT)
> From: Michael Rubel <mrubel@galcit.caltech.edu>
> To: rsync@lists.samba.org
> Subject: --link-dest when target and compare_dir both have file
>
> Hi J.W. et al,
>
> Kevin Everets was kind enough to inform me about some strange behavior in
> his backup script, which seems to be the result of --link-dest behaving
> unexpectedly in the case where target/ is already populated wi...
2012 Jan 20
4
[Bug 8712] New: --link-dest doesn't work if target file exists (but needs updating)
https://bugzilla.samba.org/show_bug.cgi?id=8712
Summary: --link-dest doesn't work if target file exists (but
needs updating)
Product: rsync
Version: 3.0.7
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo...
2004 Sep 06
2
problems with --link-dest
Hello,
I'm trying to do backups with rsync through ssh. This is what I wrote yet:
src="/vrmd/webserver/"
today=`date +%F`
#link_dest="root@vm2:/vrmd/admin/backup/web/2004-09-05"
link_dest="../2004-09-05"
dest="root@vm2:/vrmd/admin/backup/web/$today"
rsync -av -e ssh --delete --link-dest=$link_dest $src $dest
in 2004-09-05 (on the dest-server) is the directory with the backup from
yesterday. Of cou...
2006 Apr 17
12
DO NOT REPLY [Bug 3693] New: rsync can use same --link-dest file several times, leading to incorrect hard links
https://bugzilla.samba.org/show_bug.cgi?id=3693
Summary: rsync can use same --link-dest file several times,
leading to incorrect hard links
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned...
2016 Feb 08
1
--link-dest not working on remote server (running daemon)
...d.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[offsite]
path = /media/external/
comment = Offsite backup
read only = no
hosts allow = 192.168.2.0/24
auth users = backup
secrets file = /etc/rsyncd.scrt
uid = 0
gid = 0
I tried the following for --link-dest and they all tried to transfer all
files
--link-dest=../backup-2016-02-01-0100
--link-dest=backup-2016-02-01-0100
--link-dest=/backup-2016-02-01-0100
--link-dest=/backup/backup-2016-02-01-0100
--link-dest=./backup/backup-2016-02-01-0100
On Mon, Feb 8, 2016 at 5:01 PM Kevin Korb <kmk at sanita...
2012 Aug 02
1
help with install.packages
Greetings,
I am trying to use install.packages obtained from here
http://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html
My computer has these
OS: 64-bit blfs linux R2.15.1
#------------
A) I did the following:-
export DIR=/home/stats/R-2.15.0_runTEST190712A
export DEST=/home/stats/Rtester
cd $DEST
${DIR}/bin/R install.packages(MASS_7.3-17.tar.gz, ${DEST}, repos =
getOption("NULL"),
contriburl = contrib.url(NULL, type),
internal, available = NULL, destdir = ${DEST},
dependencies = NA, type = getOption(...
2004 Jun 21
2
problems with --read-batch and --write-batch with --files-from
...bytes: phase "unknown":
Daten?bergabe unterbrochen (broken pipe)
rsync error: error in rsync protocol data stream (code 12) at io.c(836)
--[1]--
#!/bin/bash
DIR="testdir-$(date '+%Y%m%d%H%M%S')"
mkdir "$DIR" &&
cd "$DIR" &&
mkdir src dest &&
(cd src && dd if=/dev/zero of=file1 bs=1024 count=1024) &&
(cd dest && dd if=/dev/zero of=file1 bs=1024 count=512) &&
tar -c -z -f data.tar.gz src dest &&
rsync --write-batch=data -a -v src/ dest/ &&
find . &&
rm -rf src dest &&...
2016 Jul 25
2
[Bug 12036] New: Multiple --link-dest, --copy-dest, or --compare-dest flags produce incorrect behavior
https://bugzilla.samba.org/show_bug.cgi?id=12036
Bug ID: 12036
Summary: Multiple --link-dest, --copy-dest, or --compare-dest
flags produce incorrect behavior
Product: rsync
Version: 3.1.2
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Ass...
2005 Mar 23
6
clarification: Port Forward
I am missing a tiny detail on understanding a simple port forward:
I want to forward just like the FAQ listed, via
#ACTION SOURCE DEST PROTO DEST PORT
DNAT net loc:192.168.1.3:22 tcp 1022
Which works just fine. Now I also tried this following type of rule,
which I thought would work, but it did not.
#ACTION SOURCE DEST PROTO DEST-PORT SOURCE-PORT
ORIGINAL-DEST
DNAT...
2016 Feb 08
2
--link-dest not working on remote server (running daemon)
Thanks for the reply. The link-dest is different. It is Feb 1 while the
source is Feb 2.
I tried setting path = /media/external/ for the daemon and using
rsync -a -v -i --delete --link-dest=backup-2016-02-01-0100
--password-file=/media/external/scripts/offsite_rsync.pass
/media/external/backup/backup-2016-02-02-0100 backup at 192.1...
2018 Dec 12
2
doveadm proxy list repeats header line
Hi all,
just a minor thing: Why does `doveadm proxy list` repeat the header line
after each entry? Too me, that just makes the output harder to read.
So instead of this:
root at mail1 ~ # doveadm proxy list
username proto src ip dest ip port
info at domain1.de imap 80.152.196.98 222.133.127.53 993
username service src-ip dest-ip dest-port
info at domain1.de imap 80.152.196.98 222.133.127.53 993
username service src-ip dest-ip dest-port
info at domain1.d...
2008 Apr 01
2
Feature request: Store diffed files separately.
...dy do this, but I honestly
haven't found anything to indicate that. I would like to be able to
store diffed files in a separate directory on the receiver so it makes
doing an incremental backup easy and efficient. Let me explain:
Day 1: take a full backup of a directory: rsync -r ./source/ ./dest/
Day 2: Diff the contents of ./source/ and ./dest/ and store only the
new/modified files in ./incremental_day1
Day 3: Diff the contents of ./source/ and ./dest/ and store only the
new/modified files in ./incremental_day2
etc.
This way to restore a backup of Day 2 just do: rsync -Pvr
./incremental_...
2002 Dec 04
1
Unexpected rsync behavior with --relative and symlink destinations
...real directories, not symlinks) to a remote system where /apps and
/usr/local are symlinks to /local/apps and /local/usrlocal,
respectively. The target directories exist on the remote system. I
would have thought the following would do it:
rsync -n -e ssh -av --relative /apps /usr/local /home dest:
shows me the expected files to update. Removing the -n results in all
the files being copied, with the first file being listed as "apps/"
followed by filenames that shouldn't need to be copied and were not
listed with the above "rsync -n ..." On the destination side,...
2017 Dec 30
0
[PATCH] Fix sparc assembly when compiled as PIC
...arch/sparc/machine/asm.h
+++ b/usr/include/arch/sparc/machine/asm.h
@@ -61,7 +61,7 @@
#endif
#define _ASM_LABEL(name) name
-#ifdef PIC
+#ifdef __PIC__
/*
* PIC_PROLOGUE() is akin to the compiler generated function prologue for
* PIC code. It leaves the address of the Global Offset Table in DEST,
@@ -83,12 +83,20 @@
0: \
add dest,%o7,dest; \
mov tmp, %o7
+#define SET(var,base,dest) \
+ sethi %gdop_hix22(var), dest; \
+ xor dest, %gdop_lox10(var), dest; \
+ ldx [base + dest], dest, %gdop(var)
#else
#define PIC_PROLOGUE(dest,tmp) \
mov %o7,tmp; 3: call 4f; nop; 4: \
sethi %hi(_C_L...