LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   back in time install from the command line (https://www.linuxquestions.org/questions/linux-newbie-8/back-in-time-install-from-the-command-line-4175536033/)

aavika 03-07-2015 08:19 AM

back in time install from the command line
 
hello everyone.,
i am using linux Centos 6 machine, i have downloaded "back in time" through command line.
but i dont know how to install "back in time" from the command line.
i found some commands but that for UBUNTU and not running on Centos 6, giving error.
so , without GUI. can be possible to install and use it?????

thanks in advance..:)

Keruskerfuerst 03-07-2015 09:47 AM

You have to download the fedora version of "back in time" or download it from the repository.

Then install it.

http://backintime.le-web.org/download_page/

michaelk 03-07-2015 12:14 PM

What did you download? If this file backintime-1.1.2.tar then you have downloaded the source code. In a nutshell you will need to untar the files and then follow the instructions in the README file to compile and install.

To untar the file:
tar -xvf backintime-1.1.2.tar

back in time is also included in the epel repositories if you want an "automatic install"

John VV 03-07-2015 01:28 PM

Quote:

i am using linux Centos 6 machine, i have downloaded "back in time" through command line.
but i dont know how to install "back in time" from the command line.
WHAT was the exact command you used ?

from your post you ONLY downloaded it ( GUESSING ON THIS !!! ) that you used wget ot ftp or svn or something to download it

that means
You DID NOT install it !

if it is not installed you can not use it

aavika 03-09-2015 01:10 AM

thank you so much for the help..

i am using linux Centos 6
i have download "back in time" from command line:
wget http://backintime.le-web.org/downloa...e-1.1.0.tar.gz

and for installation i used: tar -xzvf backintime-1.1.0.tar.gz
cd backintime-1.1.0/common
./configure
make
make install

After this i wrote command to run : backintime
it gives an error...
File "/usr/share/backintime/common/backintime.py", line 163
file=sys.stderr)
^
SyntaxError: invalid syntax

i dont want to use GUI ( graphic user interface).. . can be possible with the command lines to run or start "back in time" ?? without GUI..
i dont know how to run this..??? can you tell me the whole procedure? actually i am confused...:(

thanks...

grail 03-09-2015 02:29 AM

It may help if you read then documentation, which states:
Quote:

Keep in mind that Back In Time is just a GUI. The real magic is done by rsync (take snapshots and restore), diff (check if somethind changed) and cp (make hardlinks).
So I do not believe it is intended to be run from the command line. In saying that, you should be able to launch it from the command line, so my question would be, do you have all the pre-requisites installed?

michaelk 03-09-2015 04:14 AM

Yes, it can be run from the console. Did it compile and install without errors?

http://backintime.le-web.org/documen...tting-started/

aavika 03-09-2015 05:22 AM

download and install Python 3 from the command line:

wget http://www.python.org/ftp/python/3.3...-3.3.2.tar.bz2 -O /var/tmp/Python-3.3.2.tar.xz

tar xf Python-3.3.2.tar.xz
cd Python-3.3.2/
./configure
make
make install

After that i wrote "which python3 " in command line
it gives:
/usr/local/bin/python3
then " python3 --version"
it gives:
Python 3.3.2
then "python -V"
it gives:
Python 2.6.6

Instead of "Python 2.6.6" it should give Python 3.3.2 na...????

i wrote command "backintime" or "backintime --backup" or "backintime --restore" on command line..

it gives same ...
File "/usr/share/backintime/common/backintime.py", line 23, in <module>
import config
File "/usr/share/backintime/common/config.py", line 32, in <module>
import tools
File "/usr/share/backintime/common/tools.py", line 25, in <module>
import dbus
ImportError: No module named 'dbus'

how to start back in time from command line?

aavika 03-09-2015 05:23 AM

problem almost solved.. today i tried tried a lott...

again i downloaded backintime-common and backintime-gnome from the command line

then i installed repository through command line: yum install epel-release
to verify: yum repolist

then installed both backintime-common and backintime-gnome from the command line:

yum install backintime-common backintime-gnome

and finally i wrote "backintime-gnome" on command line . It gives an output , automatically GUI opened...:)..:)

still i have a problem... :(

i cannot work on GUI of backintime.. i am searching commands for this. so it can be possible to work on backintime WITHOUT GUI ?????

Thank you so much for the help or reply... i learned a lot..:)

michaelk 03-09-2015 05:39 AM

What about just running
backintime

The package names are not necessarily the same as the application name.

thorkelljarl 03-09-2015 09:59 AM

Run...

Running the command "backintime" in a terminal as recommended should give you the program name and version as installed, and "backintime-h" will list the options and actions.

"man backintime" gives more information still.

aavika 03-11-2015 12:48 AM

hey,

I got it, was an repository issue....
After download "backintime-common"

i wrote command for repository : yum install epel-release

yum install backintime-common
i wrote a coomand and enter:"backintime"
Okay done... i need only backintime-common bcoz i want to handle from command line only

All commands are there..

http://backintime.le-web.org/documen...tting-started/


All times are GMT -5. The time now is 10:16 AM.