Welcome, Guest
Please Login or Register.
Lost Password?
scheduled backup to another directory (1 viewing)
Post Reply

TOPIC: scheduled backup to another directory

#14849
compre (User)
Posts: 3
graphgraph
scheduled backup to another directory 2008/07/17 06:07  
Hello,

is it possible to backup files from a scheduled backup to another directory? Not to /tmp/.webmin/...
My Server got not enough free memory on the system, but the /home partition is seperate and big enough for the backup.

Or is it possible to do this with a symlink?!
I tried this but it didn`t work for me.

thanks bastian
  The administrator has disabled public write access.
#14852
andreychek (User)
Posts: 269
graphgraph
Re:scheduled backup to another directory 2008/07/17 08:34  
Howdy,

Mmm. Well, looking in the Virtualmin code, the part that determines what temp dir to use during the backups looks like this:

Code:

local $tempbase = $gconfig{'tempdir_'.$module_name} ||                   $gconfig{'tempdir'} ||                   "/tmp/.webmin";



So what does that mean? I haven't had a chance to test this yet, but I suspect that means you could edit this file:

/etc/webmin/backup-config/config

And that you could add in either:

tempdir_backup-config = /path/to/another/dir

or failing that (the module name may be incorrect), you could always try:

tempdir = /path/to/another/dir

You'll of course want to test that out before relying on it for your backups ;-)
-Eric
  The administrator has disabled public write access.
#14860
sgrayban (User)
Posts: 540
graphgraph
Re:scheduled backup to another directory 2008/07/17 13:39  
You can set the tmp directory under "Webmin -> Webmin Configurations -> Advance Settings"
Scott Grayban
BORGNET dot US Internet Hosting
VM Pro Reseller
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.