Athar
Junior Member
Posts: 71
Joined: Sep 2009
Reputation: 0
|
Question about "ispcp-backup-all"
Hi,
First of all, I'm french, so sorry for my "bad" english.
My question is "simple":
I want to know what this variable is suppose to do in /var/www/ispcp/engine/backup/ispcp-backup-all => $db_filename
This one is useless because for the SQL backup, they use the name of the .sql file, create earlier, and this "$db_filename" isn't used anywhere.
So, is this variable is used in this script?
(I ask this, because I tried to add the date to the file, and when I modify $db_filename like this: "$db_filename = $dbbackup-$datesql.bz2";", nothing happend!
My only solution was to modify this "my $db_backup_file = "$dmn_backup_dir/$db_name.sql";" in "my $db_backup_file = "$dmn_backup_dir/$db_name-$datesql.sql";" and added a cmd_rm before any SQL backup.
For now, it work pretty fine.)
Thanks for yours answers.
|
|
08-15-2011 10:07 AM |
|