• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

backup? how!!

G

garooh

Guest
Hello
how can i backup all my clients data and databases in an easy way that can be restored back also in easy way.. from the control panel?

:rolleyes:
 
Thanks.


So, for a full gzip compressed backup on 7.5.4:

/usr/local/psa/bin/psadump -F --nostop --nostop-domain --do-not-dump-logs --tar-ignore-failed-read --force -f - | gzip | split -b1000m - /backup/psa-full-nostop-gzip.


To restore a full gzip compressed backup on 7.5.4:

1) Create Map File:
cat /backup/psa-full-nostop-gzip.* | gzip -d | /usr/local/psa/bin/psarestore -m map_file -s shells_map_file -f -

Check the maps_file and shells_map_file for collisions and fix using nano.

2) Restore Backup Files
cat /backup/psa-full-nostop-gzip.* | gzip -d | /usr/local/psa/bin/psarestore -m map_file -s shells_map_file -f -
 
Can someone tell me why the "| split -b1000m" command option doesn't work?
How do you guys do to split the backup?
 
Works for me, are you specifting the name of the dump, ala?

| split -b1000m -file_name.

You must specify the name of the file with a "." behind it so that the dump files will be named file_name.a, file_name.b, etc.
 
Originally posted by phoenixisp
Works for me, are you specifting the name of the dump, ala?

| split -b1000m -file_name.

You must specify the name of the file with a "." behind it so that the dump files will be named file_name.a, file_name.b, etc.

HI

I tried that. Both:

| split -b1000m -backup_dump.

and
| split -b1000m - backup_file.

The first give the following message from console:
"split: cannot split in more than one way
Try `split --help' for more information."

The second one gives me one large file.

So, what shall I write to make it work?
 
Just a thought: does it work with ftp backup (remote backup)?
 
From the documentation:

To create a backup file on the FTP server, use the command ./psadump -f ftp://<login>:<password>@<server>/<dump_file_path>
 
Originally posted by phoenixisp
From the documentation:

To create a backup file on the FTP server, use the command ./psadump -f ftp://<login>:<password>@<server>/<dump_file_path>

My question was regarding if the | split option works with ftp transfers.
 
Back
Top