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

Not regenerating the full path with dump/restore



Hi all,

my Debian installation contains all the files (/home, /usr and everything) in one single root partition. I want to move the contents of my /home directory to another partition. I couldn't just use cp because user directories contain links. So I thought dump and restore would help:

dump -0 -f home.dump /home
restore -r -f home.dump

But restore restores the full original path (like /home/user) and I want it to restore only the user directory names (like /user), as I will be mounting this partition in the /home directory, which will add the /home part.

Can this be achieved? Maybe I'm just using the wrong tools, what's the proper way to do this?

Thanks for help,
Andrei

--
andrei.badea@movzx.net # http://movzx.net # ICQ: 52641547

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: