From 7ad4b1f4d9ae93ceb41c9102900a4ba4bcb54f88 Mon Sep 17 00:00:00 2001 From: smos Date: Thu, 13 Oct 2011 14:15:05 +0200 Subject: [PATCH] Move the old databases to the backup folder in conf Fixes ticket #1758 --- etc/inc/upgrade_config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 501a2bc66a..d42f92e575 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -1944,7 +1944,7 @@ function upgrade_054_to_055() { log_error("RRD restore failed exited with $rrdreturn, the error is: $rrdrestore\n"); } /* Make sure to move the rrd backup out of the way. We will make a new one after converting. */ - exec("/bin/mv {$g['cf_conf_path']}/rrd.tgz /root/"); + exec("/bin/mv {$g['cf_conf_path']}/rrd.tgz {$g['cf_conf_path']}/backup"); } }