LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2011, 07:04 PM   #1
johny9
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
Can I backup & restore without KVM?


I'm Linux newbie who just started using dedicated server.
In VPS, backup, restore, and OS installation was just one-click thanks to SolusVM.
However, it seems like everything takes money in dedicated server.

Here is my brief server configuration :
SSD 16G (System) & HDD 1TB (backup & personal data)

Now, I want to install my OS in SSD and back up file system into HDD.
It seems like "dd if=/dev/hda of=/data/disk1.img" will make my backup easy.
However, I think it should be a bad idea to overwrite system disk directly with commands like "dd if=/data/disk1.img of=/dev/hda" while Linux is working on it.
The guideline I found on web tells me to boot as CD and overwrite system disk with dd.

However, I don't want to spend extra money to buy KVM.

Is there any method I can backup & restore from remote with SSH & remote reboot feature?

Thank you.
 
Old 10-04-2011, 11:54 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
If I understand your situation correctly, you want to do a remote boot from a CD via SSH and then do an install onto your SSD. I don't know how to do that, and I'm not sure if it's possible, but then I claim no expertise in that area. If I had to do it, I'd do it in a very convoluted manner:
1. backup the SSD to the HDD as described above
2. install the OS to the HDD
3. reconfigure the system to boot from the HDD
4. reboot the system (from the HDD)
5. install the system on the SSD
6. reconfigure the system to boot from the SSD
7. reboot the system (from the SSD)
Hopefully, someone more knowldgeable can provide a more effective and efficient workflow.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Storage and backup considerations using kvm on Cent OS 6.0 ThomasRonshof Linux - Virtualization and Cloud 6 10-06-2011 01:24 PM
how to restore backup from an LVM Guest OS on KVM Lucid tkmsr Linux - Virtualization and Cloud 2 09-29-2010 06:12 AM
KVM Relocation and Backup arunkeerthan Linux - Virtualization and Cloud 1 05-28-2010 01:58 PM
cannot restore backup jon23d Linux - General 2 11-02-2006 05:24 PM
Backup and restore magasem AIX 7 07-30-2006 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration