[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] does DUMP backup only the 'used' HD fraction, OR, the 'entire' HD, blank space and all ?
- Subject: [ale] does DUMP backup only the 'used' HD fraction, OR, the 'entire' HD, blank space and all ?
- From: mhw at WittsEnd.com (Michael H. Warfield)
- Date: Fri, 09 Mar 2012 14:58:53 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]> <CAEo=5Px1AnnpRUK1JKpDLru9CGm8=wYd97VPykhtV60fBvsZag@mail.gmail.com> <[email protected]> <[email protected]>
On Fri, 2012-03-09 at 14:42 -0500, Vernard Martin wrote:
> On 3/9/2012 2:13 PM, Bob Toxen wrote:
> > Beware!
> >
> > Some versions of dump/restore fail to preserve directory permissions,
> > instead creating all directories mode 777 on restore!
> >
> > I saw this about 5 years ago when Rackspace restored my client's backup
> > following hard disk failure. It was UGLY to recover from.
> >
> > I'd suggest either rsync or tar.
> >
> > Be sure to ALSO record inode to file names. This is critical in case of
> > file system damage so that when fsck reports inode ### as damaged you
> > know which file/dir to restore.
> >
> > I suggest something similar to the following just before one does
> > backups so that /root/inode_list can be recovered from backup if
> > necessary.
> >
> > find / -ls> /root/inode_list
> Also check and verify that ACLs are not being used. IF they are, then
> you need to save/restore those as well. Rsync is nice and will do this
> for you but judicious use of getfacl/setfacl is sometime most efficacious.
Oh, crap yes. Forgot about those and what about extended attributes???
I don't think I would trust dump. It might get them and it might now.
The A and X options to rsync.
If you use rsync, read over the options VERY CAREFULLY! You need A for
acls and X for extended attributes and don't forget H for hard links!
> V
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20120309/598774a9/attachment.bin