Difference between revisions of "PBA"

From Amahi Wiki
Jump to: navigation, search
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The HDA now includes the [http://pba-vm.sourceforge.net/ Personal Backup Appliance], or PBA, with the collaboration of the PBA leader, Roland Hui. Here is what the web interface looks like:
+
[[Category:Apps]]
 +
 
 +
'''NOTE:'''  This app is no longer available.  You can use [[Clonezilla]] LiveCD as an alternative.  Although the app is in beta testing, you can still download the LiveCD and use it as shown in the tutorial.
 +
<!--Amahi now includes the [http://pba-vm.sourceforge.net/ Personal Backup Appliance], or PBA, with the collaboration of the PBA leader, Roland Hui. Here is what the web interface looks like:
  
 
[[Image:Backups.png|550px]]
 
[[Image:Backups.png|550px]]
Line 5: Line 8:
 
This application is essentially a hard disk clone, backup and restore application.
 
This application is essentially a hard disk clone, backup and restore application.
  
 +
== Basic principle ==
  
Follow this on SERVER with AMAHI Running
+
* You boot the system to back up off the network.
----------------------------------------
+
* The system boots the PBA-included linux mini-distro
 
+
* You back up one driver or restore one drive, via the network
Note:- The default Amahi install will not get PBA by default.
 
 
 
These are the steps to get PBA apps available in application tab. Once the pba is listed in application tab ,  you can do one click install
 
 
 
 
 
Here is the command which needs to be run as root on Fedora Server with Amahi installed
 
 
 
# su - root
 
# rpm -Uvh http://dl.getdropbox.com/u/364883/Amahi/hda-platform-3.1-6.noarch.rpm
 
 
 
 
 
Follow this on client
 
----------------------
 
 
 
 
 
#  Currently, we support SystemRescueCD.
 
 
 
Download SystemRescueCD iso file and burn the CD.
 
 
 
Once you boot your machine with a SystemRescueCD live CD, the commands to start PBA are these:
 
 
 
    dhclient eth0
 
    wget -q -O- http://pba/pba.tgz | tar -xzf - -C /root && sh pba/pba.sh pba
 
  
 +
'''DO NOT RESTORE to the original media. Please TEST first and make sure the backup and restore works with your hardware!'''
  
 
= What to do, in 2 simple steps =
 
= What to do, in 2 simple steps =
Line 53: Line 35:
 
* Change to the '''''/var/hda/apps/pba''''' directory on the operating system drive.  Ensure the backups directory does not exist.  If it does, remove it.
 
* Change to the '''''/var/hda/apps/pba''''' directory on the operating system drive.  Ensure the backups directory does not exist.  If it does, remove it.
 
* As user ''root'', enter '''ln –sf /var/hda/files/backups backups''' (must match the path set when adding a secondary hard drive.  
 
* As user ''root'', enter '''ln –sf /var/hda/files/backups backups''' (must match the path set when adding a secondary hard drive.  
* Verify ownership of '''''/var/hda/pba/backups''''' (symbolic link) is set to ''apache:apache''.
+
* Verify ownership of '''''/var/hda/apps/pba/backups''''' (symbolic link) is set to ''apache:apache'' (Verify this with the list directory command 'll' - if you need to change ownership then issue the commands '''chown apache /var/hda/apps/pba/backups''' and '''chgrp apache /var/hda/apps/pba/backups''')
  
 
<center>[[Image:SimLink.PNG]]</center>
 
<center>[[Image:SimLink.PNG]]</center>
Line 94: Line 76:
  
 
* Code 22: this usually indicates a permission problem. Make sure that the file /var/hda/apps/pba/backups/data exists and is not owned by root.
 
* Code 22: this usually indicates a permission problem. Make sure that the file /var/hda/apps/pba/backups/data exists and is not owned by root.
* Code 23: indicates that there may be a partition in the drive or a partition scheme that partimage (the program doing the job of duping the partition) does not understand, such as hidden partitions (for restore), or some other unusual partitions, such as LoJack, etc.
+
* Code 23: indicates that there may be a partition in the drive or a partition scheme that partimage (the program doing the job of duping the partition) does not understand, such as hidden partitions (for restore), or some other unusual partitions, such as LoJack, etc.-->

Latest revision as of 15:30, 5 April 2014


NOTE: This app is no longer available. You can use Clonezilla LiveCD as an alternative. Although the app is in beta testing, you can still download the LiveCD and use it as shown in the tutorial.