Lo Joximu,
Quote:please use the name ispcp if you refer to this project. There were complaints from the old vhcs name owner...
I wil, no worry.
Shame tough, while he is proud that ppl take the effort to continui his project.....
O-wel to complicated, he wil have his reasons. sigh, ??? ppl ???
Quote:to the points:
- the tar command throws an error if the files are changing while they are to be saved, AFAIK this is still the case but this has to be solved (at least the following backups have to be done...)
you lost me a bit. ??
hmz you say it is solved ??
And the following backups cant start becouse there is a backup_lock_file file, with I first must remove.
enyway:
Becouse I see a lot things with are inproved I stil have this question:
1. Can I use this ispcp-backup-all script in my old vhcs2 installation? , instead of the old one from VHCS2 ???
Forinstead I see this in my script:
Code:
my $backup_cmd = "$cmd_tar --create --directory $dmn_dir --gzip --file $dmn_dir/$backup_filename --exclude=logs --exclude=backups --exclude=$backup_filename .";
if ($dmn_status eq 'ok') {
if( -z $dmn_backup_dir)
{
$rs = del_file($dmn_backup_dir);
return $rs if ($rs != 0);
}
if(! -d $dmn_backup_dir)
{
# $rs = make_dir($dmn_backup_dir);
# $rs = make_dir($dmn_backup_dir, $domain_uid, $httpd_gid, 0770);
$rs = make_dir($dmn_backup_dir, $domain_uid, $domain_gid, 0770);
return $rs if ($rs != 0);
# $rs = setfmode($dmn_backup_dir, "root", "root", 0644);
And I see this in your? script:
Code:
my $backup_cmd = "$cmd_tar --create --directory=$dmn_dir --bzip2 --file=$dmn_dir/$backup_filename --exclude=logs --exclude=phptmp --exclude=backups --exclude=$backup_filename . 2> $dmn_dir/$backup_filename.log";
#
# User Database Backup
#
if(! -d $dmn_backup_dir) {
$rs = make_dir($dmn_backup_dir, $domain_uid, $domain_gid, 0770);
return $rs if ($rs != 0);
}
#
BTW just pickt up things what look the same and or what look like belong togheter.
I know from what I read -left-and-wright- that the old vhcs2 script is somewhat buggy.
I change some things what ppl say, and must say it workt, until several months ago.
sigh