[Bit-team] [Bug 485879] Re: BiT only creates 3 days of backups

2009-11-21 Thread oernii
If my daily snapshot is from 3 days ago is deleted because it is not from today or yesterday then I will NEVER have a monthly backup, right? -- BiT only creates 3 days of backups https://bugs.launchpad.net/bugs/485879 You received this bug notification because you are a member of Back In Time Tea

[Bit-team] [Bug 485879] Re: BiT only creates 3 days of backups

2009-11-21 Thread oernii
Id does NOT look ok since smart remove rules are not followed. More is deleted than should be. Smart remove rules: * keep all snapshots from today and yesterday this is OK, I have goy today and yesterday * keep one snapshot for the last week and one for two weeks ago this is NOT ok, si

[Bit-team] [Bug 447841] Re: Soft links in snapshots should not be browseable

2009-11-21 Thread Dan
- os.path.islink: tell us if is a symbolic link or not - os.path.exist: tell us if the target exists or is broken - os.readlink: we can get the link target (if is relative it does not start with '/') We can convert the target path to an absolute path and check if this path is inside current snaps

Re: [Bit-team] Merges

2009-11-21 Thread Dan
Hi Bard, Can you please merge you new directory structure ? If you will wait too much the merge will be difficult. Regards, Dan Bart wrote: Hey Guys, I just merged my both proposals (keeping hardlinks also within snapshots, and the snapshot location). So if anything is going wrong, let me k

Re: [Bit-team] Fwd: [Question #90967]: interrupted backup

2009-11-21 Thread Dan
I think this is a very good idea. Of course we have to check that new_snapshot is not too old (no more than few days). Regards, Dan Bart wrote: ,Hey Dan, why do we actually delete the new_snapshot folder if it exists already, and not just continue? rsync will makes sure that it will be ide

Re: [Bit-team] [Bug 447841] Re: Soft links in snapshots should not be browseable

2009-11-21 Thread Bart de Koning
I was thinking about this one: os.path.islink(*path*)ΒΆReturn True if *path* refers to a directory entry that is a symbolic link. Always False if symbolic links are not supported.But your one might indeed offer the possibility to distinguis

Re: [Bit-team] [Bug 485879] Re: BiT only creates 3 days of backups

2009-11-21 Thread Bart de Koning
So the rest of your backups is removed, because they are not yet from last week... 2009/11/20 Dan > Smart remove rules: >* keep all snapshots from today and yesterday >* keep one snapshot for the last week and one for two weeks ago >* keep one snapshot per month for all previous mont

[Bit-team] Merges

2009-11-21 Thread Bart
Hey Guys, I just merged my both proposals (keeping hardlinks also within snapshots, and the snapshot location). So if anything is going wrong, let me know then I will fix it! Also let me know what you think about it! And if you think that I completely did it wrong, tell me also, then I can undo th

[Bit-team] Fwd: [Question #90967]: interrupted backup

2009-11-21 Thread Bart
,Hey Dan, why do we actually delete the new_snapshot folder if it exists already, and not just continue? rsync will makes sure that it will be identical to the latest time the command is issued. In case of an interrupted backup it will just continues were it was (and checks if there are changes in