temporary created backup folder on NFS

soslan

Verified User
Joined
May 4, 2008
Messages
7
When i create backup, DA put two directories - 'backup' and 'domains' in archive. DA temporary create 'backup' directory on destination file system before archive it.

I have problem with 'backup' directory, when i use NFS disk as destination path for archive.
How can i change path for temporary created 'backup' directory?
For example to /home/tmp.
 
It's all hardcoded.. Your only hope if you needed the temp to be on another filesystem would be to create a symbolic link or, directory that DA doesn't have the ability to delete, but that the user does have write access to. Thus DA would use it in whatever state you've created it as, but won't be able to delete it. If the backup directory is mounted to another partition or file system, then you'd be able to control where it is.

The actual "backup" folder is hardcoded for local backups.

Note that remote backups use /home/tmp which can be changed.
So you could also just create a ftp backup but save them locally to ftp at 127.0.0.1

John
 
feature request

Feature request: Changing path for temporary created 'backup' directory in DA config for local backups.

For example:
local_backup_dir=SRC
local_backup_dir=DST


SRC - /home/tmp (tmpdir)
DST - BACKUPDIR

or use macro definition and use real path in config:
local_backup_dir=/home/tmp
local_backup_dir=%BACKUPDIR
 
Last edited:
Yeah, but did you write John and offer him a $beverageofchoice the next time he visits $yourtown? :D

Jeff
 
New version of DA added.
What about this feature ???
I don't find it in changelog
 
Last edited:
Hello,

It's still in the versions system, but for the next release.
It got bumped because the release couldn't wait any longer so a few features had to be pushed to the next one.

John
 
Have you updated DirectAdmin to it's latest version? If you have, the feature should be there.

Jeff
 
Back
Top