-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BiT wants to update snapshots; all snapshots gets deleted #1
Comments
(by dave2010) In common/config.py:
changing the last line to
allows me to successfully do a second backup from a fresh install. This doesn't necessarily help convert old backup formats to the new directory structure as I haven't tested that. This does seem to fix doing a fresh install of 0.9.99.35 (or 32), doing a backup, and then running a second backup. With "1" BiT won't do the second backup because it thinks the config.version is 1 instead of 5 (CONFIG_VERSION) and gives the old version 1 style path of .../backintime/20100504... instead of the new version 5 style .../backintime/mymachine/username/3/20100504... This doesn't handle converting from old formats |
(by dave2010) Removed BiT completely (all configs/backups/software) |
(by dave2010) If I run .9.99.35 without the fix first, then the 2010... directory will be in the wrong place. If I then apply the fix and run the GUI again it appears to get converted ok. |
(by danleweb) |
(by woppl) Thought you have released a fix on this...Any suggestion how to solve? |
Hi
I'm running BiT 0.9.99.35~karmic from the launchpad testing PPA under lucid.
Each time I start BiT it says that the backup format has changed and that BiT needs to move my snapshots accordingly - even snapshots taken with this version (configured from scratch). If I choose not to, I cannot take any snapshots. If I choose to move the snapshots, BiT deletes my entire snapshot folder!
Analysing the problem, this is what I've found:
This is the console output when running backintime-gnome from the terminal:
Back In Time
Version: 0.9.99.35
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime-gnome --license' for details.
INFO: Snapshot location update flag detected
WARNING: Snapshot location needs update
INFO: Update snapshot locations
INFO: Only 1 profile found
Check snapshot folder: /home/niklas/Desktop/testBiT
INFO: Folder of profile 1 is set to /home/niklas/Desktop/testBiT
Move snapshots from /home/niklas/Desktop/testBiT/backintime to /home/niklas/Desktop/testBiT/backintime
To move: ['20100504-104957-386']
Already there: ['20100504-104957-386']
Snapshots expected: ['20100504-104957-386', '20100504-104957-386']
Command "mv -f "/home/niklas/Desktop/testBiT/backintime/20100504-104957-386" "/home/niklas/Desktop/testBiT/backintime"" returns 256
Remove: 20100504-104957-386
Command "find "/home/niklas/Desktop/testBiT/backintime/20100504-104957-386" -type d -exec chmod u+wx {} ;" returns 0
Command "rm -rfv "/home/niklas/Desktop/testBiT/backintime/20100504-104957-386"" returns 0
Succes!
INFO: Update was successful. Snapshots of profile 1 are moved to their new location
INFO: BackinTime will be able to make new snapshots again!
[this is preceeded by a long list of all the files BiT removed as part of the update - i.e all the backed up files]
Hope this helps
/N
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: