Creating a Backup using lkbackup

To create a backup run the following command:

/opt/LifeKeeper/bin/lkbackup –c

The backup will be created in a file called:

/opt/LifeKeeper/config/archive.<date-time-stamp>.tar.gz

Automatic lkbackup

To change the time of the automatic lkbackup:

  1. Go to /etc/crontab

The entry looks like this:

0 3 * * * root /opt/LifeKeeper/bin/backupadm -c (3 represents the hour the backup will run)

  1. Change the hour to the desired time

Restoring a Backup

To restore a backup run the following commands:

  1. /opt/LifeKeeper/bin/lkcli stop
  1. /opt/LifeKeeper/bin/lkbackup –x –f <file-name>
  1. /opt/LifeKeeper/bin/lkcli start

The use of lkbackup with DataKeeper resources requires a full resync.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment