Created
April 2, 2015 00:59
-
-
Save uzegonemad/8d45668c7600c8a61c4c to your computer and use it in GitHub Desktop.
blog-server-maintenance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
mysqldump -uroot -p --all-databases > dump.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar zcf www.tar.gz /var/www/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment