Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
blog-server-maintenance
cd /tmp
mysqldump -uroot -p --all-databases > dump.sql
tar zcf www.tar.gz /var/www/
jQuery('input[name*=backupfiles]').slice(0, 25).each(function() {jQuery(this).prop('checked', true)});jQuery('select[name=action]').find('option[value=delete]').prop('selected', true);jQuery('#doaction').trigger('click');
apt-get update
apt-get upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment