Displaying 20 results from an estimated 40000 matches similar to: "--delete option"
2008 Apr 20
2
How to specify "--link-dest" on server (rsyncd.conf)?
Hello,
This is my first post to the list.
Is it possible to specify the --link-dest option server-side in the
rsyncd.conf file? What I'd like to do is implement incremental snapshot
backups without having to change the clients which all just do regular
dumps to the rsync server. I'd like to specifiy this option on the
server rather than on the client because I don't want to
2019 Nov 14
2
hardlinking missing files from src to a dest: didn't work way I thought it would.
Am 14.11.19 um 10:54 schrieb Paul Slootman via rsync:
> You need to specify the source directory as the link-dest directory.
Hi, I tried it also because it's an old question which has never worked
for me. Instead it creates copies and not hard links:
pierre at in94:~/tmp$ ls -li a b
a:
insgesamt 8
257315 -rw-r--r-- 1 pierre pierre 4 Nov 14 10:53 1
257316 -rw-r--r-- 1 pierre pierre 6 Nov
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
2025 Jan 12
1
question about --link-dest and the rsync protocol
On Sat 11 Jan 2025, Anthony LaTorre via rsync wrote:
> Thanks for your quick response. The rsyncd.conf file looks like:
>
> charset = utf-8
> [user]
> path = /c/user
> comment = ""
> use chroot = true
Note the chroot... So "/" equals /c/user
> uid = root
> gid = root
> read only = false
> auth users = admin
>
> I'm
2007 Feb 16
2
Permissions of the top-level destination directory without --perms
I noticed that rsync sometimes miscalculates the permissions of the
top-level destination directory when --perms is off. For example, run
these commands in an area free of default ACLs:
umask 0000
mkdir -p src/foo
chmod 700 src src/foo
rsync -r src/ dest/
find . -ls
763054 0 drwx------ 4 matt matt 96 Feb 16 17:57 .
763158 0 drwx------ 3 matt matt 72 Feb 16
2005 Apr 25
2
How about a --min-size option, next to --max-size
There's a rather old bug report in Debian's bug tracking system
(see http://bugs.debian.org/27126) about wanting to be able to specify
the maximum file size, as well as the minimum file size. Here's the
text:
Sometimes, it's useful to specify a file size range one is
interested in.
For example, I'd like to keep an up-to-date mirror of Debian, but I
currently
2006 May 22
1
Problem with rsync-2.6.8 and -c (checksum)
Hi
I have a problem with rsync and the -c option. I think understand what
it does, but I'm not sure, it does it correctly. But then I guess,
perhaps I don't understand what it does... :-)
I use "rsync version 2.6.8 protocol version 29"
I use the following command:
/opt/rsync/bin/rsync -av
--link-dest=/home/user/backup/old
/home/user/source
2007 May 18
2
files deleted without --delete option
Hello all,
I want to copy all files on the SRC side to the DST side without deleteing
any from the DST side. However, whenever I run rsync the files on the DST
side are deleted if they were deleted from the SRC side. What am I doing
wrong?
I am running the following command:
========================================================
rsync -avz --progress --force --delete-excluded
2013 Dec 19
5
[Bug 10334] New: rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334
Summary: rsync doesn't log hardlink-copies using --link-dest
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: Kontakt at
2005 Apr 27
2
--delete option does not always work
I know that there are a million messages from newbies who cannot get
--delete to work. This message is special. :)
--delete works fine for me EXCEPT when the following two conditions are
present:
1) I am using the --relative option, and
2) the deleted file is in a subdirectory of the SRC directory.
Here is a demonstration of how to recreate this bug:
lenny@mythtv:/tmp$ rsync --version
rsync
2017 Sep 07
2
Samba Recycle Age limit.
Carlos A. P. Cunha via samba wrote:
> For me, is "magic line"
>
> find $DEST -depth -mtime +$DAYS -print -delete
----
I'm guessing you probably want 'ctime' there.
If you use mtime, then it will be deleted "ndays" after
the last modification date on the file -- NOT the time the file
was moved into the recycle bin.
If you use ctime - that
2010 Feb 05
4
rsync --link-dest, --delete and hard-link count
Hello fellas,
Firstly, I would like to apologize for the post being long, but I would
appreciate if someone with a good knowledge of the subject gave his opinion.
I am working on a backup solution for a series of old and very specialized
host computers in aviation industry.
I need to do monthly backups of one or two logical volumes (non-OS) on each
of the computers and keep the last 12 monthly
2008 May 05
1
taking advantage of filles in folder other than destination folder
Dear Folks,
I have to backup pgsql database dump everynight on a routine. The database
dump actually contains sql(text) statements. The actual size of the database
dump is aroung 800 MB. Between two days backup, only few lines of statements
are modified/added/deleted.
I dont want to do incremental backup. Instead, I want everyday's full dump
to be stored on to a folder named DD-MM-YY(ex:
2013 Jan 08
2
rsync in conjunction with the --link-dest option does not output deleted files
Hi,
I want to use rsync to make daily backups using hard-links in this way:
rsync -av --delete --link-dest=../backup_old ./source/. ./backup_new
This works great, but the problem is, that rsync does not show correctly
what action it performs (-v option). It shows correctly all new and
changed files/folders, but it does not show files that were deleted.
This works only if I do not use the
2010 Oct 31
5
How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101031/bb482d8d/attachment.html>
2003 Oct 22
1
rsync --dry-run --link-dest problem
I am trying to use rsync for making snapshots, sharing hardlinks at
the destination using the --link-dest option. In conjunction with
this, I would like for --dry-run to report some reliable-ish number
for how much space it is going to consume at the destination so that I
can arrange to free such space prior the launching rsync "for effect".
Right now, that isn't working:
#
2019 Nov 14
2
hardlinking missing files from src to a dest: didn't work way I thought it would.
Have a directory with a bunch rpms in it, mostly x86_64.
Have another directory with a bunch, mostly 'noarch'.
Some of the noarch files are already in the x86_64 dir
and don't want to overwrite them. They are on the same
physical disk, so really, just want the new 'noarch' files
hardlinked into the destination.
sitting in the noarch dir, I tried:
rsync -auv
2007 Apr 18
1
rsync daemon only accessable as root
Hi,
I'm trying to setup an rsync daemon such that I can synchronize my home pc
(or other remote system) with my pc at work. I'm fairly new to linux and am
just starting to learn its amazing possibilities. I followed an online
toturial to create a rsyncd.conf file which reads:
#motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file =
2008 Feb 15
3
DO NOT REPLY [Bug 5263] New: failure to report deleted files with link-dest
https://bugzilla.samba.org/show_bug.cgi?id=5263
Summary: failure to report deleted files with link-dest
Product: rsync
Version: 3.0.0
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: 14709c93@mailinator.com
2005 Feb 17
4
Incremental Backups
I read the following hint at:
http://www.mikerubel.org/computers/rsync_snapshots/#Incremental
mv backup.0 backup.1
rsync -a --delete --link-dest=../backup.1 source_directory/ backup.0/
I simply want to maintain a dated backup of a server so that I could
always go back to a certain date. I would like to keep this structure
for each day for the last seven days, then one weekly snapshot for