Include in backup

Asked by peter

When I restore a backup, a file ‘A’, if it already exists on the file system it will be renamed to ‘A.backup.<current data>’. Okay. However when I take a new snapshot, this file is *not* backupped again. Seems trivial but isn't!
Namely in the lib-folders there is a large amount of symlinks, pointing to the latest file for sake of simplicity. Now when restoring these files, the symlink is changed to point to the file with ".backup." in it and not anymore to the original file. When cleaning the system of the unwanted ".backup."-files, the symlinks are not changed back to their original state but are pointing to nowhere, leaving a totally unusable system.
How can I instruct BiT to backup these ".backup." files also so that I can get after the cleaning a usable system again? Or else backup the original symlinks?

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
Germar (germar) said :
#1

There is an default exclude rule for '*.backup*'. If you remove this rule all .backup.<cur_date> files will be backed up, too.

But I don't understand why symlinks should point to the .backup* file. There is no such function in BiT which would do that.

Revision history for this message
peter (bdoedel) said :
#2

Hi Germar,
Thanks for the response. I have backintime-common_1.0.36-1_all.deb and the gnome-version, maybe the rule was then (still) in BiT or the Debian-maintainers brought it in. I, for the time being, will remove the rule as you suggested.