public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfsdump/xfsrestore question
@ 2007-02-20 14:16 Leon Kolchinsky
  2007-02-20 14:19 ` Justin Piszcz
  2007-02-21  0:07 ` Timothy Shimmin
  0 siblings, 2 replies; 11+ messages in thread
From: Leon Kolchinsky @ 2007-02-20 14:16 UTC (permalink / raw)
  To: xfs

Hello All,

I have a question about xfsdump/xfsrestore usage on Linux.

I'm running Linux 2.6.19-gentoo-r5.

Now I have 2 disks, 
/dev/hda is my system disk
/dev/hdc is a disk I want to use for backups.

This is how my fstab looks like:

/dev/hda1               /                       xfs
noatime,nodiratime,logbufs=8    1 1
/dev/hda2               none                    swap            sw
0 0
/dev/hdc3               /var/tmp/portage        xfs
noatime,nodiratime,logbufs=8    0 0
/dev/hdc2               /data                   xfs
noatime,nodiratime,logbufs=8    0 0
/dev/hdc1               none                    swap            sw
0 0
/dev/cdrom              /mnt/cdrom              iso9660         noauto,ro
0 0
/dev/fd0                /mnt/floppy             auto            noauto
0 0

# NOTE: The next line is critical for boot!
proc                    /proc           proc            defaults        0 0

shm                     /dev/shm        tmpfs           nodev,nosuid,noexec
0 0

########################################

Now the questions:

1) If I get the xfsdump synax correctly I just have to do:

# cd /
# xfsdump -f /data/backup.file /

Is it right?
What about opened and "currently in use by the system" files? Are they
backuped in a proper way? What about tmpfs like /proc, are they been
ignored?

2) If I'd have to restore my system from the dump, how would you recommend
to do it? Booting from LiveCD and making # xfsrestore -f / data/backup.file
/ ?

Would it be a bootable/operational system?
What are the expected glitches?


Best Regards,
Leon Kolchinsky
 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-02-26 13:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-20 14:16 xfsdump/xfsrestore question Leon Kolchinsky
2007-02-20 14:19 ` Justin Piszcz
2007-02-21  0:07 ` Timothy Shimmin
2007-02-21 21:02   ` Leon Kolchinsky
2007-02-22 12:48   ` Olaf Frączyk
2007-02-24 15:04     ` Leon Kolchinsky
2007-02-24 15:10       ` Iustin Pop
2007-02-26 13:14         ` Leon Kolchinsky
2007-02-26  5:29       ` Donald Douwsma
2007-02-26  5:52       ` Timothy Shimmin
2007-02-26 13:16         ` Leon Kolchinsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox