Move the old databases to the backup folder in conf

Fixes ticket #1758
This commit is contained in:
smos 2011-10-13 14:15:05 +02:00
parent eb5e790f09
commit 7ad4b1f4d9

View File

@ -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");
}
}