i,ve change name to user-domain_yyyymmdd.tar.gz but i can not restore with Cpanel, i'm forced change it to user.tar.gz. I see in /script/restorepkg
if ( $file =~ m/^cpmove-(\S+)\.tar(?:\.gz$|$)/ ) {
print "Using cpmove archive\n";
$user = $1;
}
elsif ( $file =~ /^backup-\d+\.\d+\.\d+_\d+\-\d+\-\d+_(\S+)\.tar(?:\.gz$|$)/ ) {
print "Using backup archive\n";
$user = $1;
}
elsif ( $file =~ m/^(\S+)\.tar(?:\.gz$|$)/ ) {
print "Using username archive\n";
$user = $1;
and it call whostmgr5 to restore, How i can defined file name backup file can restore. ? Thanks.