• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 10.0.1 - pleskbackup not found!

Smartnet

Basic Pleskian
Dear all,
we run the command pleskbackup domains-name --only-mail as it is in the Administrator's manual and we get a message " -bash: pleskbackup: command not found " ! . Is it possible? We need to do several backups to our server because we want to upgrade to 10.3.1 since we have a lot of problems - especialy with backup processes , mail services , domains which stop responding after scheduled backups , etc. Generally we are in a chaos! Plesk is freaky unstable! - We hope for 10.3.1 that will be much more stable.
Regards,
Andrew.
 
# rpm -qf /usr/local/psa/bin/pleskbackup
psa-backup-manager-10.12.0-cos5.build1012110629.18

As you can see pleskbackup utility is a part of psa-backup-manager package. Are you sure that you have installed it?
Just run /usr/local/psa/admin/sbin/autoinstaller and select in menu

21. [=] <+> Server backup solutions

for Backup manager installation.
 
Hi Igor,
ive executed the command to check , and i'got this message: rpm -qf /usr/local/psa/bin/pleskbackup
psa-backup-manager-10.9.0-cos5.build109101029.17

I suppose this means that psa-backup-manager is installed. So what's wrong?
 
Try to check that file is really exists and has correct permissions. For example:
# ls -la /usr/local/psa/bin/pleskbackup
-rwxr-xr-x 1 root root 28765 Jun 29 18:50 /usr/local/psa/bin/pleskbackup

And check that installed package is not corrupted with
# rpm -V psa-backup-manager
 
While executing the second command to check , i've got this:
..?..... /usr/local/psa/admin/sbin/backup_sign
..?..... /usr/local/psa/admin/sbin/backupmng
..?..... /usr/local/psa/admin/sbin/deployer
..?..... /usr/local/psa/admin/sbin/pmm-ras

Should i worry?
 
Yes, but remove psa-backup-manager package first with 'rpm -e psa-backup-manager'
 
Unfortunatelly even after the " /usr/local/psa/admin/sbin/autoinstaller" command , stil i have no pleskbackup command. The error is the same : "-bash: pleskbackup: command not found" . What has changed is that now when i execute the command # rpm -V psa-backup-manager , i get no errors. But still i'm unable to use the backup cli. Any other idea??
 
Run this command with full path like:

# /usr/local/psa/bin/pleskbackup --help

for example
 
Run this command with full path like:

# /usr/local/psa/bin/pleskbackup --help

for example

Ok , we used the command you mentioned and we've got this:
Usage: pleskbackup <command> [<options>] <arguments>

Commands:

server Backs up whole Plesk.

resellers-name Backs up selected resellers. Reseller's logins are read from co mmand line,
space-separated. If no resellers provided, backs up all reselle rs
on the host.

resellers-id Backs up selected resellers. Reseller's identificators are read from command line,
space-separated. If no resellers provided, backs up all reselle rs
on the host.

clients-name Backs up selected clients. Client's logins are read from comman d line,
space-separated. If no clients provided, backs up all clients
on the host.

clients-id Backs up selected clients. Client's identificators are read fro m command line,
space-separated. If no clients provided, backs up all clients
on the host.

domains-name Backs up selected domains. Domain's names are read from command line,
space-separated. If no domains provided, backs up all domains
on the host.

domains-id Backs up selected domains. Domain's identificators are read fro m command line,
space-separated. If no domains provided, backs up all domains
on the host.

Use Exclude options to exclude some resellers/clients/domains.

help Shows this help page

General options:

-f|--from-file=<file>
Read list of domains/clients/resellers from file, not from comm and line.
File should contain list of domains/clients/resellers one per l ine.

-v|--verbose
Show more information about backup process. Multiple -v
options increase verbosity.

-s|--split[=<size>]
Split the generated backups to the parts. Parts are numbered
by appending NNN suffixes.

Size may be specified in kilobytes (<nn>K), megabytes (<nn>M)
and gigabytes (<nn>G). By default in bytes.

'-s' option without argument selects default split size:
2 gigabytes.

-z|--no-gzip Do not compress content files

-c|--configuration
Backup only configuration of objects, not the content.

--only-mail
Backup only mail configuration and content of selected objects.
--only-hosting
Backup only hosting configuration and content of selected objec ts.
--suspend
Suspend domains during backup operation.

--skip-logs Do not save log files in the backup file

--prefix=<prefix>
Backup file name prefix. Used to customize backup file name ( d efault is 'backup' ).

-d|--description=<description>
Add description to the dump

FTP options:

--ftp-login=<ftp_login>
Specify the FTP login
--ftp-password=<ftp_password>
Specify the FTP password (used with '--ftp-login')
--ftp-passive-mode
Use FTP passive mode

Exclude options:

--exclude-reseller=<obj1>,<obj2>,...
Exclude resellers from backup list.
Reseller's logins are read from command line, comma-separated.
If no resellers provided, resellers are not backuped

--exclude-reseller-file=<file>
Exclude resellers listed in file from backup list.
File should contain list of reseller's logins one per line.

--exclude-client=<obj1>,<obj2>,...
Exclude clients from backup list.
Client's logins are read from command line, comma-separated.
If no clients provided, clients are not backuped

--exclude-client-file=<file>
Excludes clients listed in file from backup list.
File should contain list of client's logins one per line.

--exclude-domain=<obj1>,<obj2>,...
Exclude domains from backup list.
Domain's names are read from command line, comma-separated.
If no domains provided, domains are not backuped

--exclude-domain-file=<file>
Exclude domains listed in file from backup list.
File should contain list of domain's names one per line.


Output file option:
--output-file=<output_file>
/fullpath/filename - regular file,
- - use stdout for output,

ftp://[<login>[:<password>]@]<server>/<filepath> - storing the backup to ftp server.
FTP_PASSWORD environment variable can be used for setting passwo rd.
FTP option '--ftp-login' can be used for setting login.
FTP option '--ftp-password' (with '--ftp-login') can be used for setting password.

Used to import dump from repository into the single file.

then we used the command
pleskbackup server
and we 'got the same error again.
-bash: pleskbackup: command not found
- We checked that installation files now are correct, commands are typed like they should....so....what's wrong??
 
Use this command with full path.

# /usr/local/psa/bin/pleskbackup server
 
Ok, i've used this command. Now i have no error , it seems that it makes backup but i don't see any process status . Only the "green" ssh cursor which is stable....probably it makes backup...i'll wait a bit to see.
 
pleskbackup is not operating system utility but Plesk internal utility and is not included to default OS environment. Therefore you should use it with full path.
 
That's correct. But it's not mentioned in the Administrator's manual. Anyway , still i'm not able to know if the command is running or it has stopped responding , since i have no error or message that has been completed. I'll be waiting to see. Thanks for your interest.
 
Thanks Igor. Command works perfect!! Btw , i'm searching all threads to find the command to update plesk components (i have 10.0.1 ) to 10.3.1 . Any link?? (I can't find it at Administrator's manual or i'm becoming blind;) )
 
Back
Top