[Bug 11086] rsync --delete has stopped to delete destination files that don't exist at the source

2015-07-12 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11086

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|NEW |RESOLVED

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[Bug 11086] rsync --delete has stopped to delete destination files that don't exist at the source

2015-01-31 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11086

--- Comment #1 from Kevin Korb rs...@sanitarium.net ---
This is your problem:
 2015/01/31 17:25:58 [12091] rsync: readlink_stat(/home/myuser/.gvfs) 
 failed: Permission denied (13)

If rsync hits any error it aborts the deletion process which it would have said
without -q.  You can override that with --ignore-errors but better to
--exclude=.gvfs since it isn't a real file/dir/filesystem.

Also, if you are making backups you should really look into rsync --link-dest
or an rsync based backup system if you don't feel like scripting it.

Also, --delete-before is much slower than --delete-during which is the default
version of --delete.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 11086] rsync --delete has stopped to delete destination files that don't exist at the source

2015-01-31 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11086

--- Comment #3 from Kevin Korb rs...@sanitarium.net ---
What you have is a mirror not a backup system.  Sure, it can protect you from
accidental deletions or disk failures but it wouldn't protect you from
intentional data destruction (think virus or hacker).

Yes, I was referring to date+time based snapshots.  That is what rsync with
--link-dest and some scripting can do and that is what most of the rsync based
backup systems use.

I prefer to have many backups in a system.  That way I can restore data from
the past if I need to (which I have).  It is pretty trivial to boot from
something like SystemRescueCD and restore your whole system from such a backup.
 In fact, if your backups are on a different system and you setup a network
boot environment you can boot from the backup over the network.  I did that
once when my desktop became unstable and I was trying to figure out if it was a
hardware problem or if it was caused by recent updates.  When I could duplicate
a several day old problem on your computer with the software it was running a
month ago I knew it was the hardware that was bad.  Turned out there was a
leaking capacitor behind the heatsink on the video card.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 11086] rsync --delete has stopped to delete destination files that don't exist at the source

2015-01-31 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11086

--- Comment #4 from ddd luminar...@gmail.com ---
Well, maybe I should look into those rsync-based snapshot systems when I'll buy
another 3 TB HDD. ) Can you recommend any of those backup systems?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 11086] rsync --delete has stopped to delete destination files that don't exist at the source

2015-01-31 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11086

--- Comment #2 from ddd luminar...@gmail.com ---
Thank you a lot! I added --exclude='.gvfs' parameter and everything works now.
Thumbs up!

I was trying to use --delete-before because of low space on the partition. Now
it's really enough space and I use default --delete option.

 Also, if you are making backups you should really look into rsync --link-dest 
 or an rsync based backup system if you don't feel like scripting it.
Hmm, what --link-dest stands for? Is it somehow related to hard-links on the
same filesystem? I usually try to exclude hardlinks like --exclude='/home/ftp/'
wich usually works for me.

--link-dest=DIR hardlink to files in DIR when unchanged
I don't understand what that option is doing.
I use rsync for easy backups of the system partition from the primary disk to a
backup one 2 times a week. It's very useful when I delete smth by accident like
one time I did crontab -r instead of crontab -e. ) And in case 1st system
drive fails I change SATA interface immediately and start OS from the backup
one. Rsync based backup system? I've seen some of those. They usually don't do
what I need (like they backup to files, snapshots with dates in them instead of
simple backup to another disk wich consumes too much space and you'll have to
use liveDVD to start from such snapshot wich is time-consuming) or too
overburdened with options, configs etc. My scripts is very simple and does
exactly what I need.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 11086] rsync --delete has stopped to delete destination files that don't exist at the source

2015-01-31 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11086

--- Comment #5 from Kevin Korb rs...@sanitarium.net ---
Not really.  I wrote my own.  IIRC BackupPC is the most up to date one.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html