• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Problem with pleskbackup command line utility

W

wintech2003@

Guest
Hello,

I'm having problem with backing up my server using the pleskbackup command line utility.

When I run the command:

/usr/local/psa/bin/pleskbackup -v all /backup/pleskbackup/fullbackup

It starts by collecting information
Code:
------------------------------------------------------------------------
Backup started (28 client(s), 48 domain(s))
Start date: Sun Dec 10 03:34:12 2006
------------------------------------------------------------------------
Phase 1/2: collecting information
[client] xxxx
  [domain] xxxxx
[client] yyyyy
  [domain] yyyyy

and after finishing it gives me the following error:
Code:
Phase 2/2: packing data
Runtime error: Can't use an undefined value as a symbol reference at /usr/local/psa/PMM/agents/shared/Storage/Splitter.pm line 75.


gzip: stdout: Broken pipe

Any ideas?

Thanks in advance,
wintech2003
 
Check for free space on disk. I observe absolutely the same behavior in case of there is no free space on partition.
 
have about 50gigs free space and the same error... backup via plesk itself doesnt work either since upgrading to 8.1

:////
 
/me speaks a boring voice

Check filesystem permissions. May be read-only partition or smth. Use your imagination.
 
problem is with the -split parameter...

if i don't use it the backup works fine. but how useful is one gigantic 47GB backuip file that wont fit on any external media...
 
Wait-wait-wait, stop. You have 50 Gigs of free disk space, right? Then you try to perform full server backup with splitting?
Describe backup process more verbosely in case of splitting. I can not understand you :( How you may fit 47 Gigs on the same disk?
 
the site i want to backup has ~47GB

i tried "pleskbackup domains mylargedomain.com" with the --split=700M option and without. with the option it results in the error discussed above, without it it creates the gigantic 47gb file...

i have about 100GB fee disk space WITH the 47GB backed up...
 
/usr/local/psa/PMM/agents/shared/Storage/Splitter.pm

Code:
70    if ($self->{part_name} eq "-") {
71      $self->{part_fh} = \*STDOUT;
72    } else {
73      $self->{part_fh} = IO::File->new($self->{part_name}, "w");
74    }
75    binmode $self->{part_fh};
76  }

It's obvious that pleskbackup can not open destination file for writing for some reason. I may suspect lack of disk space, permissions or even opened file descriptors or SELinux presence. Is there anything in system logs?
 
hello
Please be sure that the path /backup/pleskbackup/fullbackup is the path to a file, not a folder.

Try something like /backup/pleskbackup/fullbackup/backup_domain.tld.YYYYMMDD.gz
 
I had the same problem, but I could solve it doing this.

I have active SELINUX, so i think that was the problem, but in the base rpm pack of psa 8.1.0 you have psa-selinux-8.1.0-centos4.2.build81061129.22.noarch.rpm.

I think this rpm may be isntalled at last of all psa system, i think this rpm configure the SELINUX to work with PSA. So i do an rpm -ivh --force psa-selinux-8.1.0-centos4.2.build81061129.22.noarch.rpm and then I can do the backup without problems. I know you may think this may be a heavy solution but is all ok, i just did it and now is woking good.

I hope my experience be usefull for you.
 
had the same problem .. solution was:

mkdir -p /backup/pleskbackup

nothing more or less ;)

Thanks for your help
 
Back
Top