rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] Re: Alternative temp-directory.


From: roland
Subject: Re: [rdiff-backup-users] Re: Alternative temp-directory.
Date: Fri, 31 Mar 2006 15:35:32 +0200

hello !

just export a new TEMP environment variable before you run the backup.
should be fine

testbox1:/ # set |grep /tmp
TEMP=/tmp
TEMPDIR=/tmp
TMP=/tmp
TMPDIR=/tmp
temp=/tmp
tempdir=/tmp
tmp=/tmp
tmpdir=/tmp

when backing up with rdiff-backup, i see the tempfile still not being written in /tmp

---snipp----
Starting mirror /rdiff-test/test1 to /rdiff-test/test2
Processing changed file .
Processing changed file test.dat
Regular copying ('test.dat',) to /rdiff-test/test2/rdiff-backup.tmp.1
Writing file object to /rdiff-test/test2/rdiff-backup.tmp.1
---snipp----


i found something in the FAQ:

When backing up, rdiff-backup needs free space in the mirror directory. The amount of free space required is usually a bit more than the size of the file getting backed up, but can be as much as twice the size of the current file. For instance, suppose you ran rdiff-backup foo bar and the largest file, foo/largefile, was 1GB. Then rdiff-backup would need 1+GB of free space in the bar directory.

When restoring, rdiff-backup needs free space in the default temp directory. Under unix systems this is usually the /tmp directory---see the entry for tempfile.tempdir in the Python tempfile docs for more information on the default temp directory. The amount of free space required can vary, but it usually about the size of the largest file being restored.


so - this means i can change the tempdir for recovery only - but not for backup !?

regards
roland




----- Original Message ----- From: "David Kempe" <address@hidden>
To: "roland" <address@hidden>
Cc: <address@hidden>; <address@hidden>
Sent: Friday, March 31, 2006 4:06 AM
Subject: Re: [rdiff-backup-users] Re: Alternative temp-directory.


roland wrote:
Is there a solution for this in the meantime ?


just export a new TEMP environment variable before you run the backup.
should be fine

dave


_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki






reply via email to

[Prev in Thread] Current Thread [Next in Thread]