1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

backup? how!!

Discussion in 'Plesk for Linux - 8.x and Older' started by garooh, Apr 5, 2006.

  1. garooh

    garooh Guest

    0
     
    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:
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
  3. nate

    nate Guest

    0
     
    Does that Plesk 8.0 manual apply to plesk 7.5.4?
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
  5. nate

    nate Guest

    0
     
    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 -
     
  6. mrbister

    mrbister Guest

    0
     
    Can someone tell me why the "| split -b1000m" command option doesn't work?
    How do you guys do to split the backup?
     
  7. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    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.
     
  8. mrbister

    mrbister Guest

    0
     
    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?
     
  9. mrbister

    mrbister Guest

    0
     
    Just a thought: does it work with ftp backup (remote backup)?
     
  10. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    From the documentation:

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

    mrbister Guest

    0
     
    My question was regarding if the | split option works with ftp transfers.
     
Loading...