Skip to content
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

unable to restore after reinstall #25

Closed
Germar opened this issue Oct 11, 2015 · 8 comments
Closed

unable to restore after reinstall #25

Germar opened this issue Oct 11, 2015 · 8 comments
Labels

Comments

@Germar
Copy link
Member

Germar commented Oct 11, 2015

Version 0.9.99.30

I backup my data using BIT and it worked perfectly

I reinstalled my machine and came up restore the data

Problem 1 The original install the machine was called mars and the reinstall was called Mars this meant that the file name
/media/backup/Backup/Home/backintime/mars/
where the backups was now invalid and
/media/backup/Backup/Home/backintime/Mars/
was used ignoring the original backup , So i deleted this and renamed the old one Mars moving the data with mv

and restarted the program
but even after this it didnt' recognize the backup So i had to restore the data via rsync manually


Imported from Launchpad using lp2gh.

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by danleweb)
You are right this is a problem.
The new structure is: ~/backintime///
For now if you change to machine name or the user you have to rename some folders into snapshots directory.
In the future there should be a tool to do it and an option is BIT to use a folder as someone else.

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by dave2010)
Here are a couple approaches to this.

  1. Use an Expert Option like the attached screenshot to let users set the Machine and User names to look for. I'll link to a code branch with this.

This makes the exact location clear to users and allows them to edit it. But it does force them to stick with the directory format (which is no bad thing).

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by dave2010)
And another approach is:

  1. Use an Expert Option like this screenshot to allow the user to specify exactly where the profile directories are using the General tab.

Gives greater control to users to specify the directory for profiles, but can easily be used to configure a different directory setup, etc.
Not sure if this checkbox is as clear as the other option.

I'm not sure which option is clearer or which one the developers would prefer to keep the option consistent with the approach for BIT

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by dave2010)
Code branch related to this bug for the option:

[ ] Set subdirectory where snapshots are saved: ... / backintime / [ machine ] / [ user ]

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by dave2010)
I see you're in the process of adding a fix to the trunk. I'll remove my code branch once you've completed/committed your updates.

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by dave2010)
Marked my code branch as abandoned since its clear you already have this coded.

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by mgiuca)
Is this fixed now? I'm a bit confused because I started using BackInTime before this new directory structure happened. I was quite surprised today when I discovered that my backups had automatically migrated over to a new host/user/profile directory hierarchy. Does this mean BIT automatically fixes it now?

@Germar
Copy link
Member Author

Germar commented Oct 11, 2015

(by danleweb)
You can (I forgot starting version but is bigger than 1.0.0) force a host / user / profile (see the attached screen-shot).
But if you rename the machine I recommend you to rename it (manually for now).

Regards,
Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant