David Coulson on 17 Dec 2008 18:52:06 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] how to backup/restore with XFS?

I'd go pick up one of those USB enclosures for laptop drives. From there 
you can either dd the whole filesystem(s) from one drive to another 
(assuming the partitions are of identical sizes, or at least smaller on 
the old drive), or create new filesystems on the new disk and use tar to 
move the data.

It doesn't make any difference if you are using XFS or ext3. In either 
instance, I trust you have a backup of the disk somewhere else?

Jonathan E. Magen wrote:
> Friends,
> I knew this day would come, the hard disk on my beloved ThinkPad has
> reached the end of it's life (it's rated for ~600k load/unload cycles
> and it's gone over 1m). Lenovo support has a new one on the way and I
> need to consider how to move my system over. Though I've backed up all
> of my important files and the like, I was wondering if there is a way
> to move my whole system over to avoid having to reinstall Debian, etc.
> XFS is my filesystem of choice and I know that it can dump a complete
> filesystem image to be restored later. Does anyone have any experience
> with this who could tell me if it's possible to dump and restore my
> root and home partitions on another hard disk? Can an entire system be
> moved like this at all?
> The disk will be here in 1-2 days so I've got that long to figure out
> if I can reliably get fancy with XFS or whether I need to consider
> other options.
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug