wting / flyback

Automatically exported from code.google.com/p/flyback
0 stars 0 forks source link

Hardlinks not being created for each sucessive backup #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open op Flyback
2. Create initial Backup manually
3. Create additional backup 1 hour later, again manually

What is the expected output? What do you see instead?
The output isn't really the problem. The issue is that the next backup is
almost exactly the same size as the previous. 

What version of the product are you using? On what operating system?
Version 0.3
Ubuntu Feisty 7.04 with latest updates

Please provide any additional information below.

+Here is the rsync command issued by Flyback on the second backup

$ mkdir -p '/Backup/FlyBack/flyback/2007-11-09 08:54:36'/home/landon

$ rsync -av  --link-dest='/Backup/FlyBack/flyback/2007-11-09
06:57:37/home/landon' '/home/landon/' '/Backup/FlyBack/flyback/2007-11-09
08:54:36/home/landon/'
building file list ... rsync: opendir
"/home/landon/Documents/CFCard/temp/cgi-bin" failed: Permission denied (13)
done.

...

sent 15145520 bytes  received 290444 bytes  6528.21 bytes/sec
total size is 24887272050  speedup is 1612.29
rsync error: some files could not be transferred (code 23) at main.c(977)
[sender=2.6.9]

+Disk Usage results
24523264        2007-11-09 06:57:37/
24469616        2007-11-09 08:54:36/

Original issue reported on code.google.com by Slick...@gmail.com on 9 Nov 2007 at 2:53

GoogleCodeExporter commented 9 years ago
Hmmm.... I've just checked my last two backups with "ls -il" (to show inode 
numbers)
and it appears I'm also getting copies not hard links.

$ ls -il /home/shared/backup/flyback/flyback/*/home/steve/sysinfo.txt
3133935 -r--r--r-- 1 steve steve 2751 2006-08-05 14:41
/home/shared/backup/flyback/flyback/2007-11-08 23:09:11/home/steve/sysinfo.txt
1716969 -r--r--r-- 1 steve steve 2751 2006-08-05 14:41
/home/shared/backup/flyback/flyback/2007-11-09 21:43:08/home/steve/sysinfo.txt

Original comment by staz6...@gmail.com on 9 Nov 2007 at 10:28

GoogleCodeExporter commented 9 years ago
weird weird weird little bug.  i can't get rsync to create hardlinks at all...

so i've switched us to the "cp -al" method.  let me know if it works for you.
(btw, i also changed the backup dir date format, but didn't write a migration
function, so you might just want to delete it all and start over)

Original comment by pub...@kered.org on 10 Nov 2007 at 1:51