Translate

Monday, August 9, 2010

Package Plesk Backup from the Command Line

If you are unable to package plesk backup from plesk panel then I suggest you manually package the backup from the
command line using "%plesk_bin%\pmm-ras.exe". That is the utility that Plesk
uses internally to package backups for download. Below is the tool's usage
report followed by an example:

------------------------------------------------------
--get-dump-list Get local repository files list. Available options --type,
--guid, --id.

--get-ftp-dump-list Get ftp repository files list. Avaiilable option --mask.

--get-dump-info Get local backup info. Available options
--dump-file-specification, --dump-storage, --check-sign.

--get-ftp-dump-info Get ftp backup info. Available option --dump-storage,
--dump-file-specification.

--import-file-as-dump Import dump to file. Available options
--dump-file-specification, --dump-storage.

--delete-dump Delete dump. Available options --dump-specification,
--dump-storage.

--delete-exported-dump Delete exported dump. Available options
--dump-file-specification, --dump-storage.

--get-dumps-storage-credentials Get dump storage credentials. Use
--storage-type to specify storage type.

--rotate-dump Rotate dump. Available options --dump-specification,
--dump-rotation, --guid, --storage-structured, --dump-storage.

--get-domain-dumps-disc-usage Get domain dumps disk usage. Available options
--domain-guid, --owner-guid.

--export-file-as-file Export already exported dump (even splitted) to one
file. Available options --dump-specification, --dump-file-specification.

--help Display this help page.

--type=arg Plesk Object Type. Used with --get-dump-list

--guid=arg Guid of object who wants to see list of backups. Used with
--get-dump-list

--id=arg (=-1) Database ID of object. Used with --get-dump-list

--name=arg Name of object. Used in case when there are no top .discovered
directory. For admin: not required, for reseller and client: login, for
domain: ASCII-name. Used with --get-dump-list

--dump-storage=arg Dump Storage Credentials in format:
[://][@][/], where is 'ftp' or
'local'. Used with --delete-dump, --get-dump-info, --get-ftp-dump-info,
--get-ftp-dump-list, --import-file-as-dump, --export-file-as-file

--mask=arg Regex to search backup files. Used with --get-ftp-dump-list

--dump-file-specification=arg Path to the dump file. Used with
--import-file-as-dump, --delete-dump, --get-dump-info. For commands
--get-dump-info - relative to dump storage path.

--dump-specification=arg Path to an .xml file. Used with
--export-dump-as-file, --delete-dump. Relative to dump storage path

--storage-type=arg (=local) Dump storage type. Used with
--get-dumps-storage-credentials

--session-path=arg (=path) Session path.

--dump-rotation=arg Maximum counts of backup in the storage. Used with
rotate-dump

--storage-structured Used with centralized storage

--domain-guid=arg Guid of domain. Used with --get-domain-dumps-disc-usage

--owner-guid=arg Guid of object's owner. Used with
--get-domain-dumps-disc-usage

--file-from=arg Path to source file.

--file-to=arg Path to destination file.

--check-sign Check sign of dump

--use-ftp-passive-mode Use passive mode with ftp operations

--verbose Log verbose.

--debug Log debug.
------------------------------------------------------

"%plesk_bin%\pmm-ras.exe" --export-dump-as-file "--dump-specification=relative\path\to\backup.xml" "--dump-file-specification=full\path\to\backup.zip"

Once the packaged backup is created, you can transfer it to your server here
by any means (FTP, RDP, etc.) and then either upload it to the Plesk interface
or manually extract it to the Plesk backup directory.

4 comments:

  1. The effectiveness of IEEE Project Domains depends very much on the situation in which they are applied. In order to further improve IEEE Final Year Project Domains practices we need to explicitly describe and utilise our knowledge about software domains of software engineering Final Year Project Domains for CSE technologies. This paper suggests a modelling formalism for supporting systematic reuse of software engineering technologies during planning of software projects and improvement programmes in Final Year Projects for CSE.

    Software management seeks for decision support to identify technologies like JavaScript that meet best the goals and characteristics of a software project or improvement programme. JavaScript Training in Chennai Accessible experiences and repositories that effectively guide that technology selection are still lacking.

    Aim of technology domain analysis is to describe the class of context situations (e.g., kinds of JavaScript software projects) in which a software engineering technology JavaScript Training in Chennai can be applied successfully

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete
  2. Emperor Humayun was the first to organize them,Call Girls in Ahmedabad but Akbar and his successors made them more elaborate.Call Girls in Ahmedabad The fair was closed for the public,Call Girls in Ahmedabad while the women of the harem, Rajput ladies and the wives and daughters Call Girls in Ahmedabad of the noblemen in the court,Call Girls in Ahmedabad set up their own stalls to sell cloth, Escorts Service in Ahmedabad jewelry, handicrafts, etc.

    ReplyDelete
  3. Warm welcome to our XXX VIDEO agency, We have a reputation for excellence in offering HD porn videos, Enjoy xxX videos and porn movies.
    XXX VIDEO agency
    XXX videos
    Porn movies
    HD Sex movies
    Sex toys shop
    XXX VIDEO agency
    Free HD Sex movies
    XXX videos
    SEX videos
    All of our porn movies models are truly breathtaking and our stringent selection criteria will only allow the finest girls to represent our Sex toys shop.

    ReplyDelete
  4. Hi Guys, I am Ava Paul. Most welcome to SugarBabes. High quality XXX porn movies, Unlimited HD quality Xxx Videos, fresh porn videos, Hard porn tube XXX SEX videos and many more available at the very popular adult agency. Watch it now!

    ReplyDelete

About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)

Followers