If you have a Managed Cloud account, you may already have the agent installed on your server. You know you have the agent when you see your Cloud Server(s) listed under Systems in the Rackspace Cloud Backup control panel. If not, we can install it for you. Check with your account manager and jump ahead to How to Create a Backup.
Other users should begin with the instructions below.
On this page, you find out how to
First, you must SSH into your server and run the below commands consecutively on a user with sudo or superuser privileges.
Step 1 - Get the Agent:
sudo sh -c 'wget -q "http://agentrepo.drivesrvr.com/debian/agentrepo.key" -O- | apt-key add -'
Step 2 - Add the Resource:
sudo sh -c 'echo "deb [arch=amd64] http://agentrepo.drivesrvr.com/debian/ serveragent main" > /etc/apt/sources.list.d/driveclient.list'
Step 3 - Install the Agent:
sudo apt-get update; sudo apt-get install driveclient
Step 4 - Configure the bootstrap:
You need your username and API key to complete this step. If you need assistance finding your API key, please refer to this article in our Knowledge Center.
Tip: This step asks you to confirm that you want to overwrite your config file. Answer yes.
sudo /usr/local/bin/driveclient --configure
Step 5 - Start the Agent:
sudo service driveclient start
Step 6 - Set the Agent to start on boot:
sudo update-rc.d driveclient defaults
First, you must SSH into your server and run the below commands consecutively on a user with sudo or superuser privileges.
Step 1 - Confirm directory
Go into your file directory and confirm that the path /etc/yum.repos.d path exits. If not, create it:
sudo mkdir -p /etc/yum.repos.d
Step 2 - Get the RPM:
sudo wget -O /etc/yum.repos.d/drivesrvr.repo "http://agentrepo.drivesrvr.com/redhat/drivesrvr.repo"
Step 3 - Install the RPM:
sudo yum -y install driveclient
Step 4 - Configure the bootstrap:
You need your username and API key to complete this step. If you need assistance finding your API key, please refer to this article in our Knowledge Center.
sudo /usr/local/bin/driveclient --configure
Step 5 - Start the Agent:
sudo service driveclient start
Step 6 - Set the Agent to start on boot:
sudo chkconfig driveclient on
For Arch, Gentoo, and Suse Linux systems, download the tarball at the link below. Then, SSH into your server and run the below commands consecutively on a user with sudo or superuser privileges.
Note: The tarball has the most up-to-date instructions, so if the tarball instructions differ from those below, follow the tarball.
Step 1 - Get the Tarball
wget http://agentrepo.drivesrvr.com/tar/driveclient-latest.tar.bz2
Step 2 - Extract the files
tar -xvjf driveclient-latest.tar.bz2
Step 3 - Change to the directory
Enter the directory created by extracting the files, for example:
cd driveclient-1*
Step 4 - Create directories and copy files
sudo cp driveclient /usr/local/bin/ sudo chown root:root /usr/local/bin/driveclient sudo chmod 700 /usr/local/bin/driveclient
sudo mkdir -m 700 /etc/driveclient sudo cp cacert.pem /etc/driveclient
Step 5 - Configure the Agent
You need your username and API key to complete this step. If you need assistance finding your API key, please refer to this article in our Knowledge Center.
Tip: This step asks you to confirm that you want to overwrite your config file. Answer yes.
sudo /usr/local/bin/driveclient --configure
Step 6 - Start the Agent
sudo /usr/local/bin/driveclient --daemon
Example init/startup scripts are included in the tarball.
If you need to find out which encryption type of Windows machine you have (32- or 64-bit), navigate to your Windows Server's Control Panel and Select "System".
Step 1 - Download the Agent
Note: For these agents, you may Right-click the links below and save them directly to your Server.
http://agentrepo.drivesrvr.com/windows32/driveclient-setup-latest.exe
http://agentrepo.drivesrvr.com/windows/driveclient-setup-latest.exe
Step 2 - Run the Agent
You need your API Key when you install the Agent. If you need assistance finding your API key, please refer to this article in our Knowledge Center.
There are 3 types of setups: New Install, Update Install, or GUI Install. They take the following non-quoted parameters:
driveclient-setup /S /Type=[New|Install|Update] /Username=username /ApiKey=apiKeyValue /ApiHostName=hostname [/Url=UpdateUrl]
driveclient-setup /S [/Type=Install|/Type=Update]
Notes:
Step 3 - Test Windows Install or Update:
Installation should do the following:
c:\>dir "%programfiles%\driveclient" /a-d
Volume in drive C is OS
Volume Serial Number is EE4C-78FC
Directory of C:\Program Files\driveclient
10/05/2011 12:24 PM 5,749,760 driveclient.exe
03/01/2011 05:41 PM 1,693,696 icudt42.dll
03/01/2011 05:39 PM 1,289,216 icuuc42.dll
10/05/2011 01:37 PM 647,630 install.log
10/05/2011 01:37 PM 58,384 uninst.exe
5 File(s) 9,438,686 bytes
{
"ApiHostName" : "api.driveclient.com",
"Https" : true,
"IsRegistered" : false,
"Username" : "[yourusername]",
"Password" : "[myownveryverylongpasswordthatnoonecouldeverpossiblycrack]"
}
The parameters provided with /type=install should be seen in the bootstrap.json file.
c:\>sc query DriveClientSvc
SERVICE_NAME: DriveClientSvc
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Running driveclient-setup-latest.exe will change any updated files in “program files\driveclient”.
This is the same as running setup with no parameters.
c:\>dir "%programfiles%\driveclient\driveclient.exe"
Volume in drive C is OS
Volume Serial Number is EE4C-78FC
Directory of C:\Program Files\driveclient
10/05/2011 12:24 PM 5,749,760 driveclient.exe
1 File(s) 5,749,760 bytes
0 Dir(s) 449,822,932,992 bytes free
What do the backup statuses "Skipped", "Missed", "Errored", and "Failed," mean? (See below for instructions on troubleshooting these issues.)
How do I troubleshoot the Skipped, Missed, Errored, and Failed statuses?
If you need to read the logs of your agent, you may find them at the below locations.
To uninstall the agent, stop the agent and uninstall the package.
sudo service driveclient stop sudo yum remove driveclient
sudo /etc/init.d/driveclient stop sudo apt-get remove driveclient
You should now see:
c:\>dir "%programfiles%\driveclient" /a-d
Volume in drive C is OS
Volume Serial Number is EE4C-78FC
Directory of C:\Program Files\driveclient
10/05/2011 01:29 PM 607,013 install.log
1 File(s) 607,013 bytes
2 Dir(s) 449,805,914,112 bytes free
c:\>dir "%programdata%\driveclient" Volume in drive C is OS Volume Serial Number is EE4C-78FC Directory of C:\ProgramData File Not Found
- There should be no scheduled tasks to "check for driveclient update". c:\>sc query driveclientsvc [SC] EnumQueryServicesStatus:OpenService FAILED 1060: The specified service does not exist as an installed service.
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

