Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6586

Re: How to I bulk delete Automated backups

$
0
0
by Ken Task.  

@Mike K.

Funny you should ask ... (actually not) cause I've been working on something you might be able to use ... bash commandline script to find the backup files contained in filedir and copy them to an ./extracted/ directory.  Does work.  Have used on a CentOS 5.9 with 2.3.x MDL. 

'Discalmer' ... nope ... spelled it right ... not reponsible for problems using this might create.  ** Don't run without inspecting!!!! **

Could change the cp to rm.  That **would require** editing DB tables as well.  But the command used to find those records is in the script.

Designed to run as root user in the data directory itself ... feel free to edit/change/whatever.  And if you do improve/change for a purpose ... share back!

See attached .txt file.

'spirit of sharing', Ken


Viewing all articles
Browse latest Browse all 6586

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>