Tuesday, 3 December 2013

Crashplan Reinstall

An "howto" of setting up CrashPlan on a QNAP NAS, and an update of the post "How to setup CrashPlan on a QNAP TS-239 Pro Turbo NAS"


How to update to the latest version

# first uninstall
/opt/CrashPlan-install/uninstall.sh -i /opt/crashplan/
Would you like to switch users and uninstall as root? : n
rm -rf /opt/crashplan/

# then reinstall
cd /opt

If you want to store the old installation files
(alternatively just "rm" the install directory)

mv CrashPlan-install CrashPlan-install_old
wget http://download.crashplan.com/installs/linux/install/CrashPlan/CrashPlan_3.5.3_Linux.tgz
(found here http://www.crashplan.com/consumer/thankyou.html?os=Linux)tar zfx [name_of_downloaded_file]
( rm [name_of_downloaded_file] )
cd CrashPlan-install
nano install.sh

Edit the first line of the file from:
!/bin/bash

to
!/opt/bin/bash

do the same thing (replacing from #!/bin/bash to #!/opt/bin/bash) for the uninstall shell script:
nano uninstall.sh
… and for the engine:
nano /opt/CrashPlan-install/scripts/CrashPlanEngine

run the install script
./install.sh
Would you like to switch users and install as root? (y/n) : n
What directory do you wish to install CrashPlan to? : /opt/crashplan
What directory do you wish to store backups in? : /opt/crashplan/manifest

Your selections:
CrashPlan will install to: /opt/crashplan
And store datas in: /opt/crashplan/manifest

Unpacking /./CrashPlan_3.2.cpi ...
./install.sh: /opt/crashplan/bin/CrashPlanEngine: /bin/bash: bad interpreter: No such file or directory
(NOTE, if you do get the "bad interpreter" error you have not done the above thing, changing from #!/bin/bash to #!/opt/bin/bash on the first line of the script "/opt/crashplan/bin/CrashPlanEngine")

Commands
[/opt/CrashPlan-install] # /opt/crashplan/bin/CrashPlanEngine stop
Stopping CrashPlan Engine ... OK

[/opt/CrashPlan-install] # /opt/crashplan/bin/CrashPlanEngine start
Starting CrashPlan Engine ... Using standard startup
OK


Headless Client


No comments:

Post a Comment

Allowed HTML tags:
<b>bold</b>
<strong>strong</strong>
<i>italics</i>
<em>emphasis</em>
<a href="">hyperlink</a>


Please, show the courtesy of identifying yourself when adding a comment. Anonymous comments will, most likely, be removed.