Can't setup Backintime

Asked by Andy

I reinstalled Ubuntu 14.04 from a live DVD, which wiped out all of my data. I couldn't find BIT in the backup data, so I used Ubuntu Softwear Center to install a new copy. The main profile wants to know where to put the snapshots, but it won't allow me to type anything in that block. (My BIT data are on a USB drive, sdbc.)

Thanks,

Andy, San Antonio, TX

Question information

Language:
English Edit question
Status:
Expired
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

  • by Andy
Revision history for this message
Germar (germar) said :
#1

Hi Andy,
You need to press the folder-icon Button right beside and browse to the path where the 'backintime' folder is ('backintime' should not be part of the path).

You might need to disable 'Auto Host/User/ProfileID' and change Host and User to match your old installations names.

Regards,
Germar

Revision history for this message
Andy (wg5o) said :
#2

That worked. Thank you.

However, I still can't restore my files. I need to look for a tutorial.

Thanks again,

Andy

Revision history for this message
Germar (germar) said :
#3

What's the problem? Do you still see no snapshots? That's most likely because Host, User and ProfileID is not set correctly. Inside the folder you choose you will find this folder structure:
backintime/<HOST>/<USER>/<PROFILE_ID>/<SNAPSHOTS>
Host, User and ProfileID must match those folders.

Revision history for this message
Andy (wg5o) said :
#4

Sorry, I still can't make it work.

When I open the newly installed Backintime (From Ubuntu Softwear Center), I get a table . I can't make it happy re where to put the backups. I follow uour instructions, and built the entire path to the bacvkup file:

[ code]

/media/andy/Backup/backintime/andy/andy/1
[/code]

All the 'andys' arethe result of a previous restore that I never bothered to clean-up.

Andy

Revision history for this message
Germar (germar) said :
#5

Okay, lets try to recover your old config first.

I assume '/media/andy/Backup/backintime/andy/andy/1' is the place where all your old snapshots are located. Please browse to there and open the most recent snapshot folder. Inside you will find a 'config' file. Copy this to '/home/andy/.config/backintime/'

Next open a Terminal and type:
sed 's/snapshots.path.auto=true/snapshots.path.auto=false/g' -i ~/.config/backintime/config

Now you should be able to open Back In Time and see all your snapshots again.

Alternative you could try out the Alpha version for 1.1.0. This will help you to restore your config automatically. To install it open a Terminal and type:
sudo add-apt-repository ppa:bit-team/testing
sudo apt-get update
sudo apt-get upgrade

Regards,
Germar

Revision history for this message
Andy (wg5o) said :
#6

Sorry, but I'm not very good at this (I'm a desktop Ubuntu user).

I had a problem with Plan A because the specified path is not available; I only have what came with the new Ubuntu installation. However, I did get to where my data appeared in BIT, with restore grayed out.
I entered the specified code, but it didn't work, maybe because of the path that I have.

So, I went to Plan B.

A considerable download resulted. When it finished, I restarted. I first tried BIT.odt. LibtreOffice Writer would have nothing to do with it, and getedit said it was contaminated. So, I went to the BIT, but it failed to open.

Thank you for your effort,

Andy

Revision history for this message
Germar (germar) said :
#7

So you already see the snapshots at right hand side of Back In Time but the restore button is grayed out? In this case you only have to choose the snapshot on right hand side from which you want to restore. The restore button is grayed out because you are on 'Now' which is actually not a snapshot but a live view of your local files.

Ahm... About Plan B. Do I understand you right that you tried to type the commands above in LibreOffice and gedit??? That was not the plan ;-)
You should open 'Terminal'. With Ubuntu Unity you can press CTRL+ALT+T to open the Terminal. Or you will find it inside the Dash (press the Windows key on your Keyboard).
In Terminal please type in the above commands. It will ask you to give your password and accept to add the repository and press y to install upgrades.

But if I understood you correctly and you already see your snapshots you don't need to go with Plan B.

Take a look at http://snag.gy/9Ef0w.jpg

