The filename in the Backup screen is an absolute filename on the server running sugarcrm.
So in Windows it should be somthing like:
D:\backup\sugarcrm
in Linux something like:
\var\backup\sugarcrm
The filename should be a zip-Filename like "mybackup.zip" so you can open it with any unzipper again.
The apache process (or IIS) must be able to write to this directory.
The case of "desktop" the file should be found in directory .../sugarrrot/desktop/.
In my productive installation I changed the module /modules/Administration/Backups.php to set a default directory and filename to write these backups always in the same way and naming like this:
PHP Code:
...
$backup_dir = "";
$backup_zip = "";
$run = "confirm";
$input_disabled = "";
global $mod_strings;
$errors = array();
//SET DEFAULTs start
$backup_dir = $_SERVER["DOCUMENT_ROOT"]."/backup/";
$backup_zip = str_replace(array(":","/","."),"_",$sugar_config["site_url"])."_".date("Ymd_Hms").".zip";
//SET DFAULTs end
...
Bookmarks