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.

2 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. Welcome to our XXX VIDEO agency where we unveil our Secret Babes. We are an Hentai tube x agency who cares very much about our reputation and do everything to maintain our standards to the very highest level. After many years in the business we like to think we know what we are doing and have got everything right and co-ordinated. We are now much more of a regional Shush escorts agency covering the North West of England and have amassed a collection of beautiful and dedicated professional companions who love what they do. We have learnt over the years that the best Porn video are the young ladies that enjoy what they do and treat it more as a vocation or hobby.

    As we are such a high profile and reputable sex toys shiop in Manchester we receive an inordinate amount of applications from prospective escorts from throughout the region. However, we can afford to be very selective and go for those ladies with outgoing personalities and social skills as well as good looks. Beauty is however in the eye of the beholder, so consequently we aim for a good balance of physical attributes. Above all we are looking for ladies where XXX VIDEO a true extension of their normal lifestyle and are comfortable chatting to and mixing with a variety of other people.

    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