54 Comments
Which ports must be open on
Thanks.
Re: ports
Start on boot
To make that happen on Ubuntu do :
update-rc.d driveclient defaults
It will configure all necessary symlinks to the init.d script...
You should precise that on your tutorial !
Ubuntu (Debian) update-rc.d
sudo update-rc.d driveclient defaults
Thanks for your comments
Agent installation on Windows 32-bit
http://agentrepo.drivesrvr.com/windows32/driveclient-setup-latest.exe
The location of the agent for 64-bit windows systems is:
http://agentrepo.drivesrvr.com/windows/driveclient-setup-latest.exe
Installation Instructions for Gentoo and Arch, and Suse (tar)
Download the following tarball:
http://agentrepo.drivesrvr.com/tar/driveclient-latest.tar.bz2
The tarball contains a README file with instructions.
We have plans to support the platforms with official packages and this page will be updated with the instructions soon.
:D
sudo: driveclient: command not found
Enter "sudo su -", then enter. Then execute the command and it should find it. "sudo driveclient --configure".
RE: sudo: driveclient: command not found
PATH=$PATH:/usr/local/bin:$HOME/bin
Then log out of root and log back in.
Next Gen Rackconnected servers and Cloud Backup.
I'm working with a customers Next Gen Windows 2008 server. I've successfully installed the newest client, but I've found that just opening HTTPS does not allow for connectivity between the client and the Cloud Backup Portal in Reach. I have to use a network policy that allows the cloud server to use all ports out to the web in order to get this to work. Which port does the client make calls out on?
443 and Fanatical Support Ticket?
Hi Matthew,
Hi Matthew,
We always communicate on 443.
BTW, Our Fanatical Supporters monitor support tickets and will get your questions into the queue for an answer much quicker than here. (Access support from the Control Panel->Support Menu)?
CloudBackup Puppet Module
https://github.com/avatarnewyork/puppet-cloudbackup
Also available via the Puppet Forge here:
http://forge.puppetlabs.com/avatarnewyork/cloudbackup
Feel free to fork and contribute
Cannot Install Backup Agent
Updated: February 15, 2012 3:15:47 PM
Type: Other
Risk Impact: High
Systems Affected: Windows XP, Windows Vista, Windows NT, Windows Server 2003, Windows 2000
Behavior
WS.Reputation.1 is a detection for files that have a low reputation score based on analyzing data from Symantec’s community of users and therefore are likely to be security risks. Detections of this type are based on Symantec’s reputation-based security technology. Because this detection is based on a reputation score, it does not represent a specific class of threat like adware or spyware, but instead applies to all threat categories.
The reputation-based system uses "the wisdom of crowds" (Symantec’s tens of millions of end users) connected to cloud-based intelligence to compute a reputation score for an application, and in the process identify malicious software in an entirely new way beyond traditional signatures and behavior-based detection techniques.
Logged for investigation, Support Ticket?
I've logged this with Development to investigate a resolution. Have you logged a support ticket (from the Control Panel->Support) so that our Fanatical Support can get this into the queue and follow up with you?
Service can't start on windows
Support Ticket?
Have you logged a support ticket for the Access Denied issue (from the Control Panel->Support Menu)? Our Fanatical Supporters monitor that queue and can help walk you through the issue.
Fixed this!
The default first rule that goes into iptables is (recommended on many sites, including the RS help files):
iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
You need to allow established and related connections for eth1 for driveclient to work.
Error in Cent OS documentation.
On step 4, following the install of the agent, when entering the command "sudo driveclient --configure" I received an error stating command not found. I ignored this step thinking it wasn't required but my server did not show up on the list in the backup area.
I removed and reinstalled the agent and used "driveclient --configure". This configured the bootstrap and now everything is working correctly. It might be worth updating this for any CentOS users who come across this problem. Cheers, Tom.
re: CentOS documentation
error while configuring client
I get the following errors, while trying to configure the client:
driveclient: /lib/libc.so.6: version `GLIBC_2.9' not found (required by driveclient)
driveclient: /lib/libc.so.6: version `GLIBC_2.10' not found (required by driveclient)
driveclient: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by driveclient)
We're running a Debian 5.0 ...
Thx,
Ron
re: error
On the error, it looks like the driveclient requires a newer version of glibc than what shipped with Debian 5. I'll see if we can't get a list of the requirements added to this article, but it looks like you'd need to use Debian 6 (or do some manual upgrading in Debian 5) so you can meet the glibc requirement.
license
there was an earlier question on this topic (http://www.rackspace.com/knowledge_center/comment/40862#comment-40862) but it did not get a real answer.
re: license
http://www.rackspace.com/cloud/legal/
We have not made the source available. If you require more information let me know and I'll see what else I can find out.
CPU usage
I wanted to know if it's normal that the driveclient process is permanently running and using 2% of the CPU on my centos box? I don't really mind because it's really small usage but I don't understand why the client is constantly using CPU even when I'm not logged in on the Rackspace cloud management site or when backup are not performed.
CPU usage reply
Yes, it is currently as-expected for the driveclient to stay somewhat active even when backups are not running or you are not actually using Rackspace Cloud Backup. It polls for scheduled backups and generally keeps itself "alive" even when there is no user interaction.
However we are actively analyzing how to decrease the "at-rest" CPU utilization altogether. But do not have a release date for when this enhancement will be in Rackspace Cloud Backup.
Thanks for your feedback,
June
Can you install Rackspace
Thanks!
Mike
re: non-RS servers
In the meantime you might consider a service like Jungle Disk (which can automate backups to Cloud Files).
https://www.jungledisk.com/
driveclient taking too much memory, bringing my server to a halt
The top line in `top` is:
819 root 20 0 630m 3496 1480 S 2.3 0.7 170:55.14 driveclient
What do I do to turn this off? My server was working a few hours ago and now I can't get it to free up it's memory.
re: stopping agent
sudo service driveclient stop
If you still see the driveclient in top after that then the process could be hung. The first column in top shows the process ID, which you could use with the kill command to try and force a stop. For the example you list, the kill command would be "sudo kill 819". If that STILL doesn't do it then you can go nuclear and include the -9 option, as in "sudo kill -9 819".
Note that automated backups won't be performed while the agent is inactive. You can try starting it back up after stopping it (to see if it consumes fewer resources) with:
sudo service driveclient start
If you run into this issue often, I'd suggest creating a ticket for support via the control panel so they can help troubleshoot why the agent is being a resource hog.
Errors on install
I'm logged in as root.
# service driveclient start
bash: service: command not found
# sudo chkconfig driveclient on
sudo: chkconfig: command not found
#chkconfig driveclient on
bash: chkconfig: command not found
# sudo driveclient start
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
# driveclient start
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted
In the online interface, the server I installed the agent on is shown as "Offline" - as a consequence, I can't set up a backup to completion.
re: CentOS 5
To temporarily add to your path, run:
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
Try running chkconfig to see if that works. If it does, then edit your .bash_profile:
nano ~/.bash_profile
And add the "export" line above to the file, then save it. That way you'll have that in your path next time you log in.
On the locale, you can run the following to set the locale to the US:
sudo /usr/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Once you do that try starting driveclient to see if it gives the same error. If it works, then you'll want to make that change permanent. Run:
sudo nano /etc/sysconfig/i18n
Then add these lines (or replace similar lines that may already be there):
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
Hopefully those steps do the trick. If not, let me know what other errors you see.
Errors on install / Centos 5
re: Errors on install / Centos 5
re: Timeouts
Sorry to hear you had timeout problems posting a comment, though. I've notified the maintainers of the site's backend, and hopefully they'll track the problem down and fix it. Thanks for letting us know about it.
Installation Error
re: GPG error
I'll look into why the CentOS instructions give the key a miss, but I'd suggest trying the install per the instructions above for now.
CPU overhead.
Reducing CPU usage
There is an update for the agent which you should install. The instructions are found here: http://www.rackspace.com/knowledge_center/article/update-the-rackspace-cloud-backup-agent
We have found that the agent will idle at around 2%, and work is currently being done to lower it further. The idle usage may increase, however, if the user has trace-level logging turned on and is logged into the control panel.
Ok, I just went through the
Also, with your comment on trace-level logging, are you referring to general logging on the server itself (i.e. operations on the server causing HDD i/o)? I wish that didn't affect the idle CPU load from the driveclient, as it's only configured to backup once per week at 4AM.
Trace logging clarification
Is FreeBSD supported?
FreeBSD support
We currently don't support FreeBSD. But it is in our plans for future development although no target date has been set.
Thanks for your inquiry.
June
Typo on Instructions
re: centos
Chef cookbook
I've created a Chef cookbook for the installation of the Cloud Backup Agent:
https://github.com/djoos/chef-rackspacecloudbackup
Check it out via the Opscode Chef community:
http://community.opscode.com/cookbooks/rackspacecloudbackup
Feel free to fork and contribute to the cookbook, bon appétit ;-)
P.S. @Racker: don't hesitate to contact me to move the cookbook maintenance across so it can sit nicely next to https://github.com/racker/cookbook-cloudmonitoring as cookbook-cloudbackup...
Errors on Install: Ubuntu
I get errors when installing the backup agent.
sudo /usr/local/bin/driveclient --configure
gives the following errors
/usr/local/bin/driveclient: /lib/libc.so.6: version `GLIBC_2.9' not found (required by /usr/local/bin/driveclient)
/usr/local/bin/driveclient: /lib/libc.so.6: version `GLIBC_2.10' not found (required by /usr/local/bin/driveclient)
/usr/local/bin/driveclient: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by /usr/local/bin/driveclient)
/usr/local/bin/driveclient: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/local/bin/driveclient)
/usr/local/bin/driveclient: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.2' not found (required by /usr/local/bin/driveclient)
I am running
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy
Any suggestions?
Also,
sudo service driveclient start
suggested in your documentation does not work. Should this be
sudo /etc/init.d/driveclient start
under Ubuntu?
re: glibc 2.9
The "sudo service driveclient start" command would only work after the package has successfully installed.
glibc 2.9
I was hoping to back up before upgrading to the new version of Ubuntu. Does not look like this is possible. I have saved an image of the slice instead, and requested the upgrade. I will then have another go at installing the backup client.
Thank you for your assistance.
32-bit Linux Version of DriveClient?
Pages
Add new comment