wishlist: be able to specify where temporary files get created

3 views
Skip to first unread message

Joseph Maher

unread,
Sep 15, 2025, 8:54:19 PM (4 days ago) Sep 15
to s3...@googlegroups.com

When I run fsck.s3ql, I specify that certain files are on a different
partition than the root (/) partition with these options (/mnt/backup is a
different partition here):

--log /mnt/backup/root/.s3ql/fsck.log

--authfile=/mnt/backup/root/.s3ql/authinfo2

--cachedir=/mnt/backup/cache/gs/

However, at some point something writes temporary data about the size of
the metadata (in this case about 100G) to the root partition, I think
somewhere between checking inodes and uploading metadata. I have not been
able to determine exactly what file the data goes in or what is creating
the file, so maybe it is some sqlite cache thing not directly created by
s3ql? I think it goes in /tmp, as if I move /tmp to the other partition,
the temporary data does end up there...

Anyway, it would be great if I could specify this to be somewhere else...

Thanks for all your work on s3ql!

Joseph

Nikolaus Rath

unread,
Sep 16, 2025, 3:56:40 AM (4 days ago) Sep 16
to noreply-spamdigest via s3ql
I suspect these are the temporary tables created by SQLite (section 2.6 in https://www.sqlite.org/tempfiles.html). Section 5 tells you how to put them elsewhere, maybe give that a try?

Best,
-Nikolaus

Reply all
Reply to author
Forward
0 new messages