Suse 10.2 /tmp folder filling up after nightly backups

Posted on 2007-03-19
Last Modified: 2011-09-20
I have a fairly fresh install of Suse 10.2 server with a 500gb hard drive for the OS and 3 500gb hard drives in a raid 5 equaling 1tb for the data. I went for the default partitioning setup since I am new to this and let things rip. Well so far all is good except one thing. I wanted to be sure of having backups so I scheduled a new backup daily going from the main drive to the raid setup nightly. Every single morning the /tmp directory is full of what appears to be temporary backup files. The /tmp directory appears to be a 10gb partition and you would think that would be enough ? The main 500gb is being backed up to the 1tb raid partition.

What am I doing wrong here ? I would think increasing the size would be a band-aid fix and would still fill up in time
Question by:ParanoidOne
  • 3
  • 2
LVL 34

Expert Comment

by:Duncan Roe
ID: 18751810
You need to say what is the backup procedure you are using. The fact that it leaves /tmp full every morning suggests to me that it's not actually working at present 0- well written software will delete temporary files on completion but if the temporary resource gets exhausted midway then they may not.
In other words, I suspect your backup process is failing nightly because /tmp fills up.
You can either give /tmp a *lot* more room (try 100GB but it might not be enough) or change the behaviour of your backup package or ditch that package in favour of something that doesn't use /tmp for intermediary storage.
LVL 34

Expert Comment

by:Duncan Roe
ID: 18751831
You can be as aggressive as you like in flushing /tmp with a root cron job, so you needn't worry about it filling up over time. My concern is that it may be filling up before one instance of a backup can complete.

Author Comment

ID: 18752001
Well it was the backup that comes with Suse 10.2, you get to it through Yast2



Author Comment

ID: 18752012
     I am also worried that no matter how much I flush the tmp folder, or how much I give /tmp it is always going to fill up quickly. Can anyone suggest a simple to use backup program that will backup into a single tar/gzip file ?
LVL 34

Accepted Solution

Duncan Roe earned 500 total points
ID: 18754509
I simply back up using tar.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
wipe a usb using python 5 64
Run DOS2UNIX and then execute the command 21 85
Samba 4, Users Permission, 5 46
Check for Linux process in script 7 48
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question