Tag: backup

DOS batch to zip archive and delete folder using 7zip

Save following commands to a text file and save it as archive.bat : @echo offf echo 7za a -r -tzip %~nx1.zip -mx9 %~f1\*.* 7za a -r -tzip %~nx1.zip -mx9 %~f1\*.* rmdir /s/q %~f1 pause !!Caution, if you don’t have 7za installed it will only delete that folder!! Usage: Drop any directory to the batch file, […]

Linux: Backup and restore MySQL database using mysqldump

Backing up database using mysqldump: mysqldump -u [username] [dbname] > [dump_filename] Restoring file from a backup: mysql -u [username] [dbname] < [dump_filename] References MySQL 5.1 Reference Manual :: 4.5.4 mysqldump mysqldump.com

WP-Backgrounds Lite by InoPlugs Web Design and Juwelier Schönmann 1010 Wien