Re: --compare-dest weirdness

2010-07-21 Thread L. V. Lammert
On Wed, 21 Jul 2010, Matthias Schniedermeyer wrote: > rsync with --link-dest so that all files that aren't changed are > hardlinked. > > Then to 'tar' all changed or new files you want a list of files without > hardlinks as those are the files that where changed or new(*): > find -type f -links 1

Re: --compare-dest weirdness

2010-07-21 Thread Matthias Schniedermeyer
On 21.07.2010 10:22, Kevin Murray wrote: > Hi Henri > > Thanks very much. LBackup looks good, but i need a solution which only > copies files which have changed, and does not link the others, as the > folder is destined for a tar archive. Also, the copied files must be > fully functional, i.e. mus

Re: --compare-dest weirdness

2010-07-20 Thread Henri Shustak
> the -i shows that most are being copied due to time differences, so in > theory -t should work? This does in fact work on a little test setup > on my work laptop, i will test it properly when i get home tonight. I am glad that the -t option is working with your test. If you decide to use LBa

Re: --compare-dest weirdness

2010-07-20 Thread Kevin Murray
Hi Henri Thanks very much. LBackup looks good, but i need a solution which only copies files which have changed, and does not link the others, as the folder is destined for a tar archive. Also, the copied files must be fully functional, i.e. must be whole files, not just differences like rdiff. th

Re: --compare-dest weirdness

2010-07-19 Thread Henri Shustak
> interestingly, i tried to see if something was wrong with my statments by > doing: > mkdir ~/rsynctest/dir1 > mkdir ~/rsynctest/dir2 > mkdir ~/rsynctest/dir3 > > nano ~/rsynctest/dir1/file1 (wrote the line hello world and saved) > nano ~/rsynctest/dir1/file2 (wrote the line hello and saved) >

Re: --compare-dest weirdness

2010-07-19 Thread Henri Shustak
> Hi All, > > I am writing a backup program for my computer. brief outline is as follows. > > Running ubuntu 10.04 > 2 main partitions, / and /home, both ext3. 1 external usb hdd, ext3, > mounted to /backups/main. > once every couple of days, rsync backs up, using following command, > everything

--compare-dest weirdness

2010-07-15 Thread Kevin Murray
Hi All, I am writing a backup program for my computer. brief outline is as follows. Running ubuntu 10.04 2 main partitions, / and /home, both ext3. 1 external usb hdd, ext3, mounted to /backups/main. once every couple of days, rsync backs up, using following command, everything worth backing up i