server-backup-now

Configure Server Backup in R1Soft Backup Manager

After adding Server to R1Soft Server Backup Manager, you need to configure it.

Test Connection

Verify backup manager can connect to protected machine. If you can’t connect, you need to open TCP port 1167 on firewall.

Click on Wheel icon > Test Agent Connection.

If backup manager cna connect to server, you will see

Running First Backup

You can click

Configure MySQL backup

Go to

You will be asked to enter MySQL server login details. I created a user with remote access permission with following command.

You may need to edit MySQL configuration and make it listen to public IP to allow R1Soft backup manager can connect to your MySQL server.

Back to r1soft

r1soft-restore-backup-4

How to restore R1Soft Backup

To restore backup, login to R1Soft Server Backup Manager. Go to Protected Machines. This page will list all available servers.

Restore backup in r1soft

Click on wheel icon on right side.

Click “Open Recovery Points” in the pop up menu. You get a new window with all available recovery points.

Click on the wheel icon.

In the popup menu, you will see “Browse” and “Bare Metal Restore”.

Bare Metal Restore

This is useful when you need to restore a server as is. Everything get restored exactly like in your old server. But only possible if you have physical access to server.

Download backup files

Browse option allow you to browse files and restore files and folders.

You can go inside a folder by double clicking the folder name. To download a folder or file as compressed file, click the download icon on right side.

Restore on same server

You can restore a file on same server. This will replace existing files on the server with files from backup. Always take a copy of the files before you do this.

Backup with tar

To backup a site using tar, i created a shell script.

With following content

For weekly backup

Make it executable

Create backup folders

Set cronjob

Add

See backup

rsync

rsync command with exclude option, full server backup to remote server.

Transfer a file

I normally use scp to do single file transfer. It may be better to it with rsync as you will be able to resume.

-P == –partial –progress

If you use non standard SSH port, then replace -e ssh with “-e ssh -p PORT_NUMBER”.

Example

See backup