Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-19 Thread Wayne Davison
On Tue, Jan 8, 2013 at 4:40 AM, Matthias Schniedermeyer wrote: > The alternativ (if possible) is to doing the link separatly and then rsync, > instead of letting rsync doing the linking. > The end-result is identical No, it's not identical in one aspect -- file attribute changes to files with i

Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Karl O. Pinc
On 01/08/2013 07:17:15 AM, Kevin Korb wrote: > You might find this useful: > http://sanitarium.net/unix_stuff/rspaghetti_backup/diff_backup.pl.txt > It is a script I wrote that diffs 2 backup directories and will tell > you what is missing between them. There's always some simple shell (bash) scr

Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You might find this useful: http://sanitarium.net/unix_stuff/rspaghetti_backup/diff_backup.pl.txt It is a script I wrote that diffs 2 backup directories and will tell you what is missing between them. I can't say whether it will be faster or slower th

Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Maik Meier
Would be nice if the link-dest option could also be used, if someone (like me) needs to log the backup history. As you say, this can reduce the total runtime. It would make sense. But thanks a lot. I think I can live with the cp -al solution. Maik --- Original Message from Matthias Schnied

Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Matthias Schniedermeyer
On 08.01.2013 12:53, Maik Meier wrote: > > But I thought rsync tells me all modifications from "source" to > "backup_new". I just want to write this information into a log-file. I > know that the file, that is deleted in "source" is not deleted > physically after rsyncing, because it still exists

Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is correct. Rsync isn't actually deleting anything therefore it has nothing to report. It just isn't making a new link. If you really want to see deletes you can revert to the old method that was used before --link-dest where you cp -al the old

Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Maik Meier
But I thought rsync tells me all modifications from "source" to "backup_new". I just want to write this information into a log-file. I know that the file, that is deleted in "source" is not deleted physically after rsyncing, because it still exists in backup_old. But the interesting information to

Re: rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Matthias Schniedermeyer
On 08.01.2013 12:23, Maik Meier wrote: > 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 > > Does someone know if this a bug, or ist this intended to be or am I > wrong somethere? I would th

rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Maik Meier
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 fi

rsync in conjunction with the --link-dest option does not output deleted files

2013-01-08 Thread Maik Meier
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 fi