{"id":4115,"date":"2020-02-19T11:29:11","date_gmt":"2020-02-19T10:29:11","guid":{"rendered":"https:\/\/rephlex.de\/blog\/?p=4115"},"modified":"2025-01-17T23:40:19","modified_gmt":"2025-01-17T22:40:19","slug":"how-to-remove-all-backups-in-plesk-for-linux","status":"publish","type":"post","link":"https:\/\/rephlex.de\/blog\/2020\/02\/19\/how-to-remove-all-backups-in-plesk-for-linux\/","title":{"rendered":"How to remove all backups in Plesk for Linux"},"content":{"rendered":"\n<p>If you ever find yourself confronted with a Plesk system that is running out of disk space, and you just want to get rid off all the misconfigured &#8222;keep forever&#8220; backups, here&#8217;s how to remove them all from the command line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># remove all stored backups<br>\/usr\/local\/psa\/admin\/bin\/pmm-ras --get-dump-list | egrep \"name=\\\".*.xml\" | awk -F '\"' '{ print $2 }' | xargs -I {} \/usr\/local\/psa\/admin\/bin\/pmm-ras --verbose --debug --delete-dump --dump-specification={} --session-path=\/var\/log\/plesk\/PMM<br># disable all scheduled server \/ domain backups<br>plesk db \"UPDATE BackupsScheduled SET active = 'false' where obj_type = 'domain'\"<br>plesk db \"UPDATE BackupsScheduled SET active = 'false' where obj_type = 'server'\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you ever find yourself confronted with a Plesk system that is running out of disk space, and you just want to get rid off all the misconfigured &#8222;keep forever&#8220; backups, here&#8217;s how to remove them all from the command line: # remove all stored backups\/usr\/local\/psa\/admin\/bin\/pmm-ras &#8211;get-dump-list | egrep &#8222;name=\\&#8220;.*.xml&#8220; | awk -F &#8218;&#8220;&#8218; &#8218;{ [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[109,740,747,746,738,745,743,40,42,742,741,739,516,744],"class_list":["post-4115","post","type-post","status-publish","format-standard","hentry","category-techtalk","tag-backup","tag-backups","tag-batch","tag-bulk","tag-command-line","tag-delete","tag-dumps","tag-linux","tag-plesk","tag-pmm","tag-pmmcli","tag-remove","tag-shell","tag-snapshots"],"_links":{"self":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/4115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/comments?post=4115"}],"version-history":[{"count":2,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/4115\/revisions"}],"predecessor-version":[{"id":4440,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/4115\/revisions\/4440"}],"wp:attachment":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/media?parent=4115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/categories?post=4115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/tags?post=4115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}