Revision history for this message
Germar (germar) said :
#8

Ohh, I just realised that I made a mistake. The snapshot list is of course on LEFT hand side ;-)

Revision history for this message
Andy (wg5o) said :
#9

Sorry to confuse you. I properly entered the commands in Terminal. When I went to 'Plan B,' a folder, 'BIT.odt' appeared on the desk top, and the first thing I did was attempt to open it. It automatically tried LibreOffice Writer, but LibreOffice Writer wouldn't open it (the splash appeared and closed), so I tried Gedit.

I already carred out the Plan B instructions and the newly installed version of BIT won't open.

So, I suppose I now need to learn how to remove it. Sorry. It appeared to install correctly; it was a significant package of code. Itsounded likea good deal, but I only tried it when the line of code you gave me, 'sed's/snapshots.path ...' failed.

Andy

Revision history for this message
Germar (germar) said :
#10

Okay. So to remove it please run these commands in Terminal again:
sudo add-apt-repository -r ppa:bit-team/testing
sudo apt-get update
sudo apt-get remove backintime-common backintime-qt4
sudo apt-get install backintime-gnome

Regards,
Germar

Revision history for this message
Andy (wg5o) said :
#11

I hungup on the command:

'sudo apt-get remove backintime-common backintime-qt4'

Result:

'E: Unable to locate package backintime-qt4'

Andy

Revision history for this message
Germar (germar) said :
#12

That's okay. That only tells that if the package is not installed it can not be removed. Just proceed with 'sudo apt-get install backintime-gnome'

Revision history for this message
Andy (wg5o) said :
#13

I did it (copy and paste), and it appeared to work. However, BIT still wouldn't work. So, I repeated the exercise, and got:

'backintime-gnome is already the newest version.
'0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.'

But it still wouldn't open, i.e. nothing appears. I double click the icon, the wheel runs, and stops. The little pointer indicates that it is open, but I have nothing to see. I went to the search button, and clicked the BIT icon. The wheel ran, but nothing appeared. Where could it hide?

Andy

B

Revision history for this message
Germar (germar) said :
#14

Please run 'backintime-gnome' in Terminal and post the output.

Revision history for this message
Andy (wg5o) said :
#15

Heret is, but first, I must tell you that I messed around. I went to Ubuntu Softwear Center and told it to remove backintime. However, the icon remained. In Terminal:

andy@Izzy:~$ backintime-gnome
The program 'backintime-gnome' is currently not installed. You can install it by typing:
sudo apt-get install backintime-gnome
andy@Izzy:~$

Andy

Revision history for this message
Germar (germar) said :
#16

So, if you removed it it can't be there... ;-)

Just to make sure you really removed all open a Terminal and run:
sudo apt-get remove backintime-common backintime-gnome backintime-qt4 backintime-notify
sudo rm -rf /usr/share/backintime
sudo rm -f /usr/bin/backintime*
sudo rm -f /usr/share/applications/backintime*.desktop

You'll get some 'E: Unable to locate package ...' errors. That's fine.

Next run:
sudo apt-get install backintime-gnome
backintime-gnome

and post the output again.

Revision history for this message
Andy (wg5o) said :
#17

Output:

Back In Time
Version: 1.0.34

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.

It looks like that worked! Now, I'll go try it.

Andy

Revision history for this message
Andy (wg5o) said :
#18

Well, when I click on the icon, the little wheel runs, but nothing appears. If I right click it, 'Quit' is one of the options offered.

Maybe, I will have to manually move the folders to where the live. If so, it will be a couple of weeks before I can do it; after 11/8 I will be orherwise occupied.

Andy

Revision history for this message
Germar (germar) said :
#19

The output is fine. So it does start if you launch it from command line but not if you start it with the icon? Is that correct?

I'm not sure yet what could cause this but at least you could use Back In Time from command line to recover your files until we fix the problem with the icon.

Revision history for this message
Launchpad Janitor (janitor) said :
#20

This question was expired because it remained in the 'Open' state without activity for the last 15 days.