Using as backup/sync destination

I’ve written guides on how to backup to both and and now got the request via Twitter to write how to do the same thing with Since I didn’t have a account I had to createtwitter_copy_com one before I could look into it.

The installation guide found in the documentation only works “out of the box” if you have a GUI running and none of my servers have one.


These are the steps to install and configure a headless installation of the


All of the commands are executed as root, I can not guarantee that it will work as a regular user.

Change directory to /tmp and download the installation files.  The first time I tried to download the Copy.tgz file it failed with the error message:

To avoid this I added the parameter –no-check-certificate to the wget command

Extract the files

I then decided to copy the extracted folders and files to the /opt directory before running anything

The CopyAgent (as calls their software) comes in both a 32-bit and a 64-bit version and you need to run the correct one.

If you don’t know if your VPS is 32 or 64-bit you can check it by executing

The results will then tell you that:

The server I’m testing this on is 32-bit so I change directory to the x86 directory

To create the config files you need to run the CopyConsole command with the following parameters

it should look something like this :

When executing config files are created and a synchronization is made with your online account.

Wait until you see this text at the bottom of your terminal

You can then exit by pressing CTRL+C

You will now have a new directory with all your config files in /root/.copy/.

The root directory that you specified above is now in sync with the online copy but if you add/remove a file in the root directory it won’t get uploaded since we stopped the CopyAgent.

To start syncing in the background you can start the CopyAgent with the parameter -daemon

To make sure it gets started every time the VPS is restarted I’ve added this row as a cronjob


That’s it. all done!

7 comments for “Using as backup/sync destination

  1. Joshua
    March 3, 2014 at 13:26

    Thanks for the tutorial mikho :D
    now im gonna use some of my copy storage to backup my vps

  2. Bambang
    April 10, 2014 at 07:45

    Hi.. thanks for the tutorial, but can I change copy home directory from root to my home folder?

    • April 10, 2014 at 11:02

      Yes, the -r parameter is the root directory that you will sync to

      Perhaps create a /home/ folder and link that to your online storage, then backup to /home/ and it will be synced to “the cloud”.

  3. Bambang
    April 10, 2014 at 17:23

    Thanks for reply. Btw when I try to add cronjob, it failed. Any other way around to start copy daemon when VPS restart?

    • April 10, 2014 at 20:53

      What error message do you get and what distribution are you using?

      • Bambang
        April 11, 2014 at 11:46

        I am using Debian 7 32 bit. There was no error message, I just looking current memory activities using top command, and CopyConsole daemon was no there. But I already find a way, create init.d script from Matteo Ragni script (, and it;s works for me.

        • April 12, 2014 at 20:12

          A solution that solves the problem is good enough for me :)

Leave a Reply

Your email address will not be published. Required fields are marked *