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:
- 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)
- Change the hour to the desired time
Restoring a Backup
To restore a backup run the following commands:
/opt/LifeKeeper/bin/lkcli stop
/opt/LifeKeeper/bin/lkbackup –x –f <file-name>
/opt/LifeKeeper/bin/lkcli start
The use of lkbackup with DataKeeper resources requires a full resync.
Post your comment on this topic.