View Single Post
  #1  
Old 26th March 2010, 00:08
bn61 bn61 is offline
Junior Member
 
Join Date: Feb 2010
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
Default System Backup Recovery on Debian Etch

Hai!
I am about to maintain a VServer which is going to be setup with Debian Etch and ISPConfig3. (=>1)
To do that I needed a suitable backup solution.
Since this is a VServer and the only way to access the server is via ssh, all those nice available imaging and backup tools like partimage and mondo are out of the game.

But, the worst case scenario actually isn't that bad in this case.
I click on a button ... and after 15 minutes I get a brand new 'vanilla' Debian Etch.
This makes duply/ftplicity a good enough solution for me,
even for the purpose of replicating my whole system.
So installing/configuring ftplicity and fetching my data - that's another 15 minutes. (=> 2,3)

And here's the point where I get stuck.
I have the copy of my complete filesystem at /home/user1/restore.
The package list I created on my original machine with
Code:
dpkg --get-selections \* > mypackagelist
is also there. (=> 6,7)

First question:
---------------
Which are the essential direcories to restore my original settings/functionality?
I have found some articles and postings (=> 4,5) but those seemed a little outdated.

Second question:
----------------
Once I have identified the target directories how do I do the install? Do I just plain copy over the existing directories on the new machine or is it better to remove those existing directories first?

Third question:
---------------
What comes first? Restoring the package list (=> 6,7) or copying the filesystem?

Hmmmm. That was a lot of prosa. I hope you could bear with me and help me out with the right ideas or point me in the right direction.


-------------------------------------------------------------
  1. http://www.ispconfig.org/docs/INSTALL_DEBIAN_4.0.txt
  2. Creating Encrypted FTP Backups With duplicity And ftplicity On Debian Etch
  3. Scripts to create encrypted backups to online services
  4. List of directories needed to move ISPConfig 2
  5. Moving ISPconfig
  6. tar vs dpkg --get-selections for backup scheme
  7. http://debiananwenderhandbuch.de/dpkg.html#dpkggetss
  8. Perform backups for the Linux operating system
Reply With Quote
Sponsored Links