Gandi Wiki


Questions

Warning:

To configure Gsync actually, when connected on your VPS management page, you have to add '/backup' to your Web address (URL).

Link of the VPS : https://www.gandi.net/admin/hosting/vm/98765
Link of the Backup system : https://www.gandi.net/admin/hosting/vm/98765/backup.

You can configure this backup tool on the control panel this way.

The setup link will appear in the next control panel release on the backup disk directly.

How to install and set up GSync ?

Attach a backup to your server

In order to use Gandi's backup robot, you must first create a backup disk, and it has to be available.
Then go to your server's control panel, and go to the bottom of the page.
Backup section, at the bottom of your server's control panel
Click on "Manage" to add a Backup disk to your server.

Backup disks selection interface
Then you will be asked to choose among your backup disks, which one to attach to your server. A couple of minutes after validating, the disk will be available on your server.

Configureing GSync : the Backup robot

True to its principles, the backup engine Made in Gandi, called GSync, will install itself automatically on your GandiAI server.
For Expert mode servers, there is a package on Gandi's repositories in order to install it easily.
For Gandi AI, the robot's configuration is made through the interface. This is also partially possible for Experts.

In order to access GSync's set up interface, still at the bottom of your server's control panel, in the "Backup" section, click on "Manage the robot's configuration".

GSync's management interface
Click on "Create" in order to start setting up a new back up.
The sole purpose of the name you will enter in this field, is to identify your settings.
The "Directories to backup" field is far more important, and should obey a specific syntax. This is where you tell your robot which directories should be saved, by telling it the precise access path.
You must enter one path per line, always beginning with / (your server's root) and ending with the name of the aim directory.
For example: If you want to save the php files of your site's, correspondig to your vhost's "mydomain.com", and those files are on your disk "/d_mydatadisk/", then your directory's path will be: /srv/d_mydatadisk/mydomain.com/htdocs

The "Path of the backup disk" field is used to name a directory on your backup disk, that will contain all of the saved version of the paths indicated in that field.

With GandiAI

From the moment when you validate the saving configuration (and of course, if it is valid), your server will be updated and the backup robot, GSync, will be automatically installed, configured, and started.

With Gandi Expert

Once you validate the form, the server will generate a configuration you will be able to use to erase the file:

/etc/gandi/gsync.conf

But, before all, you will have to install the package for our backup robot.

In order to install GSync on your server, the syntax is identical to a normal installation syntax, with the package name gsync. In details, and depending on your distribution, here is how it looks:

On Debian and Ubuntu:

apt-get update
apt-get install gsync

On Fedora and OpenSUSE:

yum install gsync

On Mandriva:

urpmi.update -a
urpmi gsync

Questions

RSS feed for questions matching this filter (Help)

Last modified: 03 Nov 2010 at 18:16 by Michael M. (Gandi)