Current time: 11-23-2024, 11:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
Question about "ispcp-backup-all"
Author Message
Athar Offline
Junior Member
*

Posts: 71
Joined: Sep 2009
Reputation: 0
Post: #1
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
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Question about "ispcp-backup-all" - Athar - 08-15-2011 10:07 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)