LoginSignup
1
2

More than 3 years have passed since last update.

rearの一時領域の変更方法

Posted at

rearバックアップ時の一時領域

通常であれば、/tmpが使われる。しかし、起動イメージ内にバックアップデータも含めたりすると、
/tmpが溢れてしまい、こんな感じになってしまう。

cp: cannot create regular file '/tmp/rear.vZcBEdh17zZY11r/tmp/isofs/backup/backup.log': No space left on device

回避策は以下。

TMPDIR="/var/tmp" rear mkbackup

TMPDIR変数をexportするのはだめらしい。最新だとできるのかもしれないが、試してない。

https://github.com/rear/rear/issues/967

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2