Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 02-04-2010, 07:33 AM   #1
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,619

Rep: Reputation: 49
Backup VM using rsnapshot


We have ESX 3.5 Update2.
Howto backup running VM using rsnapshot?
Old 02-05-2010, 07:00 AM   #2
LQ Newbie
Registered: Jul 2006
Location: INDIA
Posts: 13

Rep: Reputation: 1

1. Setup Key Based Authentication and then

copy the pub id named as authorization keys on remote host.

[root@local-host]# ssh-keygen

[root@local-host]# ssh -i ~/.ssh/ remote-host
2. Verify the password less login between servers.
[root@local-host]# ssh remote-host
Last login: Sun Mar 15 16:45:40 2009 from local-host

3. Configure rsnapshot and specify Remote Host Backup Directories

Define your remote-host destination backup directories in /etc/rsnapshot.conf as shown below. In this example,

* root@remote-host:/etc Source directory on the remote-host that should be backed-up. i.e remote backup destination directory.

* remote-host-backup/ destination directory where the backup of the remote-host will be stored. Please note that this directory will be created under local-host /.snapshots/{internal.n}/ directory as shown in the last step.

# vi /etc/rsnapshot.conf

backup  root@remote-host:/etc/  remote-host-backup/  exclude=mtab,exclude=core
4.) Test rsnapshot Configuration

Perform configuration test to make sure rsnapshot is setup properly and ready to perform Linux rsync backup.

May be this would be helpful.


BY Dev
Old 02-05-2010, 07:46 AM   #3
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,619

Original Poster
Rep: Reputation: 49
Thx a lot, I'll try.

BTW has anyone already tried to backup a running VM using rsnapshot?
Old 02-05-2010, 08:35 AM   #4
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 424

Rep: Reputation: 58
Originally Posted by cccc View Post
Thx a lot, I'll try.

BTW has anyone already tried to backup a running VM using rsnapshot?
Yes but I'm running KVM, not VMWare ESX. I used to run VMWare Server 1.x and installed rsnapshot on a host to backup directories/files on the guests. The password-less logins described by dev_dks were part of my solution also.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using rsnapshot with sshfs to backup lpallard Linux - Software 3 08-29-2012 10:41 AM
Backup running server using rsnapshot cccc Debian 2 02-02-2010 03:01 PM
Rsnapshot backup of Windows client - name resolution problem pentode Linux - Server 5 12-05-2008 04:07 PM
Rsnapshot and Backup Strategy Woodsman Slackware 2 04-28-2008 10:48 PM
Using rsnapshot to make a system backup Transition Slackware 1 03-21-2005 09:23 PM

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration