Copying binaries to new server
james at pil.net
Tue Oct 24 22:36:01 UTC 2006
On Tue, 24 Oct 2006, Eric wrote:
> James Smallacombe wrote:
> > On Tue, 24 Oct 2006, Jerry McAllister wrote:
> >> True, but I think the poster was suggesting that dump/restore is
> >> a better way than using tar.
> > I'm not as familiar with BSD dump...does it compress well? Also, what's this?
> Take a dump
> dump -0uanLf - /var | bzip2 | dd of=/some/path/dump-var-level0.bz2
> dump -0uanLf - / | bzip2 | dd of=/some/path/dump-root-level0.bz2
> dump -0uanLf - /usr | bzip2 | dd of=/some/path/dump-usr-level0.bz2
> Restore a dump
> To Restore Interactively
Thanks, this seems to be doing the trick. However, I am getting a ton of
these upon restoring the contents of /usr on the new server:
warning: cannot create symbolic link
Is it just that the symlinks already exist on the new server and it won't
overwrite them the way they overwrite regular files?
James Smallacombe Internet Access for The Delaware
james at pil.net Valley in PA, NJ and DE
PlantageNet Internet Ltd. http://www.pil.net
More information about the freebsd-questions