Cloning: Difference between revisions

more on cloning
No edit summary
Line 53: Line 53:
== Partition Image ==  
== Partition Image ==  
'''[http://www.partimage.org/  Partition Image]''' is a semi-automated tool for replicating a Linux partition to multiple targets.  It is particularly useful as a system cloning tool, and has many uses for data backup and archiving of whole disks or partitions.
'''[http://www.partimage.org/  Partition Image]''' is a semi-automated tool for replicating a Linux partition to multiple targets.  It is particularly useful as a system cloning tool, and has many uses for data backup and archiving of whole disks or partitions.
== Replicating a PHP installation ==
If you want to know what PHP packages are installed, you can do the following
<source lang="bash">
# On system A, get a list of the php packages that are installed
dpkg --get-selections |grep -v deinstall | grep php5- | awk 'ORS=" " { print $1 }'
# On system B, install those packages
sudo apt-get install [LIST FROM A]
</source>


[[Category:Howto]]
[[Category:Howto]]