Re: [BackupPC-users] Anyone using r1soft hotcopy as a pre/post backup command?
2010-08-31 17:34:16
Ok, I tested the following and it worked. Here is what I used for others future reference>
DumpPreUserCmd: $sshPath -q -x -l root $host /usr/sbin/hcp /dev/sda1 (/dev/sda1 is my / partition so I run hcp against that)
DumpPostUserCmd: $sshPath -q -x -l root $host /usr/sbin/hcp -r /dev/hcp1 (this stops the snapshot and unmounts it in one fell swoop) RsyncShareName: /var/hotcopy/sda1_hcp1 (or whatever your version of hcp mounts the snapshot to)
Obviously I an using rsync to back up this machine. I have tested backups and restores. The restore you just have to tell it to restore to / instead of the /var/hotcopy/..... path and you should be good.
I hope this helps someone in the future.
Donny B.
On Tue, Aug 31, 2010 at 11:03 AM, Kameleon <kameleon25 AT gmail DOT com> wrote:
I am looking at using r1soft's hotcopy to enable a snapshot of the filesystem before backuppc does it's magic. Similar to how Microsoft Volume shadow copy works or LVM's snapshots. What I am wondering is this: Does anyone currently use this type of setup and if so, would you mind sharing your pre/post commands so I can compare to what I am thinking. Thanks in advance/
Donny B.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|