Unix Technical Forum

Re: troubles with dump | scp | restore on different machine

This is a discussion on Re: troubles with dump | scp | restore on different machine within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Keep in mind that restore uses temporary files to do its work and these files can be fairly large ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 07:37 AM
Todd C. Miller
 
Posts: n/a
Default Re: troubles with dump | scp | restore on different machine

Keep in mind that restore uses temporary files to do its work and
these files can be fairly large for a large filesystem.

The way I do this is to newfs the partitions and then mount
hierarchically. E.g. /mnt, /mnt/var, /mnt/usr etc. It is also a
good idea to mount with the "async" mount option since it will
really speed things up. Now, since /tmp on the floppy is going
to be quiet small you need to set the TMPDIR environment variable.
Assuming that /var is of a reasonable size, and /mnt/var is mounted,
you can do
mkdir -m 1777 -p /mnt/var/tmp
export TMPDIR=/var/tmp

That way, when you do your restores you will have enough space
for the temp files.

- todd

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:04 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com