7z
Aus Programmers Guide
7z unter Ubuntu installieren
sudo apt-get install p7zip-full
Ein Verzeichnis mit 7z packen
7za a -mx9 -t7z -ptest -v700M -y /home/user/archiv.7z /media/irgendwo/
- a add
- -y yes to all
- -mx<nr> nr for comressionlevel 1-lowest 9-highest
- -t7z output as 7z-Archive
- -ptest use password "test"
- -v700M split file in 700MByte Chunks
MySQL-Dump mit 7z
mysqldump --all-databases -u <mysql_user> -p<mysql_pass> | 7za a -t7z -p<7z_pass> -si "dumpmysql.7z"